Skip to content

Commit

Permalink
CMake: Warn that not all WASM tests might build without threads
Browse files Browse the repository at this point in the history
Pick-to: 6.8
Change-Id: I89971db45f30cebcfb122909ab2434a55b75e2a0
Reviewed-by: Morten Johan Sørvig <[email protected]>
  • Loading branch information
alcroito committed Oct 29, 2024
1 parent 492deef commit d7ea0ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1456,6 +1456,11 @@ qt_configure_add_report_entry(
MESSAGE "You should use the recommended Emscripten version ${QT_EMCC_RECOMMENDED_VERSION} with this Qt. You have ${EMCC_VERSION}."
CONDITION WASM AND NOT ${EMCC_VERSION} MATCHES ${QT_EMCC_RECOMMENDED_VERSION}
)
qt_configure_add_report_entry(
TYPE WARNING
MESSAGE "Some tests might fail to build when targeting WASM without -feature-thread."
CONDITION WASM AND QT_BUILD_TESTS AND NOT QT_FEATURE_thread
)
qt_configure_add_report_entry(
TYPE ERROR
MESSAGE "Building Qt with C++20 is not supported with MSVC 2019."
Expand Down

0 comments on commit d7ea0ea

Please sign in to comment.