summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/tst_blackboxqt.h
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-08-14 21:01:17 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-08-17 17:09:03 +0000
commit527d5a8ec54e44291d4968754bdf574ebe57822b (patch)
tree05b653903678bd33a7accf5ee54d9a8ef01d9a51 /tests/auto/blackbox/tst_blackboxqt.h
parente42ad799703412d7375465df49282dd960f81e2e (diff)
downloadqbs-527d5a8ec54e44291d4968754bdf574ebe57822b.tar.gz
Fix passing compiler defines to moc
This fixes the issue that Qbs doesn't pass the compiler defines to moc when processing header files which resulted to Q_OS_* being not defined. Fixes: QBS-1592 Change-Id: I58a0cc9af5cfa2fb4a370bb0d7204a3b100da437 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxqt.h')
-rw-r--r--tests/auto/blackbox/tst_blackboxqt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxqt.h b/tests/auto/blackbox/tst_blackboxqt.h
index 18c9d1a58..820df26d9 100644
--- a/tests/auto/blackbox/tst_blackboxqt.h
+++ b/tests/auto/blackbox/tst_blackboxqt.h
@@ -55,6 +55,7 @@ private slots:
void mixedBuildVariants();
void mocAndCppCombining();
void mocFlags();
+ void mocCompilerDefines();
void mocSameFileName();
void pkgconfig();
void pluginMetaData();