Results 1 to 4 of 4

Thread: Seg faults in windows

  1. #1
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Seg faults in windows

    My app runs very well under X11.
    But in Windows,after compiling with mingw, it fires a seg faults.
    Now, neither gdb is useful because when I type bt, it says "no stack available".
    Does anyone a suggestion for me?

  2. #2
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Seg faults in windows

    Something really strange happens in windows.
    I cannot run a qt application anymore. Always I get a seg fault before the app starts.
    Somebody can tell me how I can find the root of this strange problem?
    Thanks

  3. #3
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Seg faults in windows

    I try to debug the software in gdb.
    And I get (after typing run)

    You can't do that without a process to debug.


    It seems that my app is not loaded neither

    Any help appreciated...

  4. #4
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Seg faults in windows:SOLVED

    As for other things. my errors are quite simple....
    I mistaken a line in the .pro file

    DEFINE += QWT_DLL

    should be

    DEFINES += QWT_DLL

Similar Threads

  1. Opening text file fails after autostartup on windows
    By yogourta in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2008, 03:52
  2. Linking problems with QT4 under Windows
    By Ancalagon in forum Qt Programming
    Replies: 2
    Last Post: 8th September 2008, 13:29
  3. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  5. MDI windows without QWorkspace
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 16th June 2006, 17: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.