Results 1 to 4 of 4

Thread: Starting building QT projects

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Starting building QT projects

    Quote Originally Posted by yogeshgokul View Post
    Thats easy.

    Qt Code:
    1. #include "main.h"
    2. #include <QApplication>
    3. #include "MainWindow.h"
    4.  
    5. int main(int argc, char *argv[])
    6. {
    7. QApplication a(argc, argv);
    8. MainWindow mw;
    9. mw.show();
    10. return a.exec();
    11. }
    To copy to clipboard, switch view to plain text mode 
    thank you, that's what i did, but i get this error:
    C:/Qt/2009.03/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2498: undefined reference to `vtable for MainWindow'

  2. #2
    Join Date
    Sep 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Starting building QT projects

    nevermind, i sorted it out, thank you very much

Similar Threads

  1. Replies: 8
    Last Post: 28th October 2013, 01:08
  2. Eclipse Integration and program not starting
    By Cruz in forum Installation and Deployment
    Replies: 1
    Last Post: 16th January 2009, 22:32
  3. Building debug version under VS2008
    By KenW in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd May 2008, 19:09

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.