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

QT_EDITION in qconfig.h is wrong in the binary open source windows package (qt-win-opensource-4.6.0-rc1-vs2008.exe)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 4.6.0
    • 4.6.0
    • Packaging & Installer
    • None
    • 8250376d7467f3b435ad22a4b65d1dd856c3d20b

    Description

      Package: qt-win-opensource-4.6.0-rc1-vs2008.exe
      Platform: Win7 64bit

      Seems to be some problems with installation of license, since I cannot compile any examples due to the license check we have:

      C:\Qt\4.6.0-rc1\examples\tools\regexp>nmake debug
              cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189  -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -D QT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\.
      .\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..
      \mkspecs\win32-msvc2008" -Fotmp\obj\debug_shared\ @C:\Users\jasaethe\AppData\Loc al\Temp\nmD95A.tmp regexpdialog.cpp
      c:\qt\4.6.0-rc1\include\qtcore\../../src/corelib/global/qnamespace.h(51) : error
       C2146: syntax error : missing ';' before identifier 'QtCoreModule'
      c:\qt\4.6.0-rc1\include\qtcore\../../src/corelib/global/qnamespace.h(51) : error
       C4430: missing type specifier - int assumed. Note: C++ does not support default
      -int:
      

      Also, it does not happen with qt-win-commercial-4.6.0-rc1-vs2008.exe

      We found the reason for this was that QT_EDITION was not properly set in qconfig.h:

      // Qt Edition
      #ifndef QT_EDITION
      #  define QT_EDITION QT_EDITION_
      #endif
      

      It seems that its impossible that configure generates this, so it might be a bug in the installer script.

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            smd Jan Arve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes