Details
Description
When creating a new Qt Application, a header file is generated which contains the derived QMainWindow class. The moc command associated with this file refers directly to the file instead of using %(fullPath). This causes a moc error when moving the file to a subdirectory. It's no big deal, but should be corrected.
Steps:
- create new project "qttest1"
- select Qt Application, use default settings
- watch properties of generated qttest1.h (containing the QMainWindow)
- select "custom build tool"
- command line says: "$(QTDIR)\bin\moc.exe" <defines> <includes> "qttest1.h" <output>
- command line should say: "$(QTDIR)\bin\moc.exe" <defines> <includes> "%(fullPath)" <output>