[Development] 5.12.5 and wasm-emscripten
Lorn Potter
lorn.potter at gmail.com
Thu Sep 26 03:32:24 CEST 2019
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 ?
>
> /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.
>
--
Lorn Potter
Freelance Qt Developer. Maintainer QtSensors, Qt WebAssembly
More information about the Development
mailing list