Results 1 to 2 of 2

Thread: Creator/debugging

  1. #1
    Join Date
    Sep 2008
    Location
    Falmouth, MA, USA
    Posts
    34
    Thanks
    4
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Creator/debugging

    I am trying to use a dll compiled using minGw in debug mode, in an application I wrote using QT Creator/minGW. Windows XP, QT 4.5.2, Creator 1.2

    When I try and run the app inside of creator, it exists with the followign error message:

    exited with code -1073741515

    When I try and debug the application inside of Creator, it just hangs--I get a message that says "running requested" and then "Gdb running" in the status bar below the edit window--but nothing happens. My process is not shown in the task manager.

    When I start a windows shell with the correct QT paths set, etc, and start my app from the command line, everything runs just fine.

    When I remove the lib from my .pro file, and from the code, the code debugs and works just fine.

    My suspicion is that I've got some kind of mismatch between debug and release versions of libraries, but I think its debug all the way--

    any ideas?

    Jonathan Howland

  2. #2
    Join Date
    Feb 2010
    Posts
    52
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default Re: Creator/debugging

    I think this error code is an indication that the dll can not be found. Is your dll located in the debug directory of your project ? If not, try putting a copy there. Also check that the working directory setting of your projects run settings in qt creator is correctly pointing to the debug directory.
    Hope this helps,
    Chris.

  3. The following user says thank you to chris_helloworld for this useful post:

    jhowland (21st October 2010)

Similar Threads

  1. qt creator debugging helper
    By banita in forum Qt Tools
    Replies: 1
    Last Post: 15th October 2010, 20:50
  2. qt creator debugging problem
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2009, 22:10
  3. Debugging in QT Creator
    By cae in forum Qt Tools
    Replies: 6
    Last Post: 16th November 2009, 13:45
  4. Qt Creator debugging trouble on Mac OS
    By johnmidd in forum Qt Tools
    Replies: 5
    Last Post: 6th November 2009, 13:34
  5. debugging in QT Creator
    By talk2amulya in forum Qt Tools
    Replies: 3
    Last Post: 22nd February 2009, 07:50

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