Make tests compile on Mac. Use qtLibraryName instead of qtLibraryTarget.

qtLibraryTarget is only defined if used with TEMPLATE=lib, which makes
it fail in pri files that are used for app pro files. The tests still
don't run because of run time linking issues.
This commit is contained in:
con
2010-10-29 16:22:44 +02:00
parent 724f67b311
commit 59c301a8c8
24 changed files with 32 additions and 35 deletions

View File

@@ -2,5 +2,5 @@ INCLUDEPATH += $$PWD/../../shared
INCLUDEPATH += $$PWD/../../shared/qmljs $$PWD/../../shared/qmljs/parser
DEPENDPATH += $$PWD/../../shared/qmljs $$PWD/../../shared/qmljs/parser
LIBS *= -l$$qtLibraryTarget(QmlJS)
LIBS *= -l$$qtLibraryName(QmlJS)
DEFINES += QT_CREATOR