diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-03 16:49:58 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-03 14:57:00 +0000 |
commit | 88f90868f7ba128011883ae3884cb9652708d385 (patch) | |
tree | 42c0907e319a05a7b9ae15d717e717ea5718de62 | |
parent | 729addd82ecb30825097961022d189e956a2e2cf (diff) |
Prospective fix for the Windows build
In qmltest.pro the MODULE variable is not set, so the module name is
derived from the name of the .pro file. The same discrepancy exists in
qtbase's QtTest library where the module name is QtTestLib. There we've
special cased it in the CMakeLists.txt and so this patch apples the same
logic here.
Change-Id: I9678cfb8fe407a72be927183a1eca47d0f68ffc3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | src/qmltest/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmltest/CMakeLists.txt b/src/qmltest/CMakeLists.txt index c9d13711d7..2d5c4acf49 100644 --- a/src/qmltest/CMakeLists.txt +++ b/src/qmltest/CMakeLists.txt @@ -5,6 +5,7 @@ ##################################################################### add_qt_module(QuickTest + CONFIG_MODULE_NAME qmltest # special case QMAKE_MODULE_CONFIG $${QT.testlib.CONFIG} SOURCES qtestoptions_p.h |