Results 1 to 2 of 2

Thread: Please help, can not compile

  1. #1
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Please help, can not compile

    Hello,

    i get following error message..

    I have designed a MainWindow with the designer and run following:
    qmake -project
    qmake
    make
    Errror:
    Qt Code:
    1. d:\apps\Qt\4.4.0\lib/libqtmain.a(qtmain_win.o)(.text+0x26):qtmain_win.cpp: undef
    2. ined reference to `__gxx_personality_sj0'
    3. d:\apps\Qt\4.4.0\lib/libqtmain.a(qtmain_win.o)(.text+0x156):qtmain_win.cpp: unde
    4. fined reference to `qMain(int, char**)'
    5. collect2: ld returned 1 exit status
    6. mingw32-make[1]: *** [release\SV.exe] Error 1
    7. mingw32-make[1]: Leaving directory `W:/1Data/Public/Temp/SV'
    8. mingw32-make: *** [release] Error 2
    To copy to clipboard, switch view to plain text mode 
    Think DigitalGasoline

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Please help, can not compile

    Did you implement main() somewhere in your application?
    J-P Nurmi

Similar Threads

  1. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  2. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  3. Use VC2005 to compile Qt program (4.3.0)
    By firegun9 in forum Qt Programming
    Replies: 3
    Last Post: 8th June 2007, 16:04
  4. Compile Errors
    By luffy27 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 05:26
  5. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 19:15

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.