qt5base-lts/tests/auto
Joerg Bornemann af61b5ca5c CMake: Fix tst_qmake::resources() on Windows
This test calls qmake on a project that generates a .qrc file. On
Windows, where debug_and_release is on by default, the generated qrc
file ends up in a "debug" or "release" subdirectory. On other
platforms the file is generated directly in the build dir.

To guess the right location, the preprocessor defines RELEASE_BUILD
and DEBUG_BUILD were passed to tst_qmake.cpp by the test's .pro file.
While the mapping from debug_and_release was fine for the .pro file,
it was commented out in the automatically converted CMakeLists.txt.

Instead of trying to fix the condition, we're going the easier route
that's used in all other .pro files of tst_qmake: make sure that
debug_and_release doesn't get in the way. In other tests this is done
by setting
    DESTDIR = ./
which doesn't work for the generated qrc file. That's why we simply do
    CONFIG -= debug_and_release
to make sure that everything is generated directly in the build dir.

Change-Id: I557ac4e21d7b385004d369fae8a3f727d76d4d88
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-06-26 21:24:50 +02:00
..
cmake Remove the openglextensions module 2020-06-10 09:35:04 +02:00
concurrent Use QList instead of QVector in concurrent tests 2020-06-22 16:46:01 +02:00
corelib CMake: Skip building tst_qprocess test when cross compiling 2020-06-26 14:54:32 +02:00
dbus Use QList instead of QVector in dbus tests 2020-06-25 07:54:33 +02:00
gui rhi: Enable specifying just an adapter or phys dev 2020-06-26 14:42:42 +02:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Remove QByteArray's methods taking QString and their uses 2020-06-25 09:54:16 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Use QList instead of QVector in other tests 2020-06-25 10:14:24 +02:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Use QList instead of QVector in sql tests 2020-06-25 10:14:15 +02:00
testlib Use QList instead of QVector in testlib tests 2020-06-25 10:13:58 +02:00
tools CMake: Fix tst_qmake::resources() on Windows 2020-06-26 21:24:50 +02:00
widgets Use QList instead of QVector in widgets tests 2020-06-25 10:13:43 +02:00
xml Remove QByteArray's methods taking QString and their uses 2020-06-25 09:54:16 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00