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

Building lrelease fails with msvc2010

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.1
    • 5.4.0
    • Tools: Linguist
    • None
    • Windows 7 64bits, MSVC2010 from Windows SDK 7.1
    • 7ae0a0a364021e248b6442c23df917529676b2aa

    Description

      Buiding Qt 5.4.0 from source, an error occurs for QtLinguist :

      cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_INIT_PROPS -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DNDEBUG -I"..\shared" -I"D:\Products\Qt\5.4.0\qtbase\include\QtCore\5.4.0" -I"D:\Products\Qt\5.4.0\qtbase\include\QtCore\5.4.0\QtCore" -I"D:\Products\Qt\5.4.0\qtbase\include" -I"D:\Products\Qt\5.4.0\qtbase\include\QtXml" -I"D:\Products\Qt\5.4.0\qtbase\include\QtCore" -I".moc\release" -I"D:\Products\Qt\5.4.0\qtbase\mkspecs\win32-msvc2010" -Fo.obj\release\ @C:\Users\REMI~1.FAI\AppData\Local\Temp\nm6698.tmp
      numerus.cpp
      translator.cpp
      translatormessage.cpp
      qm.cpp
      qph.cpp
      po.cpp
      ts.cpp
      xliff.cpp
      ioutils.cpp
      qmakevfs.cpp
      proitems.cpp
      qmakeglobals.cpp
      qmakeparser.cpp
      qmakeevaluator.cpp
      ..\shared\proitems.cpp(419) : fatal error C1001: An internal error has occurred in the compiler.
      (compiler file 'msc1.cpp', line 1420)
       To work around this problem, try simplifying or changing the program near the locations listed above.
      Please choose the Technical Support command on the Visual C++ 
       Help menu, or open the Technical Support help file for more information
      Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\cl.EXE.  You will be prompted to send an error report to Microsoft later.
      INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\cl.EXE'
          Please choose the Technical Support command on the Visual C++
          Help menu, or open the Technical Support help file for more information
      cl : Command line error D8040 : error creating or communicating with child process
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\cl.EXE"' : return code '0x2'
      

      The issue seems similar as QTBUG-42064. Copying the fixed source qtbase\qmake\library\proitems.cpp over qttools\src\linguist\shared\proitems.cpp solved the issue for me.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              remi.faitout Remi Faitout
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes