Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.4, 6.3.0 Beta3
Description
Install Qt6.3.0 or 6.2.4 Wasm binaries on linux to /home/qt/RTA/Qt_6.3.0/.
Configure:
/home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/bin/qt-cmake -S /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient -B /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient/bld_wasm_32
Finishes fine, but when compiling with /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient/bld_wasm_32 in cmake --build .
Fails:
[ 20%] Automatic MOC for target sslechoclient [ 20%] Built target sslechoclient_autogen Consolidate compiler generated dependencies of target sslechoclient [ 40%] Building CXX object CMakeFiles/sslechoclient.dir/sslechoclient.cpp.o /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient/sslechoclient.cpp:62:79: error: no member named 'sslErrors' in 'QWebSocket' connect(&m_webSocket, QOverload<const QList<QSslError>&>::of(&QWebSocket::sslErrors), ~~~~~~~~~~~~^ /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient/sslechoclient.cpp:93:17: error: no member named 'ignoreSslErrors' in 'QWebSocket' m_webSocket.ignoreSslErrors(); ~~~~~~~~~~~ ^ 2 errors generated. Warning em++: error: '/home/qt/git/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=16 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/qt/git/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WEBSOCKETS_LIB -I/home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient/bld_wasm_32/sslechoclient_autogen/include -isystem /home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/include/QtCore -isystem /home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/include -isystem /home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/mkspecs/wasm-emscripten -isystem /home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/include/QtWebSockets -isystem /home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/include/QtNetwork -std=gnu++17 -MD -MT CMakeFiles/sslechoclient.dir/sslechoclient.cpp.o -MF CMakeFiles/sslechoclient.dir/sslechoclient.cpp.o.d -c /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/websockets/sslechoclient/sslechoclient.cpp -o CMakeFiles/sslechoclient.dir/sslechoclient.cpp.o' failed (1) Called from: make[2]: *** [CMakeFiles/sslechoclient.dir/build.make:107: CMakeFiles/sslechoclient.dir/sslechoclient.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/sslechoclient.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
Other examples seem to compile fine, e.g. echoserver and echoclient.
Reproduces on macOS also.