diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-12-09 19:51:16 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2020-12-10 12:40:30 +0100 |
commit | 323cdf820c723660f3c67c3fd583f0b28c8d80a2 (patch) | |
tree | 073a973ecef9146c9c8c69a5e37e057f6fc633da /tests | |
parent | c0b59369ab45a78e4407633365a52c1a9255512c (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.
Pick-to: 6.0
Fixes: QTBUG-89187
Change-Id: Icd543015805a8157d59c20e86134421911930ea1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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 |