Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-561

Failed to build exported pro file by Qt VS Tools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • 3.0.1
    • 2.2.1
    • Build-time integration
    • None
    • Visual Studio 2015 Update 1, Windows 10
    • Windows

    Description

      By Qt VS Tools 2.2.1, I exported my VS project and open it with QtCreator. But When building, I got an error message, "Error: dependent 'GeneratedFiles
      moc_QtGuiApplication1.cpp' does not exist.". Note that there are two backslashs which leads the error. After looking into the exported pro file, I found the line below.

      MOC_DIR += ./GeneratedFiles/$(ConfigurationName)

      The macro, $(ConfigurationName), owns just a backslash. After modifying the line by removing the outter backslash, the exported project can be built successfully.

      MOC_DIR += ./GeneratedFiles$(ConfigurationName)

       

       

      Attachments

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

        Activity

          People

            heimrich Karsten Heimrich
            surka surka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes