Generating Header and CPP file from .ui file in Visual Studio 2008
I am currently working in a simulator project. And I have got an Open-Source C++ project. So in that project, I have a .ui file made in Qt 3.3. Along with it, I have some Generated .h and .cpp files included in that Visual Studio Project. Now when I change any of .ui, generated .h, or generated .cpp file, then that solution stop working. So now, I am making my own .ui file using Qt 4.8. My question is that how to include it in Visual Studio 2008 project. Or how to generate .h and .cpp file from .ui file?
Thanks for your support.
If you use the MSVS integration, there are custom build steps for the ui files, which are done automatically for Qt projects. If you are working without MSVS integration, you can use the tool uic to build the .h file. More information can be found in the documentation here [doc.qt.nokia.com]