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

wasm: c++14 config.test fails on windows

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P1: Critical
    • 5.15.0 Alpha, 5.15
    • 5.14.0 Beta2
    • Build System
    • None
    • WebAssembly
    • 4df303ece7ce69a0e8dc2d14b59637048d7214ec (qt/qtbase/5.15)

    Description

      Configuring Qt for webassembly build using +std c1z fails the c+14 test:

      Checking for C++14 support...
      + cd /d C:\Users\llorn\depot\qt\qt5\qt5-base\config.tests\c++14 && C:\Users\llorn\depot\qt\qt5\qt5-base\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += static warn_off console single_arch" -early "CONFIG += cross_compile" C:/Users/llorn/depot/qt/qt5/qt5-base/config.tests/c++14
      + cd /d C:\Users\llorn\depot\qt\qt5\qt5-base\config.tests\c++14 && set MAKEFLAGS=& mingw32-make
      > em++ -c -s WASM_OBJECT_FILES=1 -O3 -std=gnu++1y -w -I. -I/.emscripten_ports/openssl/include -IC:\Users\llorn\depot\qt\qt5\qtbase\mkspecs\wasm-emscripten -o main.obj main.cpp
      > sed -e s/@APPNAME@/c++14/g C:/Users/llorn/depot/qt/qt5/qtbase/mkspecs/features/wasm/../../../src/plugins/platforms/wasm/wasm_shell.html > C:/Users/llorn/depot/qt/qt5/qt5-base/config.tests/c++14/c++14.html
      > copy /y C:\Users\llorn\depot\qt\qt5\qtbase\mkspecs\features\wasm\..\..\..\src\plugins\platforms\wasm\qtloader.js C:\Users\llorn\depot\qt\qt5\qt5-base\config.tests\c++14
      > The syntax of the command is incorrect.
      > mingw32-make: *** [Makefile:156: appjs] Error 1
      test config.qtbase.tests.c++14 FAILED
      

      I think the '++' in the copy line is what actually fails.

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes