summaryrefslogtreecommitdiffstats
path: root/tests/shared
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared')
-rw-r--r--tests/shared/localechange.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/shared/localechange.h b/tests/shared/localechange.h
index 3790a108dc..b363af1175 100644
--- a/tests/shared/localechange.h
+++ b/tests/shared/localechange.h
@@ -64,7 +64,10 @@ namespace QTestLocaleChange {
switch (category) {
#define CASE(cat) case cat: return #cat
CASE(LC_ALL); CASE(LC_NUMERIC); CASE(LC_TIME); CASE(LC_MONETARY);
- CASE(LC_MESSAGES); CASE(LC_MEASUREMENT); CASE(LC_COLLATE);
+ CASE(LC_MESSAGES); CASE(LC_COLLATE);
+#ifndef Q_OS_QNX
+ CASE(LC_MEASUREMENT);
+#endif
#undef CASE
// Nothing in our code pays attention to any other LC_*
default: