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

QtConcurrent header files include errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.1.1
    • Core: QtConcurrent
    • None
    • Windows

    Description

      I tried including the following header "#include <QtConcurrent/QtConcurrentRun>". I get the below compiler error message

      Error output:
      c:\qt\qt5.1.1\5.1.1\msvc2010_opengl\include\qtconcurrent\qtconcurrentrun.h(51) : fatal error C1083: Cannot open include file: 'QtConcurrent/qtconcurrentstoredfunctioncall.h': No such file or directory

      I have checked the path, the file is present in the directory.

      And When I try and include : #include <QtConcurrent/QtConcurrentRun>

      The following is the compile output:

      ..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\include\QtCore/qdatetime.h(121) : warning C4003: not enough actual parameters for macro 'min'
      ..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\include\QtCore/qdatetime.h(121) : error C2589: '(' : illegal token on right side of '::'
      ..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\include\QtCore/qdatetime.h(121) : error C2059: syntax error : '::'
      c:\qt\qt5.1.1\5.1.1\msvc2010_opengl\include\qtconcurrent\qtconcurrentrun.h(51) : fatal error C1083: Cannot open include file: 'QtConcurrent/qtconcurrentstoredfunctioncall.h': No such file or directory

      I'm not sure if this is an existing bug or a new one, or if there is a fix for this. Searched in the internet found nothing related to this. Please look into this issue. Thank you

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            jerry Jerry Louis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes