[mythtv] [mythtv-commits] Ticket #5177: qt4 link libdir orderincorrect
mark at digivation.com.au
Wed Apr 30 21:50:37 UTC 2008
>>> when building with qt4 qmake, the makefiles generated have -L/usr/lib
>>> before all other -L directives.
>Qt 4 inserts QMAKE_LIBDIR_QT and QMAKE_INCDIR_QT early into the build/link
>flags. In Qt 4 these often end up pointing to /usr/lib and /usr/include.
>This causes builds to include/link against older versions if PREFIX is /usr
>(or an existing version is installed there).
>Using QMAKE_LIBDIR can get things early enough but depends a bit on the way
>qmake currently chooses to order things.
>The more I've looked at this the more I'm inclined to throw something in
>config.mak to avoid this problem (rather than modify more .pro files).
>This would probably just be:
>QMAKE_LIBDIR_QT -= /usr/lib
I just tested this and it doesnt work (for me aty least on debian lenny).
It is innoccuous though.
QMAKE_LIBDIR does work. I swapped all my pro files based on previous
More information about the mythtv-dev