Skip to content
Snippets Groups Projects
Commit 30a50676 authored by con's avatar con
Browse files

Make app.pro use the qtLibraryName function

parent 4b687618
No related branches found
No related tags found
No related merge requests found
...@@ -9,20 +9,17 @@ SOURCES += main.cpp ...@@ -9,20 +9,17 @@ SOURCES += main.cpp
include(../rpath.pri) include(../rpath.pri)
LIBS *= -l$$qtLibraryName(ExtensionSystem) -l$$qtLibraryName(Aggregation)
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH) QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
!isEmpty(QT_BREAKPAD_ROOT_PATH) { !isEmpty(QT_BREAKPAD_ROOT_PATH) {
include($$QT_BREAKPAD_ROOT_PATH/qtbreakpad.pri) include($$QT_BREAKPAD_ROOT_PATH/qtbreakpad.pri)
} }
win32 { win32 {
CONFIG(debug, debug|release):LIBS *= -lExtensionSystemd -lAggregationd
else:LIBS *= -lExtensionSystem -lAggregation
RC_FILE = qtcreator.rc RC_FILE = qtcreator.rc
target.path = /bin target.path = /bin
INSTALLS += target INSTALLS += target
} else:macx { } else:macx {
CONFIG(debug, debug|release):LIBS *= -lExtensionSystem_debug -lAggregation_debug
else:LIBS *= -lExtensionSystem -lAggregation
LIBS += -framework CoreFoundation LIBS += -framework CoreFoundation
ICON = qtcreator.icns ICON = qtcreator.icns
QMAKE_INFO_PLIST = Info.plist QMAKE_INFO_PLIST = Info.plist
...@@ -30,8 +27,6 @@ win32 { ...@@ -30,8 +27,6 @@ win32 {
FILETYPES.path = Contents/Resources FILETYPES.path = Contents/Resources
QMAKE_BUNDLE_DATA += FILETYPES QMAKE_BUNDLE_DATA += FILETYPES
} else { } else {
LIBS *= -lExtensionSystem -lAggregation
target.path = /bin target.path = /bin
INSTALLS += target INSTALLS += target
} }
......
LIBS *= -l$$qtLibraryTarget(Aggregation) LIBS *= -l$$qtLibraryName(Aggregation)
include(extensionsystem_dependencies.pri) include(extensionsystem_dependencies.pri)
LIBS *= -l$$qtLibraryTarget(ExtensionSystem) LIBS *= -l$$qtLibraryName(ExtensionSystem)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment