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

Compilation fails on DirectWrite using Win7/MSVC2010.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0 Beta 1
    • GUI: Font handling
    • None
    • Windows 7 x64 Build 7601 SP1
      MSVC2010 Ultimate SP1
      (NMAKE) Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
      (LINK) Microsoft (R) Incremental Linker Version 10.00.40219.01
    • fcef238d3cd7ba99c15835788be1e90b3618bf25

    Description

      Compilation of Qt5.0.0 Alpha from "qt-everywhere-opensource-src-5.0.0-alpha" fails with error:

      qfontenginedirectwrite.cpp
      text\qfontenginedirectwrite.cpp(524) : error C2440: 'Initialisierung': 'const uint *' kann nicht in 'uint *' konvertiert werden
              Durch die Konvertierung gehen Qualifizierer verloren
      qfont_qpa.cpp
      qfontengine_qpa.cpp
      qplatformfontdatabase_qpa.cpp
      qrawfont_qpa.cpp
      Code wird generiert...
      NMAKE : fatal error U1077: ""c:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\cl.EXE"": Rückgabe-Code "0x2"
      Stop.
      NMAKE : fatal error U1077: ""c:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
      Stop.
      NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
      Stop.
      NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
      Stop.
      {/code}
      Sorry for the german message, a rough translation: "error C2440: 'initialization': 'const uint *' can not be converted to 'uint *' 
              Quantifiers are lost through conversion"
      
      My configure command was:
      

      configure.bat -opensource -confirm-license -nomake tests -prefix %CD%/qtbase -debug -shared -no-ltcg -no-fast -nomake demos -nomake examples -exceptions -accessibility -stl -qt-sql-sqlite -qt-sql-mysql -opengl desktop -platform win32-msvc2010 -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -dsp -vcproj -incredibuild-xge -plugin-manifests -qmake -process -rtti -mmx -no-3dnow -sse -sse2 -openssl -directwrite -native-gestures -mp -I "C:\QT\sqlite-amalgamation-3071100" -I "C:\QT\openssl\include" -L "C:\QT\openssl\lib" -I "C:\QT\mysql\include" -L "C:\QT\mysql\lib\opt" -l libmysql

      {/code}

      All of the provided directories contain the appropriate files.

      I'm sorry for selecting Core: Other as Component, I was unsure what Component DirectWrite is a part of.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            philipp_berger Philipp Berger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes