summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2022-09-08 07:32:38 +0200
committerDavid Skoland <david.skoland@qt.io>2022-09-13 18:13:00 +0200
commit3bd54f285dd41f4c176ed54161b58ab5c85e14c3 (patch)
tree727f7a5682d4379580ecd0ffe9fba3264adece07 /src/opengl
parent701852e17b6440540bda4cbfb83743cf8fd2d4ba (diff)
wasm: Replace QT6_INSTALL_PREFIX with WASM_BUILD_DIR in cmake helper
The change b515fa56a3144289023dc9588c5f73283599e4d4 introduced checking the emsdk version of a qt installation. However, this checked for QT6_INSTALL_PREFIX where it may not be defined. This fails when trying to build tests because when configuring tests, it calls into add_target_helpers which calls into this logic, and QT6_INSTALL_PREFIX is set after this is called into, causing the qconfig.h lookup to fail. To fix this so it works in all conditions, we need to check if either install prefix or build_dir is set and use whichever is set. Pick-to: 6.4 Change-Id: I3cf7e20d3d830f04e5b632fc51d8bf3b2758a717 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions