[Development] 5.12.5 and wasm-emscripten

Martin Koller kollix at aon.at
Thu Sep 26 07:57:25 CEST 2019


Hi Lorn,

On Donnerstag, 26. September 2019 03:32:24 CEST Lorn Potter wrote:
> Hi Martin,
> 
> 
> On 26/9/19 3:18 AM, Martin Koller wrote:
> > Hi,
> > 
> > just trying to compile Qt 5.12.5 for wasm-emscripten (on openSuse 15.0) and it fails.
> > Is this known or do I have a local problem ?
> 
> I haven't seen this error. I tried to reproduce this with suse 15.
> with this configure line:
> 
> -xplatform wasm-emscripten -developer-build -nomake tests -nomake 
> examples -opensource -confirm-license -verbose -compile-examples 
> -no-warnings-are-errors -release
> 
> 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.
Should it be possible to configure with openssl ?

> > /home/PACKAGES/qt/5.12.5/qt-everywhere-src-5.12.5/qtbase/include/QtCore/../../src/corelib/plugin/qlibrary.h:45:1: error:
> >        static_assert failed due to requirement 'bool(-1 == 1)' "Required feature library for file
> >        /home/PACKAGES/qt/5.12.5/qt-everywhere-src-5.12.5/qtbase/include/QtCore/../../src/corelib/plugin/qlibrary.h not available."
> > QT_REQUIRE_CONFIG(library);
> > ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > /home/PACKAGES/qt/5.12.5/qt-everywhere-src-5.12.5/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:87:36: note: expanded from
> >        macro 'QT_REQUIRE_CONFIG'
> >    ...Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " __FILE__ " not available.")
> >       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > /home/PACKAGES/qt/5.12.5/qt-everywhere-src-5.12.5/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:121:49: note: expanded
> >        from macro 'Q_STATIC_ASSERT_X'
> > #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
> >                                                  ^             ~~~~~~~~~~~~~~~
> > 1 error generated.
> > 
> 
> 


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

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

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

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at





More information about the Development mailing list