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

False moc output warnings in VS2013?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.3.1
    • Build tools: moc
    • None
    • Windows 8.1, x64_opengl, Visual Studio Integration 1.2.3, Qt 5.3.1, Visual Studio 2013 with Update 1.

    Description

      I get warnings like this:

      8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(935,5): warning MSB8027: Two or more files with the name of moc_SceneManagerPlugin.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are GeneratedFiles\Debug\moc_SceneManagerPlugin.cpp, GeneratedFiles\Release\moc_SceneManagerPlugin.cpp.

      I compile with Visual Studio 2013, x64_opengl on Windows 8.1 and also use the latest Visual Studio Integration 1.2.3 that also supports VS2013.

      I somehow think this is a false warning though and it is probably not a Qt warning, but still, I never had this before. It is the first time using Qt with VS2013 though.

      But as you can see it actually mentions two different files output to two different locations, so how can they have conflicts?

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            buckshag John van der Burg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes