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

error: no member named 'create' in 'QThread'

    XMLWordPrintable

Details

    • 5738530116ca5fcf30ea809f81896b19161a9889

    Description

      When building with clang / llvm in Windows:

      agent:2020/11/19 13:36:41 build.go:379: FAILED: sccache C:\winlibs\mingw64\bin\clang++.exe -DMINGW_HAS_SECURE_API=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_TESTCASE_BUILDDIR=\"C:/Users/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qjsvalue\" -DQT_TESTCASE_SOURCEDIR=\"/Users/qt/work/qt/qtdeclarative/tests/auto/qml/qjsvalue\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN32_WINNT=0x0601 -D_WIN64 -Itests/auto/qml/qjsvalue/tst_qjsvalue_autogen/include -I/Users/qt/work/qt/qtdeclarative/tests/auto/qml/qjsvalue -Itests/auto/qml/qjsvalue -Iinclude -isystem C:/Users/qt/work/install/include/QtCore -isystem C:/Users/qt/work/install/include -isystem C:/Users/qt/work/install/mkspecs/win32-clang-g++ -isystem C:/Users/qt/work/install/include/QtTest -isystem C:/Users/qt/work/install/include/QtGui -isystem C:/VulkanSDK/1.0.51.0/Include -isystem C:/Users/qt/work/install/include/QtGui/6.0.0 -isystem C:/Users/qt/work/install/include/QtGui/6.0.0/QtGui -isystem C:/Users/qt/work/install/include/QtCore/6.0.0 -isystem C:/Users/qt/work/install/include/QtCore/6.0.0/QtCore -isystem C:/Users/qt/work/install/include/QtQml -isystem C:/Users/qt/work/install/include/QtNetwork -isystem C:/Users/qt/work/install/include/QtQml/6.0.0 -isystem C:/Users/qt/work/install/include/QtQml/6.0.0/QtQml -isystem C:/Users/qt/work/install/include/QtWidgets -g -DNDEBUG -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -pthread -Wno-ignored-attributes -std=gnu++17 -MD -MT tests/auto/qml/qjsvalue/CMakeFiles/tst_qjsvalue.dir/tst_qjsvalue.cpp.obj -MF tests\auto\qml\qjsvalue\CMakeFiles\tst_qjsvalue.dir\tst_qjsvalue.cpp.obj.d -o tests/auto/qml/qjsvalue/CMakeFiles/tst_qjsvalue.dir/tst_qjsvalue.cpp.obj -c /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
      agent:2020/11/19 13:36:41 build.go:379: /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp:2707:46: error: no member named 'create' in 'QThread'
      agent:2020/11/19 13:36:41 build.go:379:     std::unique_ptr<QThread> thread(QThread::create([&]() {
      agent:2020/11/19 13:36:41 build.go:379:                                     ~~~~~~~~~^
      agent:2020/11/19 13:36:41 build.go:379: 1 error generated.
      agent:2020/11/19 13:37:15 build.go:379: ninja: build stopped: subcommand failed.
      agent:2020/11/19 13:37:15 build.go:430: Process finished with error: exit status 1
      

      Attachments

        Issue Links

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

          Activity

            People

              tosaraja Tony Sarajärvi
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes