Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
6.5.0 Beta1
Description
Install Qt 6.5.0 beta1 wasm multithread binaries, and try to compile example httpserver/simple.
Configure passes:
6.5.0/wasm_multithread/bin/qt-cmake -S /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple -B /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple/bld_wasm_multithread -GNinja
But guild fails:
Log Run cmake --build . in /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple/bld_wasm_multithread Log [1/4] Running rcc for resource assets Log [2/4] Building CXX object CMakeFiles/simple.dir/bld_wasm_multithread/.rcc/qrc_assets.cpp.o Log [3/4] Building CXX object CMakeFiles/simple.dir/main.cpp.o Warning FAILED: CMakeFiles/simple.dir/main.cpp.o Called from: Log /home/johanna/git/emsdk/upstream/emscripten/em++ -DQT_CORE_LIB -DQT_HTTPSERVER_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WEBSOCKETS_LIB -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtCore -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/mkspecs/wasm-emscripten -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtHttpServer -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtNetwork -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtWebSockets -pthread -std=gnu++17 -MD -MT CMakeFiles/simple.dir/main.cpp.o -MF CMakeFiles/simple.dir/main.cpp.o.d -o CMakeFiles/simple.dir/main.cpp.o -c /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple/main.cpp Log /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple/main.cpp:111:16: error: no member named 'sslSetup' in 'QHttpServer' Log httpServer.sslSetup(sslCertificateChain.front(), QSslKey(&privateKeyFile, QSsl::Rsa)); Log ~~~~~~~~~~ ^ Log /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple/main.cpp:111:54: error: invalid use of incomplete type 'QSslKey' Log httpServer.sslSetup(sslCertificateChain.front(), QSslKey(&privateKeyFile, QSsl::Rsa)); Log ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Log /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtNetwork/qsslcertificate.h:26:7: note: forward declaration of 'QSslKey' Log class QSslKey; Log ^ Log 2 errors generated Warning em++: error: '/home/johanna/git/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -D__EMSCRIPTEN_SHARED_MEMORY__=1 -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=10 -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/johanna/git/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -DQT_CORE_LIB -DQT_HTTPSERVER_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WEBSOCKETS_LIB -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtCore -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/mkspecs/wasm-emscripten -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtHttpServer -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtNetwork -isystem /home/johanna/RTA/Qt_6.5.0/6.5.0/wasm_multithread/include/QtWebSockets -pthread -std=gnu++17 -MD -MT CMakeFiles/simple.dir/main.cpp.o -MF CMakeFiles/simple.dir/main.cpp.o.d -c -matomics -mbulk-memory /home/johanna/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/simple/main.cpp -o CMakeFiles/simple.dir/main.cpp.o' failed (returned 1) ninja: build stopped: subcommand failed
Compiles fine with gcc