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

REG: moc steps broken in vcxproj files with CONFIG -= flat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.4.0 Beta
    • 5.4.0 Beta
    • Build tools: qmake
    • None
    • win64, windows 8
    • e5a8134765cdc69ba916416166f4d416137e2ffc

      I think the results of https://bugreports.qt-project.org/browse/QTBUG-30373 (definitely could be wrong about this, it was merged in on 2014-09-30 I think)
      caused the vcxproj generation to no longer create custom build steps like:

          <CustomBuild Include="FILE.hpp">
            <AdditionalInputs Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|x64&apos;">FILE.hpp;%(AdditionalInputs)</AdditionalInputs>
            <Command Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|x64&apos;">C:\Qt\Qt5.4.0_Beta_S\5.4\msvc2013_64\bin\moc.exe ...
      

      in the latest snapshot it simply creates:

        <ItemGroup>
          <ClInclude Include="FILE.hpp" />
        </ItemGroup>
      

      my qmake step is:
      "qmake -spec win32-msvc2013 -tp vc -r"

      The 5.4-alpha did not show this behaviour.

      Snapshot: qt-opensource-windows-x86-msvc2013_64-5.4.0-beta_2014-10-01_10-00-08-30

      Update: See attached file for example .pro.

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

            jbornema Joerg Bornemann
            lmv Luke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes