Commit 7dbd869e authored by Marco Bubke's avatar Marco Bubke
Browse files

Fix exports for shared libraries



We use "shared" to define a shared library and not dll.

Change-Id: Ia97ebd0042a7ef0f33eadaa448d9a44b42331ad1
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Oswald Buddenhagen's avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
parent 99f2c074
contains(CONFIG, dll) {
shared {
DEFINES += CLANGBACKENDIPC_BUILD_LIB
} else {
DEFINES += CLANGBACKENDIPC_BUILD_STATIC_LIB
......
contains(CONFIG, dll) {
shared {
DEFINES += CPLUSPLUS_BUILD_LIB
} else {
DEFINES += CPLUSPLUS_BUILD_STATIC_LIB
......
contains(CONFIG, dll) {
shared {
DEFINES += LANGUAGEUTILS_LIBRARY
} else {
DEFINES += LANGUAGEUTILS_BUILD_STATIC_LIB
......
contains(CONFIG, dll) {
shared {
DEFINES += QMLDEBUG_LIBRARY
} else {
DEFINES += QMLDEBUG_STATIC_LIB
......
contains(CONFIG, dll) {
shared {
DEFINES += QMLEDITORWIDGETS_LIBRARY
} else {
DEFINES += BUILD_QMLEDITORWIDGETS_STATIC_LIB
......
contains(CONFIG, dll) {
shared {
DEFINES += QMLJS_LIBRARY
} else {
DEFINES += QML_BUILD_STATIC_LIB
......
contains(CONFIG, dll) {
shared {
DEFINES += BUILD_SQLITE_LIBRARY
} else {
DEFINES += BUILD_SQLITE_STATIC_LIBRARY
......
contains(CONFIG, dll) {
shared {
DEFINES += UTILS_LIBRARY
} else {
DEFINES += QTCREATOR_UTILS_STATIC_LIB
......
# Currently there are no tests for the project explorer plugin, but we include
# headers from it that needs to have the export/import adapted for Windows.
contains(CONFIG, dll) {
shared {
DEFINES += CPPTOOLS_LIBRARY
DEFINES += PROJECTEXPLORER_LIBRARY
} else {
......
......@@ -2,7 +2,7 @@ include(../../qtcreatorplugin.pri)
DEFINES += QMLJSTOOLS_LIBRARY
!contains(CONFIG, dll) {
!shared {
DEFINES += QMLJSTOOLS_STATIC
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment