[Development] 5.12.5 and wasm-emscripten

Martin Koller kollix at aon.at
Mon Sep 30 11:06:23 CEST 2019


On Donnerstag, 26. September 2019 20:46:15 CEST Lorn Potter wrote:
> Hi,
> 
> On 26/9/19 3:57 PM, Martin Koller wrote:
> >> What configure line are you using? Are you trying to use -shared ?
> > ${QTDIR}/configure -xplatform wasm-emscripten -nomake examples \
> > -prefix ${dir}/qt5-installed -opensource -confirm-license \
> > -openssl-linked OPENSSL_INCDIR=/home/pvss/branch_3x/build/emscripten/ExternLibs/openssl/include \
> > OPENSSL_LIBDIR=/home/pvss/branch_3x/build/emscripten/ExternLibs/openssl/lib \
> > -skip qtscxml \
> > -skip qtdeclarative
> > 
> > It seems it has to do with openssl.
> 
> Ahh, ok. That makes sense.
> 
> I have not tested openssl with webassembly lately. It would need to be 
> statically linked as Qt WebAssembly is statically linked. dlopen is 
> dependent upon main and side module support for dynamic linking.

Seems I have found a solution:
put the include inside an ifdef
in qtbase/src/network/ssl/qsslsocket_openssl11.cpp

#if QT_CONFIG(library)
#include <QtCore/qlibrary.h>
#endif


-- 
Best regards/Schöne Grüße

Martin

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments







More information about the Development mailing list