From 88f90868f7ba128011883ae3884cb9652708d385 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 3 Sep 2019 16:49:58 +0200 Subject: 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 --- src/qmltest/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qmltest/CMakeLists.txt') 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 -- cgit v1.2.3