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
src/libs/3rdparty/botan/botan.pri
vendored
2
src/libs/3rdparty/botan/botan.pri
vendored
@@ -1,2 +1,2 @@
|
|||||||
INCLUDEPATH *= $$PWD/build
|
INCLUDEPATH *= $$PWD/build
|
||||||
LIBS *= -l$$qtLibraryTarget(Botan)
|
LIBS *= -l$$qtLibraryName(Botan)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
INCLUDEPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
|
INCLUDEPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
|
||||||
DEPENDPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
|
DEPENDPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
|
||||||
LIBS *= -l$$qtLibraryTarget(CPlusPlus)
|
LIBS *= -l$$qtLibraryName(CPlusPlus)
|
||||||
|
@@ -2,5 +2,5 @@ INCLUDEPATH += $$PWD/../../shared
|
|||||||
INCLUDEPATH += $$PWD/../../shared/qmljs $$PWD/../../shared/qmljs/parser
|
INCLUDEPATH += $$PWD/../../shared/qmljs $$PWD/../../shared/qmljs/parser
|
||||||
|
|
||||||
DEPENDPATH += $$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
|
DEFINES += QT_CREATOR
|
||||||
|
@@ -1 +1 @@
|
|||||||
LIBS *= -l$$qtLibraryTarget(QtConcurrent)
|
LIBS *= -l$$qtLibraryName(QtConcurrent)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
INCLUDEPATH *= $$PWD/../../shared/symbianutils
|
INCLUDEPATH *= $$PWD/../../shared/symbianutils
|
||||||
DEPENDPATH += $$PWD/../../shared/symbianutils
|
DEPENDPATH += $$PWD/../../shared/symbianutils
|
||||||
LIBS *= -l$$qtLibraryTarget(symbianutils)
|
LIBS *= -l$$qtLibraryName(symbianutils)
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
include(coreplugin_dependencies.pri)
|
include(coreplugin_dependencies.pri)
|
||||||
LIBS *= -l$$qtLibraryTarget(Core)
|
LIBS *= -l$$qtLibraryName(Core)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(cppeditor_dependencies.pri)
|
include(cppeditor_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(CppEditor)
|
LIBS *= -l$$qtLibraryName(CppEditor)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(cpptools_dependencies.pri)
|
include(cpptools_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(CppTools)
|
LIBS *= -l$$qtLibraryName(CppTools)
|
||||||
|
@@ -2,4 +2,4 @@ include(debugger_dependencies.pri)
|
|||||||
|
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
DEPENDPATH += $$PWD
|
DEPENDPATH += $$PWD
|
||||||
LIBS *= -l$$qtLibraryTarget(Debugger)
|
LIBS *= -l$$qtLibraryName(Debugger)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(designer_dependencies.pri)
|
include(designer_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(Designer)
|
LIBS *= -l$$qtLibraryName(Designer)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(find_dependencies.pri)
|
include(find_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(Find)
|
LIBS *= -l$$qtLibraryName(Find)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(locator_dependencies.pri)
|
include(locator_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(Locator)
|
LIBS *= -l$$qtLibraryName(Locator)
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
include(projectexplorer_dependencies.pri)
|
include(projectexplorer_dependencies.pri)
|
||||||
LIBS *= -l$$qtLibraryTarget(ProjectExplorer)
|
LIBS *= -l$$qtLibraryName(ProjectExplorer)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(qmljseditor_dependencies.pri)
|
include(qmljseditor_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(QmlJSEditor)
|
LIBS *= -l$$qtLibraryName(QmlJSEditor)
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
include(qmlprojectmanager_dependencies.pri)
|
include(qmlprojectmanager_dependencies.pri)
|
||||||
LIBS *= -l$$qtLibraryTarget(QmlProjectManager)
|
LIBS *= -l$$qtLibraryName(QmlProjectManager)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(qt4projectmanager_dependencies.pri)
|
include(qt4projectmanager_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(Qt4ProjectManager)
|
LIBS *= -l$$qtLibraryName(Qt4ProjectManager)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(texteditor_dependencies.pri)
|
include(texteditor_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(TextEditor)
|
LIBS *= -l$$qtLibraryName(TextEditor)
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
include(vcsbase_dependencies.pri)
|
include(vcsbase_dependencies.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryTarget(VCSBase)
|
LIBS *= -l$$qtLibraryName(VCSBase)
|
||||||
|
@@ -11,7 +11,7 @@ DESTDIR = $$IDE_LIBRARY_PATH
|
|||||||
|
|
||||||
include(rpath.pri)
|
include(rpath.pri)
|
||||||
|
|
||||||
TARGET = $$qtLibraryTarget($$TARGET)
|
TARGET = $$qtLibraryName($$TARGET)
|
||||||
|
|
||||||
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
|
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
|
||||||
|
|
||||||
|
@@ -51,5 +51,5 @@ CONFIG += plugin plugin_with_soname
|
|||||||
INSTALLS += target pluginspec
|
INSTALLS += target pluginspec
|
||||||
}
|
}
|
||||||
|
|
||||||
TARGET = $$qtLibraryTarget($$TARGET)
|
TARGET = $$qtLibraryName($$TARGET)
|
||||||
|
|
||||||
|
@@ -4,4 +4,4 @@ INCLUDEPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
|
|||||||
include($$IDE_SOURCE_TREE/src/plugins/cpptools/cpptools.pri)
|
include($$IDE_SOURCE_TREE/src/plugins/cpptools/cpptools.pri)
|
||||||
include($$IDE_SOURCE_TREE/src/rpath.pri)
|
include($$IDE_SOURCE_TREE/src/rpath.pri)
|
||||||
LIBS += -L$$IDE_PLUGIN_PATH/Nokia
|
LIBS += -L$$IDE_PLUGIN_PATH/Nokia
|
||||||
DEFINES += Q_PLUGIN_PATH=\\\"$$IDE_PLUGIN_PATH/Nokia\\\"
|
DEFINES += Q_PLUGIN_PATH=\"\\\"$$IDE_PLUGIN_PATH/Nokia\\\"\"
|
||||||
|
@@ -15,7 +15,7 @@ INCLUDEPATH *= $$CDB_CORE
|
|||||||
# -- Add creator 'utils' lib
|
# -- Add creator 'utils' lib
|
||||||
CREATOR_LIB_LIB = ../../../lib/qtcreator
|
CREATOR_LIB_LIB = ../../../lib/qtcreator
|
||||||
LIBS *= -L$$CREATOR_LIB_LIB
|
LIBS *= -L$$CREATOR_LIB_LIB
|
||||||
LIBS *= -l$$qtLibraryTarget(Utilsd)
|
LIBS *= -l$$qtLibraryName(Utils)
|
||||||
CREATOR_LIB_SRC = ../../../src/libs
|
CREATOR_LIB_SRC = ../../../src/libs
|
||||||
INCLUDEPATH *= $$CREATOR_LIB_SRC
|
INCLUDEPATH *= $$CREATOR_LIB_SRC
|
||||||
|
|
||||||
|
@@ -8,13 +8,11 @@
|
|||||||
QT += core
|
QT += core
|
||||||
QT += gui
|
QT += gui
|
||||||
|
|
||||||
|
include(../../../qtcreator.pri)
|
||||||
|
|
||||||
# -- Add creator 'utils' lib
|
# -- Add creator 'utils' lib
|
||||||
CREATOR_LIB_LIB = ../../../lib/qtcreator
|
|
||||||
LIBS *= -L$$CREATOR_LIB_LIB
|
LIBS *= -l$$qtLibraryName(Utils)
|
||||||
LIBS *= -l$$qtLibraryTarget(Utils)
|
|
||||||
QMAKE_RPATHDIR*=$$CREATOR_LIB_LIB
|
|
||||||
CREATOR_LIB_SRC = ../../../src/libs
|
|
||||||
INCLUDEPATH *= $$CREATOR_LIB_SRC
|
|
||||||
|
|
||||||
TARGET = process
|
TARGET = process
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
|
@@ -1,10 +1,9 @@
|
|||||||
INCLUDEPATH += ../../../../src/plugins
|
|
||||||
CREATORLIBPATH = ../../../../lib/qtcreator
|
|
||||||
PLUGINPATH=$$CREATORLIBPATH/plugins/Nokia
|
|
||||||
LIBS *= -L$$PLUGINPATH -lCore
|
|
||||||
LIBS *= -L$$CREATORLIBPATH
|
|
||||||
include (../../../qtcreator.pri)
|
include (../../../qtcreator.pri)
|
||||||
include (../../../src/plugins/coreplugin/coreplugin_dependencies.pri)
|
include (../../../src/plugins/coreplugin/coreplugin.pri)
|
||||||
|
|
||||||
|
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins
|
||||||
|
LIBS *= -L$$IDE_LIBRARY_PATH/Nokia
|
||||||
|
|
||||||
QT += core
|
QT += core
|
||||||
QT -= gui
|
QT -= gui
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
|
Reference in New Issue
Block a user