diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2021-09-16 18:19:16 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-17 08:25:04 +0000 |
commit | 092dc581ceb63e851af7a48c02cf72926a6f4986 (patch) | |
tree | 18d5091c4c85e41c78227c9b74708bc53bf02b9a /tests | |
parent | 96b4bbf2cf010da44bb88a4b98193c902066557a (diff) |
Support QNX QCC compiler
tests/auto/tools/moc/CMakeFiles/tst_moc.dir/tst_moc.cpp.o: in function `tst_Moc::os9Newline()':
qtbase/tests/auto/tools/moc/tst_moc.cpp:1225: undefined reference to `Os9Newlines::staticMetaObject'
tests/auto/tools/moc/CMakeFiles/tst_moc.dir/tst_moc.cpp.o: in function `tst_Moc::winNewline()':
qtbase/tests/auto/tools/moc/tst_moc.cpp:1239: undefined reference to `WinNewlines::staticMetaObject'
Change-Id: I629d67c1190e09b26dc09e41cb7170cb0eadf1cb
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 5f3e8dde958d2c218b90884d4a368fe9860a41b5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/tools/moc/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/tools/moc/CMakeLists.txt b/tests/auto/tools/moc/CMakeLists.txt index 792e8d5f9c..228af5992e 100644 --- a/tests/auto/tools/moc/CMakeLists.txt +++ b/tests/auto/tools/moc/CMakeLists.txt @@ -85,11 +85,11 @@ qt_internal_extend_target(tst_moc CONDITION CMAKE_CROSSCOMPILING MOC_CROSS_COMPILED ) -if (UNIX AND (CLANG OR GCC OR ICC)) +if (UNIX AND (CLANG OR GCC OR ICC OR QCC)) qt_wrap_cpp(os9_moc os9-newlines.h) endif() -qt_internal_extend_target(tst_moc CONDITION UNIX AND (CLANG OR GCC OR ICC) +qt_internal_extend_target(tst_moc CONDITION UNIX AND (CLANG OR GCC OR ICC OR QCC) SOURCES os9-newlines.h win-newlines.h |