Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79497

[REG5.14.0 beta1->beta2] Wasm: some quick/quickcontrols/quickcontrols2 examples fails to build

    XMLWordPrintable

Details

    Description

      Install Qt5.14.0 beta2 content (SHA1 595a45dd1d23691020cadddacd51a964c89f3dfc) from staging repo, launch Creator and compile one of the following examples. Build fails with:

      sed -e s/@APPNAME@/canvas/g /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/platforms/wasm_shell.html > /home/qt/RTA/qt5/Examples/Qt-5.14.0/quick/canvas/canvas.html
      cp -f /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/platforms/qtloader.js /home/qt/RTA/qt5/Examples/Qt-5.14.0/quick/canvas
      cp -f /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/platforms/qtlogo.svg /home/qt/RTA/qt5/Examples/Qt-5.14.0/quick/canvas
      em++ -s WASM=1 -s FULL_ES2=1 -s USE_WEBGL2=1 -s NO_EXIT_RUNTIME=0 -s ERROR_ON_UNDEFINED_SYMBOLS=1 --bind -O3 -s ALLOW_MEMORY_GROWTH=1 -o canvas.js main.o canvas.js_plugin_import.o canvas.js_qml_plugin_import.o qrc_canvas.o qrc_shared.o   /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/platforms/libqwasm.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5EventDispatcherSupport.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5FontDatabaseSupport.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libqtfreetype.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5EglSupport.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqgif.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqicns.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqico.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqjpeg.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqtga.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqtiff.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqwbmp.a /home/qt/RTA/qt5/5.14.0/wasm_32/plugins/imageformats/libqwebp.a /home/qt/RTA/qt5/5.14.0/wasm_32/qml/QtQuick.2/libqtquick2plugin.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5Quick.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5QmlModels.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5Qml.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5Gui.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libqtlibpng.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libqtharfbuzz.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5Network.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libQt5Core.a /home/qt/RTA/qt5/5.14.0/wasm_32/lib/libqtpcre2.a   
      error: undefined symbol: _ZN7QThread12setStackSizeEj
      warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
      Error: Aborting compilation due to previous errors
      shared:ERROR: '/opt/emsdk/node-v8.9.1-linux-x64/bin/node /opt/emsdk/emscripten-1.38.27/src/compiler.js /tmp/tmpuxm2qw.txt /opt/emsdk/emscripten-1.38.27/src/embind/emval.js /opt/emsdk/emscripten-1.38.27/src/embind/embind.js /opt/emsdk/emscripten-1.38.27/src/library_pthread_stub.js' failed (1)
      make: *** [Makefile:227: canvas.js] Error 1
      

      quick/canvas/canvas
      quick/delegatechooser/delegatechooser
      quick/embeddedinwidgets/embeddedinwidgets
      quick/rendercontrol/rendercontrol
      quick/shapes/shapes
      quick/textureprovider/textureprovider
      quick/window/window
      quick/localstorage/localstorage/localstorage
      quick/models/abstractitemmodel/abstractitemmodel
      quick/models/objectlistmodel/objectlistmodel
      quick/models/stringlistmodel/stringlistmodel
      quick/particles/itemparticle/itemparticle
      quick/quickwidgets/qquickviewcomparison/qquickviewcomparison
      quick/quickwidgets/quickwidget/quickwidget
      quick/scenegraph/customgeometry/customgeometry
      quick/scenegraph/fboitem/fboitem
      quick/scenegraph/graph/graph
      quick/scenegraph/openglunderqml/openglunderqml
      quick/scenegraph/textureinthread/textureinthread
      quick/scenegraph/threadedanimation/threadedanimation
      quick/scenegraph/twotextureproviders/twotextureproviders
      quick/tableview/gameoflife/gameoflife
      quick/tableview/pixelator/pixelator
      quickcontrols/controls/filesystembrowser/filesystembrowser
      quickcontrols/controls/gallery/gallery
      quickcontrols/controls/styles/styles
      quickcontrols/controls/tableview/tableview
      quickcontrols/controls/uiforms/uiforms
      quickcontrols/dialogs/systemdialogs/systemdialogs
      quickcontrols/extras/dashboard/dashboard
      quickcontrols/extras/flat/flat
      quickcontrols/extras/gallery/gallery
      quickcontrols2/contactlist/contactlist
      quickcontrols2/flatstyle/flatstyle
      quickcontrols2/gallery/gallery
      quickcontrols2/sidepanel/sidepanel
      quickcontrols2/swipetoremove/swipetoremove
      quickcontrols2/texteditor/texteditor
      quickcontrols2/wearable/wearable
      quickcontrols2/chattutorial/chapter1-settingup/chapter1-settingup
      quickcontrols2/chattutorial/chapter2-lists/chapter2-lists
      quickcontrols2/chattutorial/chapter3-navigation/chapter3-navigation
      quickcontrols2/imagine/automotive/automotive
      quickcontrols2/imagine/musicplayer/musicplayer

      Examples were working with previous snapshot (bcdb9ba4ddb55003c4ba6387d922cfaeb11097d0)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sorvig Morten Sørvig
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes