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

[BT] qconfig.h not generated correctly in the Windows pre built packages.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 4.7.0
    • 4.7.0
    • Packaging & Installer
    • None
    • 29d77e6003d0e156e5979dc8eb72e7ed8eb51456, e1a3f0e50dec38cb65ac8e5a53e68029573f684d

    Description

      The file <QTDIR>\include\QtCore\qconfig.h is not generated correctly on Windows. This is what it looks like in the VS2008 package:

      #ifndef QT_NO_QT_INCLUDE_WARN
          #if defined(__GNUC__)
              #pragma warning "Inclusion of header files from include/Qt is deprecated."
          #elif defined(_MSC_VER)
              #pragma message "WARNING: Inclusion of header files from include/Qt is deprecated."
          #endif
      #endif
      
      #include "../QtCore/qconfig.h"
      #include "../QtCore/qconfig.h"
      
      

      The file includes itself and the format for the massage is incorrect which result in the following Warnings and Errors.

      c:\qt\4.7.0-rc1\include\qtcore\../QtCore/qconfig.h(5) : warning C4081: expected
      '('; found 'string'
      c:\qt\4.7.0-rc1\include\qtcore\../QtCore/qconfig.h(9) : fatal error C1014: too m
      any include files : depth = 1024
      
      

      Attachments

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

        Activity

          People

            ttomkins Toby Tomkins (closed Nokia identity) (Inactive)
            xcm Martin Petersson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes