for beginners, its better you install the free visual studio Qt addin from qtsoftware, and use it to add a gui (form) class to your project.
for beginners, its better you install the free visual studio Qt addin from qtsoftware, and use it to add a gui (form) class to your project.
I just use a build rule file containing build rules for MOC, UIC and RCC. It is setup so that whenever I add a *.ui or *.qrc file to a project, the proper build rule is set automatically.
See the attached zip file for my 'build rules' file. You can add this file to visual studio using Project-->Custom Build Rules...-->Find Existing...
Note that the build rules requires the QTDIR environment variable to be set.
Bookmarks