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

Static Build error MSVC 2015

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.2
    • 5.5.0, 5.5.1, 5.6.0
    • None
    • Windows 7 and windows 10, MSVC 2015 64bit versions
    • 678e427948e03119e7496192d26facc7d94e9d16

    Description

      Called with

      CALL ..\%folder%\configure -developer-build -confirm-license -debug-and-release -opensource -platform %QMAKESPEC% -opengl desktop -static -nomake examples -nomake tests -c++11 -mp -fontconfig -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -direct2d
      

      where QMAKESPEC is win32-msvc2015

      Here is the output of the static build attempt:

      pData\Local\Temp\nmF860.tmp
      qnetworksession_impl.cpp
              cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPTIONS=0 -MP -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE -DWIN32 -DWIN64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -IC:\Qt\Qt5.6.1_src\qtbase\src\plugins\bearer\nativewifi -I. -I..\..\..\..\include\QtNetwork\5.6.2 -I..\..\..\..\include\QtNetwork\5.6.2\QtNetwork -I..\..\..\..\include\QtCore\5.6.2 -I..\..\..\..\include\QtCore\5.6.2\QtCore -I..\..\..\..\include -I..\..\..\..\include\QtNetwork -I..\..\..\..\include\QtCore -I.moc\release -IC:\Qt\Qt5.6.1_src\qtbase\mkspecs\win32-msvc2015 -Fo.obj\release\ @C:\Users\Benner\AppData\Local\Temp\nmFBAC.tmp
      moc_qnativewifiengine.cpp
      moc_qnetworksession_impl.cpp
      moc_qbearerengine_impl.cpp
              lib /NOLOGO  /OUT:..\..\..\..\plugins\bearer\qnativewifibearer.lib @C:\Users\Benner\AppData\Local\Temp\nmFF28.tmp
              cd platforms\ && ( if not exist Makefile C:\Qt\Qt5.6.1_64_VS2015\qtbase\bin\qmake C:\Qt\Qt5.6.1_src\qtbase\src\plugins\platforms\platforms.pro -o Makefile ) && nmake -f Makefile
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23918.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              cd minimal\ && ( if not exist Makefile C:\Qt\Qt5.6.1_64_VS2015\qtbase\bin\qmake C:\Qt\Qt5.6.1_src\qtbase\src\plugins\platforms\minimal\minimal.pro -o Makefile ) && nmake -f Makefile
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23918.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              nmake -f Makefile.Debug all
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23918.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              C:\Qt\Qt5.6.1_64_VS2015\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/Qt5.6.1_src/qtbase/mkspecs/win32-msvc2015 -IC:/Qt/Qt5.6.1_src/qtbase/src/plugins/platforms/minimal -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtPlatformSupport -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtPlatformSupport/5.6.2 -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtPlatformSupport/5.6.2/QtPlatformSupport -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtGui/5.6.2 -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtGui/5.6.2/QtGui -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtGui -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtCore/5.6.2 -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtCore/5.6.2/QtCore -IC:/Qt/Qt5.6.1_64_VS2015/qtbase/include/QtCore -I. C:\Qt\Qt5.6.1_src\qtbase\src\plugins\platforms\minimal\main.cpp -o .moc\debug\main.moc
              cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -Zi -MDd -D_HAS_EXCEPTIONS=0 -MP -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 /Fd..\..\..\..\plugins\platforms\qminimald.pdb -DUNICODE -DWIN32 -DWIN64 -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -IC:\Qt\Qt5.6.1_src\qtbase\src\plugins\platforms\minimal -I. -I..\..\..\..\include -I..\..\..\..\include\QtPlatformSupport -I..\..\..\..\include\QtPlatformSupport\5.6.2 -I..\..\..\..\include\QtPlatformSupport\5.6.2\QtPlatformSupport -I..\..\..\..\include\QtGui\5.6.2 -I..\..\..\..\include\QtGui\5.6.2\QtGui -I..\..\..\..\include\QtGui -I..\..\..\..\include\QtCore\5.6.2 -I..\..\..\..\include\QtCore\5.6.2\QtCore -I..\..\..\..\include\QtCore -I.moc\debug -IC:\Qt\Qt5.6.1_src\qtbase\mkspecs\win32-msvc2015 -Fo.obj\debug\ @C:\Users\Benner\AppData\Local\Temp\nm7DF.tmp
      main.cpp
      qminimalintegration.cpp
      qminimalbackingstore.cpp
      C:\Qt\Qt5.6.1_src\qtbase\src\plugins\platforms\minimal\qminimalintegration.cpp(117): error C2061: syntax error: identifier 'QGenericUnixFontDatabase'
      NMAKE : fatal error U1077: 'D:\MSVS\VC\BIN\amd64\cl.EXE' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'D:\MSVS\VC\BIN\amd64\nmake.EXE' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      

      Attachments

        Issue Links

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

          Activity

            People

              rafaelroquetto Rafael Roquetto
              Ben Godding Benjamin Godding
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes