diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-12-09 19:51:16 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-10 14:37:21 +0000 |
commit | a259a46488e089d22ad8a78c11348d5987d58044 (patch) | |
tree | 7b5a4da5b1d76b27624fb6ad3efac0baaf718321 /tests | |
parent | af5b4028cfefd2512f395a40abe11ebf4ca9d181 (diff) |
qqmltypeloader: Fix plugin not loading on MinGW
Usually libraries get a lib prefix when using MinGW but plugins are expected
to not have a prefix, causing the plugin to not load properly.
This change fixes this by using the MODULE keyword.
Fixes: QTBUG-89187
Change-Id: Icd543015805a8157d59c20e86134421911930ea1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 323cdf820c723660f3c67c3fd583f0b28c8d80a2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt index 18043652cd..f9d2bd8850 100644 --- a/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt +++ b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt @@ -4,7 +4,7 @@ ## Slow Generic Library: ##################################################################### -qt_internal_add_cmake_library(Slow +qt_internal_add_cmake_library(Slow MODULE # special case OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../Slow" SOURCES plugin.cpp plugin.h |