forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user