Create your main in a separate file
To Have an app running and entering the Qt event loop:
Qt Code:
int main(int argc, char* argv[]) { YourClass inst; inst.show(); return app.exec(); }To copy to clipboard, switch view to plain text mode
See the doc and Qt demo for the basics.
Bookmarks