look for libs in $$system(qmake -query QT_INSTALL_LIBS)

This commit is contained in:
Evgeni Golov
2013-11-10 16:19:20 +01:00
committed by Evgeni Golov
parent 62ee15a4c8
commit 6c5b79709f
5 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ unix : !mac {
LIBPATH += lib $${PREFIX}/lib /opt/gsasl/lib
INCLUDEPATH += $${PREFIX}/include
LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64
LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $$system(qmake -query QT_INSTALL_LIBS)
BOOST_FS = boost_filesystem boost_filesystem-mt
BOOST_THREAD = boost_thread boost_thread-mt
BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
@@ -185,7 +185,7 @@ unix : !mac {
BOOST_RANDOM = boost_random boost_random-mt
#
# searching in $PREFIX/lib and $PREFIX/lib64
# searching in $PREFIX/lib, $PREFIX/lib64 and $$system(qmake -query QT_INSTALL_LIBS)
# to override the default '/usr' pass PREFIX
# variable to qmake.
#