[odb-users] Build libodbc-qt on OSX with Qt5.2.1

Adnan RIHAN axel50397 at gmail.com
Sun May 11 08:05:50 EDT 2014


Le 11 mai 2014 à 05:59:14, Boris Kolpackov (boris at codesynthesis.com) a écrit:
> In your case you have installed the framework or the compiler, or
> both (or there is something else broken, who knows) so that things
> are not found by default.

I understand but currently, it will be the default behavior and directory structure on OSX.
Qt (Qt installer) doesn’t install itself in system directories anymore, and unless you compile it yourself, you _will_ have to add CPPFLAGS/LDFLAGS to your Qt’s lib directory every time.

I understand that adding something for OSX doesn’t seem legitimate, but as for windows (which doesn’t have /usr/include or /usr/lib) and requires a special treatment, I think that because « adding CPPFLAGS/LDFLAGS by hand » will be mandatory for OSX users, it should be something cared by the tool.

Anyway, it’s your choice but at least, please add a note for OSX users in the INSTALL file. Thanks for your help.
I will now get my hands in it :D
Regards, Adnan RIHAN.

More information about the odb-users mailing list