Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
2.2.1
-
None
-
Visual Studio 2015 Update 1, Windows 10
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)