diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2021-09-20 15:26:42 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-21 14:08:07 +0000 |
commit | cb11e2e760c960da50e2edc5b7e5984fec58b0af (patch) | |
tree | f350e9b793c2ab8fc721108b60b87a3ccd37ac4d /tests | |
parent | 40dfcb97122daebd9bdecb070f41f2dce16a5379 (diff) |
locale: QNX does not define LC_MEASUREMENTS
Change-Id: I01ce03e578173f53639927e70f49e6d9b0d08d20
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 3635acd27a41e2e63646c09ece294cdb1a6cbf2f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shared/localechange.h | 5 |
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: |