jrbloch
6th June 2006, 23:05
I am using QT4.1.3 and QT Visual Studio Integration with Visual Studio 2003. Everything seems to work fine when I have an application with just one form, but when I try to add new dialogs to my project, I am running into problems.
When I create a new QT Application in VS2003, I get a default form with corresponding ui,cpp,h files and everything works fine. I can add a button to my form, and I can double click on this button to have an event handler automatically generated. That is great and that is what I expect, but when I go add a new form to my project, the only file that is generated is the ui file. How do I get the cpp and h files? Also, when I add a button to this new dialog and then double click on it in the designer, I don't get my auto generated event handler like I did in the main form. I would expect that when I add a new dialog to my project, I should get the same files generated that are generated for the main form. What am I doing wrong?
When I create a new QT Application in VS2003, I get a default form with corresponding ui,cpp,h files and everything works fine. I can add a button to my form, and I can double click on this button to have an event handler automatically generated. That is great and that is what I expect, but when I go add a new form to my project, the only file that is generated is the ui file. How do I get the cpp and h files? Also, when I add a button to this new dialog and then double click on it in the designer, I don't get my auto generated event handler like I did in the main form. I would expect that when I add a new dialog to my project, I should get the same files generated that are generated for the main form. What am I doing wrong?