Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.15.2
-
None
Description
Error build appliaction WASM 5.15.2.
make em++ -c -pipe -O2 -std=gnu++11 -s ALLOW_MEMORY_GROWTH=1 -Wall -Wextra -DQT_DEPRECATED_WARNINGS -DQUICKDOWNLOAD_AUTO_REGISTER -DAPP_VERSION=\"0.00.23\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -IQuickDownload -IQuickDownload/src -I/qt5/qtbase/include -I/qt5/qtbase/include/QtQuickControls2 -I/qt5/qtbase/include/QtQuick -I/qt5/qtbase/include/QtGui -I/qt5/qtbase/include/QtQmlModels -I/qt5/qtbase/include/QtQml -I/qt5/qtbase/include/QtNetwork -I/qt5/qtbase/include/QtCore -I. -I/root/.emscripten_ports/openssl/include -I/qt5/qtbase/mkspecs/wasm-emscripten -o main.o main.cpp main.cpp:44:32: error: incomplete type 'QSslConfiguration' named in nested name specifier QSslConfiguration config = QSslConfiguration::defaultConfiguration(); ^~~~~~~~~~~~~~~~~~~ /qt5/qtbase/include/QtNetwork/../../src/network/access/qnetworkrequest.h:51:7: note: forward declaration of 'QSslConfiguration' class QSslConfiguration; ^ main.cpp:44:23: error: variable has incomplete type 'QSslConfiguration' QSslConfiguration config = QSslConfiguration::defaultConfiguration(); ^ /qt5/qtbase/include/QtNetwork/../../src/network/access/qnetworkrequest.h:51:7: note: forward declaration of 'QSslConfiguration' class QSslConfiguration; ^ main.cpp:45:30: error: use of undeclared identifier 'QSslSocket' config.setPeerVerifyMode(QSslSocket::VerifyNone); ^ main.cpp:46:5: error: incomplete type 'QSslConfiguration' named in nested name specifier QSslConfiguration::setDefaultConfiguration(config); ^~~~~~~~~~~~~~~~~~~ /qt5/qtbase/include/QtNetwork/../../src/network/access/qnetworkrequest.h:51:7: note: forward declaration of 'QSslConfiguration' class QSslConfiguration; ^ 4 errors generated. shared:ERROR: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=8 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystem/emsdk/upstream/emscripten/system/include/libcxx -Xclang -isystem/emsdk/upstream/emscripten/system/lib/libcxxabi/include -Xclang -isystem/emsdk/upstream/emscripten/system/include/compat -Xclang -isystem/emsdk/upstream/emscripten/system/include -Xclang -isystem/emsdk/upstream/emscripten/system/include/libc -Xclang -isystem/emsdk/upstream/emscripten/system/lib/libc/musl/arch/emscripten -Xclang -isystem/emsdk/upstream/emscripten/system/local/include -Xclang -isystem/emsdk/upstream/emscripten/cache/wasm-obj/include -c -pipe -O2 -std=gnu++11 -Wall -Wextra -DQT_DEPRECATED_WARNINGS -DQUICKDOWNLOAD_AUTO_REGISTER -DAPP_VERSION="0.00.23" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -IQuickDownload -IQuickDownload/src -I/qt5/qtbase/include -I/qt5/qtbase/include/QtQuickControls2 -I/qt5/qtbase/include/QtQuick -I/qt5/qtbase/include/QtGui -I/qt5/qtbase/include/QtQmlModels -I/qt5/qtbase/include/QtQml -I/qt5/qtbase/include/QtNetwork -I/qt5/qtbase/include/QtCore -I. -I/root/.emscripten_ports/openssl/include -I/qt5/qtbase/mkspecs/wasm-emscripten -DEMSCRIPTEN main.cpp -Xclang -isystem/emsdk/upstream/emscripten/system/include/SDL -c -o main.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1) make: *** [Makefile:1606: main.o] Error 1
Env: Debian 10
./emsdk install 1.39.8
./emsdk activate --embedded 1.39.8
source "/emsdk/emsdk_env.sh"
cd /qt5
LANG=C ./configure -xplatform wasm-emscripten -nomake examples -no-compile-examples -prefix $PWD/qtbase -opensource -confirm-license -ccache --recheck-all
make -j4
make instal