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>
This commit is contained in:
parent
69d525a6fa
commit
aec6b00758
@ -71,6 +71,9 @@
|
|||||||
# define Q_DECL_INIT_PRIORITY(nn) \
|
# define Q_DECL_INIT_PRIORITY(nn) \
|
||||||
__pragma(warning(disable: 4075)) \
|
__pragma(warning(disable: 4075)) \
|
||||||
__pragma(init_seg(".CRT$XCK" QT_STRINGIFY(nn))) Q_DECL_UNUSED
|
__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)
|
#elif defined(Q_OS_WIN) || defined(Q_OF_ELF)
|
||||||
# define QT_SUPPORTS_INIT_PRIORITY 1
|
# define QT_SUPPORTS_INIT_PRIORITY 1
|
||||||
// priorities 0 to 1000 are reserved to the runtime;
|
// priorities 0 to 1000 are reserved to the runtime;
|
||||||
|
Loading…
Reference in New Issue
Block a user