Results 1 to 3 of 3

Thread: [Qt 4.4 + Eclipse] My QT lib makes me crash ( 0xc0000005 )

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default [Qt 4.4 + Eclipse] My QT lib makes me crash ( 0xc0000005 )

    Hey there,

    I'm starting a new project built around the following approach:

    LIB_ITEM - A QT library of widgets.
    CORE_PROGRAM - The Core of the program using that Qt library.

    * Inside of my LIB_ITEM I have a widget declared as qtBox, it does nothing except having a ctor + dtor.
    * Inside of my CORE_PROGRAM I declare a widget which inherits of qtBox.

    Now, for some reason when running my CORE_PROGRAM :

    -> If I provide the lib DLL, I get a crash before the main is even reached.
    -> If I don't provide the lib DLL, I get a symbol's missing crash.
    -> If I don't inherit and use the lib, it doesn't crash.

    What bugs me is the fact that even if I don't do anything in my main, the program still crashes when linked to my LIB_ITEM.

    Any idea ?
    Last edited by bunjee; 13th August 2008 at 17:57.

Similar Threads

  1. Gnome makes application crash
    By regix in forum Qt Programming
    Replies: 35
    Last Post: 18th August 2006, 19:44

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.