Results 1 to 4 of 4

Thread: [HELP] window won't show after build

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: [HELP] window won't show after build

    Create your main in a separate file

    To Have an app running and entering the Qt event loop:
    Qt Code:
    1. int main(int argc, char* argv[])
    2. {
    3. QApplication app(argc, argv);
    4. YourClass inst;
    5. inst.show();
    6. return app.exec();
    7. }
    To copy to clipboard, switch view to plain text mode 

    See the doc and Qt demo for the basics.
    Last edited by toutarrive; 9th March 2010 at 16:18.

Similar Threads

  1. show build date in about box
    By glocker50 in forum Qt Programming
    Replies: 12
    Last Post: 3rd May 2015, 22:14
  2. Show advertising window
    By jano_alex_es in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2010, 12:03
  3. Show parent window
    By Qt Coder in forum Qt Programming
    Replies: 7
    Last Post: 8th June 2009, 09:19
  4. How to show a window widget...
    By agent007se in forum Newbie
    Replies: 3
    Last Post: 20th July 2006, 10:42
  5. Not show the progress bars under another window
    By SkripT in forum Qt Programming
    Replies: 6
    Last Post: 13th March 2006, 17:22

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.