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

@@ -1,3 +1,3 @@
INCLUDEPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
DEPENDPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
LIBS *= -l$$qtLibraryTarget(CPlusPlus)
LIBS *= -l$$qtLibraryName(CPlusPlus)