[Qt-interest] How to add a dialog to a project?
Piotr Dobrogost
pd at 2009.gmane.dobrogost.pl
Fri May 22 23:42:35 CEST 2009
Hi
I'm taking an elearning course about Qt Designer on elearning.ics.com.
The problem is I have Qt Creator instead of Qt Designer what makes
things slightly different than in the course where they use Qt Designer.
For example in Qt Creator I can't run a dialog by pressing ctrl+r as in
Qt Designer. I guess I have to make a project first. So I created a
project but now I'm straggling with adding a dialog to it. I created a
dialog and added it's .ui file to the project but to be able to run it
instead of the main form I have to have a header file. I'm going to
include this header file into main.cpp instead of mainwindow.h and
create my dialog instead of the default
MainWindow w;
w.show();
How do I create such a header?
Do things which I'm doing have any sense?
--
Piotr Dobrogost
*** curlpp.org - c++ wrapper for libcurl ***
More information about the Qt-interest-old
mailing list