summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBernd Weimer <bernd.weimer@qt.io>2022-06-20 10:11:41 +0200
committerBernd Weimer <bernd.weimer@qt.io>2022-07-01 15:11:11 +0200
commitca61a40f49a4dff393a467c318439a66f87650dc (patch)
tree6ecb10608c25e08661adaca04c6842348f30a225 /tests
parent093ee2d43eab7e4dfbdd9b41a4f3a3e039049067 (diff)
downloadqtapplicationmanager-ca61a40f49a4dff393a467c318439a66f87650dc.tar.gz
Support QNX (unoffically)
Allow to build for QNX and run in single-process mode. There are a few limitations, e.g. filesystem mount monitoring and startup timer are not supported and there's only a rudimentary stack trace in case of a crash, etc. Since Qt Network doesn't provide a HW address and there's currently a cross-compilation issue, the following options need to be passed to configure: -DINPUT_hardware_id=dummyHwId -DQT_FORCE_BUILD_TOOLS=ON Change-Id: Ia58d09d15a781666fe788f21dfe9c7af7a2a74ef Pick-to: 6.4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/main/tst_main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/main/tst_main.cpp b/tests/auto/main/tst_main.cpp
index ee8e138f..1173b324 100644
--- a/tests/auto/main/tst_main.cpp
+++ b/tests/auto/main/tst_main.cpp
@@ -333,6 +333,9 @@ void tst_Main::mainQmlFile()
void tst_Main::startupTimer()
{
+#if defined(Q_OS_QNX)
+ QSKIP("StartupTimer not yet supported on QNX");
+#endif
QTemporaryFile tmp;
tmp.setAutoRemove(false);
QVERIFY(tmp.open());