diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-03-15 13:07:02 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-03-17 19:43:29 +0100 |
commit | aec6b0075863bff181d1d3dfdf1399264de01f67 (patch) | |
tree | 5fb7e8f0f1a5c7a2f82fbc47d17070e29eeb50b3 /src | |
parent | 69d525a6fa19934b3e57f503132bb4ab19f6b923 (diff) |
Disable init prioritization in QNX
This fixes issue with non working QHash when loading QML plugins in QNX.
Change-Id: I55c9edc58aa27cff694603e6281c980e1fedbeba
Taks-number: QTBUG-101341
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qglobal_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal_p.h b/src/corelib/global/qglobal_p.h index f49a66df83..46b0a80ba6 100644 --- a/src/corelib/global/qglobal_p.h +++ b/src/corelib/global/qglobal_p.h @@ -71,6 +71,9 @@ # define Q_DECL_INIT_PRIORITY(nn) \ __pragma(warning(disable: 4075)) \ __pragma(init_seg(".CRT$XCK" QT_STRINGIFY(nn))) Q_DECL_UNUSED +#elif defined(Q_OS_QNX) +// init_priority fails on QNX and we didn't bother investigating why +# define QT_SUPPORTS_INIT_PRIORITY 0 #elif defined(Q_OS_WIN) || defined(Q_OF_ELF) # define QT_SUPPORTS_INIT_PRIORITY 1 // priorities 0 to 1000 are reserved to the runtime; |