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

QGlobal Header File: Error C1017 while building from Source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P0: Blocker
    • None
    • 5.6.0 Beta
    • Packaging & Installer
    • None

    Description

      1.) As the latest 5.6.0 Beta Source Package is missing the "Configure.exe" Binary in \qtbase\, I copy it from the latest available 5.6.0 Alpha Package into that Folder.
      2.) I call Configure.bat with the following Parameter and the Following Result [Example for 32-bit]:

      c:\qt5src\configure -opensource -confirm-license -prefix c:\qt-build -opengl dynamic -debug-and-release -developer-build -mp -nomake tests -nomake examples
      + cd qtbase
      + c:\qt5src\qtbase\configure.bat -top-level -opensource -confirm-license -prefix c:\qt-build -opengl dynamic -debug-and-release -developer-build -mp -nomake tests -nomake examples
      
      This is the Qt for Windows Open Source Edition.
      
      You have already accepted the terms of the license.
      
      Creating qmake...
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      cl -c -Fo./ -Fdqmake.pdb  -W3 -nologo -O1  /MP /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /Zc:strictStrings /w44456 /w44457 /w44458 /wd4577   -IC:\qt5src\qtbase\qmake -IC:\qt5src\qtbase\qmake\library -IC:\qt5src\qtbase\qmake\generators -IC:\qt5src\qtbase\qmake\generators\unix -IC:\qt5src\qtbase\qmake\generators\win32 -IC:\qt5src\qtbase\qmake\generators\mac -IC:\qt5src\qtbase\qmake\generators\integrity  -IC:\qt5src\qtbase\include -IC:\qt5src\qtbase\include\QtCore -IC:\qt5src\qtbase\include\QtCore\5.6.0 -IC:\qt5src\qtbase\include\QtCore\5.6.0\QtCore  -I..\src\corelib\global -DHAVE_QCONFIG_CPP  -IC:\qt5src\qtbase\mkspecs\win32-msvc2015   -IC:\qt5src\qtbase\tools\shared  -DQT_VERSION_STR=\"5.6.0\" -DQT_VERSION_MAJOR= -DQT_VERSION_MINOR= -DQT_VERSION_PATCH=  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS  -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM  -DUNICODE -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS -c -Yc -Fpqmake_pch.pch -TP C:\qt5src\qtbase\qmake\qmake_pch.h
      qmake_pch.h
      
      c:\qt5src\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(63): fatal error C1017: invalid integer constant expression
      
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.EXE"' : return code '0x2'
      Stop.
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      del qbitarray.obj  qbuffer.obj  qcryptographichash.obj  qfilesystementry.obj  qfilesystemengine.obj  qfilesystemengine_win.obj  qfilesystemiterator_win.obj  qfsfileengine.obj  qfsfileengine_iterator.obj  qarraydata.obj  qbytearray.obj  qvsnprintf.obj  qbytearraymatcher.obj  qdatetime.obj  qdir.obj  qdiriterator.obj  qfiledevice.obj  qfile.obj  qtemporaryfile.obj  qabstractfileengine.obj  qfsfileengine_win.obj  qsystemlibrary.obj  qfileinfo.obj  qglobal.obj  qhash.obj  qiodevice.obj  qringbuffer.obj  qdebug.obj  qlist.obj  qlinkedlist.obj  qlocale.obj  qlocale_tools.obj  qlocale_win.obj  qmalloc.obj  qmap.obj  qregexp.obj  qtextcodec.obj  qutfcodec.obj  qstring.obj  qstring_compat.obj  qstringlist.obj  qstringbuilder.obj  qsystemerror.obj  qtextstream.obj  qdatastream.obj  quuid.obj  qvector.obj  qsettings.obj  qlibraryinfo.obj  qvariant.obj  qsettings_win.obj  qmetatype.obj  qxmlstream.obj  qxmlutils.obj  qnumeric.obj  qlogging.obj  qjson.obj  qjsondocument.obj  qjsonparser.obj  qjsonarray.obj  qjsonobject.obj  qjsonvalue.obj
      
      Could Not Find C:\xsdf86\qtbase\qmake\qbitarray.obj
      
      del project.obj main.obj ioutils.obj proitems.obj qmakevfs.obj  qmakeglobals.obj qmakeparser.obj qmakeevaluator.obj qmakebuiltins.obj  makefile.obj unixmake.obj unixmake2.obj mingw_make.obj  option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj  makefiledeps.obj metamakefile.obj xmloutput.obj  msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj  msvc_objectmodel.obj msbuild_objectmodel.obj registry.obj  cesdkhandler.obj
      
      Could Not Find C:\xsdf86\qtbase\qmake\project.obj
      
      del qmake_pch.obj
      
      Could Not Find C:\xsdf86\qtbase\qmake\qmake_pch.obj
      del qmake_pch.pch
      
      Could Not Find C:\xsdf86\qtbase\qmake\qmake_pch.pch
      del qmake.pdb
      
      Could Not Find C:\xsdf86\qtbase\qmake\qmake.pdb
      del qmake.ilk
      Could Not Find C:\xsdf86\qtbase\qmake\qmake.ilk
      del qmake.tds
      Could Not Find C:\xsdf86\qtbase\qmake\qmake.tds
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      cl -c -Fo./ -Fdqmake.pdb  -W3 -nologo -O1  /MP /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /Zc:strictStrings /w44456 /w44457 /w44458 /wd4577   -IC:\qt5src\qtbase\qmake -IC:\qt5src\qtbase\qmake\library -IC:\qt5src\qtbase\qmake\generators -IC:\qt5src\qtbase\qmake\generators\unix -IC:\qt5src\qtbase\qmake\generators\win32 -IC:\qt5src\qtbase\qmake\generators\mac -IC:\qt5src\qtbase\qmake\generators\integrity  -IC:\qt5src\qtbase\include -IC:\qt5src\qtbase\include\QtCore -IC:\qt5src\qtbase\include\QtCore\5.6.0 -IC:\qt5src\qtbase\include\QtCore\5.6.0\QtCore  -I..\src\corelib\global -DHAVE_QCONFIG_CPP  -IC:\qt5src\qtbase\mkspecs\win32-msvc2015   -IC:\qt5src\qtbase\tools\shared  -DQT_VERSION_STR=\"5.6.0\" -DQT_VERSION_MAJOR= -DQT_VERSION_MINOR= -DQT_VERSION_PATCH=  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS  -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM  -DUNICODE -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS -c -Yc -Fpqmake_pch.pch -TP C:\qt5src\qtbase\qmake\qmake_pch.h
      qmake_pch.h
      c:\qt5src\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(63): fatal error C1017: invalid integer constant expression
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.EXE"' : return code '0x2'
      Stop.
      Building qmake failed, return code 2
      

      This is not reproducible with

      • Qt 5.5.0 Final, 5.5.1 Final, 5.6.0 Alpha.

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            meermusik Oliver Niebuhr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes