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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.0
    • Core: QtConcurrent
    • None
    • 1e9784e6a295cd5e44481ac773cec91fd46a13b7 (qt/qtbase/dev)

    Description

      Building on windows with clang/LLVM 10.0.1 produces:

      agent:2020/11/11 06:29:41 build.go:379: FAILED: sccache C:\winlibs\mingw64\bin\clang++.exe -DMINGW_HAS_SECURE_API=1 -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_TESTCASE_BUILDDIR=\"C:/Users/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/thread/qfuture\" -DQT_TESTCASE_SOURCEDIR=\"/Users/qt/work/qt/qtbase/tests/auto/corelib/thread/qfuture\" -DQT_TESTLIB_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN32_WINNT=0x0601 -D_WIN64 -Itests/auto/corelib/thread/qfuture/tst_qfuture_autogen/include -I/Users/qt/work/qt/qtbase/tests/auto/corelib/thread/qfuture -Itests/auto/corelib/thread/qfuture -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/QtCore/6.0.0 -isystem C:/Users/qt/work/install/include/QtCore/6.0.0/QtCore -g -DNDEBUG -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -pthread -Wno-ignored-attributes -std=gnu++17 -MD -MT tests/auto/corelib/thread/qfuture/CMakeFiles/tst_qfuture.dir/tst_qfuture.cpp.obj -MF tests\auto\corelib\thread\qfuture\CMakeFiles\tst_qfuture.dir\tst_qfuture.cpp.obj.d -o tests/auto/corelib/thread/qfuture/CMakeFiles/tst_qfuture.dir/tst_qfuture.cpp.obj -c /Users/qt/work/qt/qtbase/tests/auto/corelib/thread/qfuture/tst_qfuture.cpp
      agent:2020/11/11 06:29:41 build.go:379: /Users/qt/work/qt/qtbase/tests/auto/corelib/thread/qfuture/tst_qfuture.cpp:3090:53: error: no member named 'create' in 'QThread'
      agent:2020/11/11 06:29:41 build.go:379:     QScopedPointer<QThread> waitingThread (QThread::create([&] {
      agent:2020/11/11 06:29:41 build.go:379:                                            ~~~~~~~~~^
      agent:2020/11/11 06:29:41 build.go:379: 1 error generated.
      agent:2020/11/11 06:29:50 build.go:379: ninja: build stopped: subcommand failed.
      

      Attachments

        Issue Links

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

          Activity

            People

              sonakur Sona Kurazyan
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes