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

qmake creates faulty vs2010 projects when using the /Fd option in QMAKE_CXXFLAGS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.7.0
    • Build tools: qmake
    • None
    • QMAKESPEC=win32-msvc2010
    • 989f1f5b6008f0ce6064bf3991c776c4165a7ee3

    Description

      in .pro project files i'm specifying the directory for .pdb files via

      QMAKE_CFLAGS += /Fd$(IntDir)
      QMAKE_CXXFLAGS += /Fd$(IntDir)

      the .vcxproj created from that show a setting for "Forced Include File" that are a copy of the /Fd setting (although /FI is not used in the .pro files):

      $(IntDir);%(ForcedIncludeFiles)

      this causes compilation via vs2010 to fail

      bug is apparently caused by a missing "break" in http://qt.gitorious.org/qt/qt/blobs/4.7/qmake/generators/win32/msbuild_objectmodel.cpp :

      571 case 'd':
      572 ProgramDataBaseFileName += option+3;
      573 case 'I':
      574 ForcedIncludeFiles += option+3;
      575 break;

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            ralf ralf jork
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes