Fix wrong note "Using pthreads" and only show it for WASM
MSVC does not have pthreads. "QT_FEATURE_thread" should mean "Enable thread support". And I think this note is only meaningful for WASM. For other platforms, thread support should be enabled by default. amends 4972fdb350fe79e18b0413e74028cd9b9803f96b Change-Id: I5a4fc05219c9b2ff9c6e54fd444b4b94230727bb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
2ecd0f4194
commit
ebf91d1d13
@ -1131,8 +1131,8 @@ qt_configure_add_report_entry(
|
|||||||
)
|
)
|
||||||
qt_configure_add_report_entry(
|
qt_configure_add_report_entry(
|
||||||
TYPE NOTE
|
TYPE NOTE
|
||||||
MESSAGE "Using pthreads"
|
MESSAGE "Enable thread support"
|
||||||
CONDITION QT_FEATURE_thread
|
CONDITION QT_FEATURE_thread AND WASM
|
||||||
)
|
)
|
||||||
qt_configure_add_report_entry(
|
qt_configure_add_report_entry(
|
||||||
TYPE WARNING
|
TYPE WARNING
|
||||||
|
@ -1514,8 +1514,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "note",
|
"type": "note",
|
||||||
"condition": "features.thread",
|
"condition": "features.thread && config.wasm",
|
||||||
"message": "Using pthreads"
|
"message": "Enable thread support"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "error",
|
"type": "error",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user