summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNick Ratelle <nratelle@qnx.com>2011-12-15 15:44:27 -0500
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-20 11:46:23 +0200
commitffd4ecb5a21ef97d0874c7c220bc0dbbd82daa52 (patch)
treeee1e66c68fb0cad3bfec7ee980c7979f03b3c072 /tests
parenta37c2733b37857e1ca60d36653559c1528d72b64 (diff)
Add a QNX 'quirk' to platformquirks.h
This patch is not needed by Qt5, since the code in question no longer exists. Change-Id: Iabda3ed35ff7adc4af0e6e189fd04dee12a04431 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Nick Ratelle <nratelle@qnx.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/platformquirks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/platformquirks.h b/tests/auto/platformquirks.h
index 706cc9e905..74970fe94e 100644
--- a/tests/auto/platformquirks.h
+++ b/tests/auto/platformquirks.h
@@ -72,6 +72,8 @@ struct PlatformQuirks
#elif defined(Q_WS_X11)
// ### this is a very bad assumption, we should really check the version of libjpeg
return X11->desktopEnvironment == DE_MEEGO_COMPOSITOR;
+#elif defined(Q_OS_QNX)
+ return true;
#else
return false;
#endif