Results 1 to 9 of 9

Thread: On windows: MinGW + Qt + Which Debugger?

  1. #1
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default On windows: MinGW + Qt + Which Debugger?

    Hello,

    I am using Qt and MinGw under Windows. Which Debugger would you suggest ?
    I tried gdb but I didn't really managed to use it (to complicate?)

    Thanks in advance for your suggestions!
    Daniel
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    Quote Originally Posted by Dwarf007
    I am using Qt and MinGw under Windows. Which Debugger would you suggest ?
    I tried gdb but I didn't really managed to use it (to complicate?)
    AFAIK gdb is the only *free* debugger available under M$ Window$ (and any other OS BTW). It is not really complicated as long as you're delaing with simple task. The most common use of gdb is :
    Qt Code:
    1. gdb program_to_debug
    2. run
    3. bt
    4. quit
    To copy to clipboard, switch view to plain text mode 

    Alternatively you can use GUI that interfaces between gdb and you. Dev-Cpp and Code::Blocks has such features but they need the projects to be compiled with their projet files formats (which don't support Qt very well). If you someway managed to make Dev-Cpp or Code::Blocks debug your Qt app please let me know : all my attempts to use them for debugging have failed...
    Last edited by fullmetalcoder; 8th July 2006 at 16:12.
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    i used eclipse cdt as IDE on windows; it has a gui for gdb too (just like Dev-Cpp and Code::Blocks)

    http://www.eclipse.org/cdt/

    edit: and it event worked for me (i didn't try dev-cpp or code::blocks)

  4. #4
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    Eclipse would be really nice (notice the 'would') if it wasn't written in JAVA... Such a language choice implies big an slow applications, which can't be good for business, especially when your PC is 5 years old and your network connection limited to 56kb/second...
    Current Qt projects : QCodeEdit, RotiDeCode

  5. #5
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    yep, thats true for sure, and its also the reason why i use now KDevelop (which has gdb very nice integraded btw)

    niko

  6. #6
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    Quote Originally Posted by niko
    yep, thats true for sure, and its also the reason why i use now KDevelop (which has gdb very nice integraded btw)
    KDevelop with windows? using cygwin?
    or do you speak about KDevelop under Linux in that case it does not answer my question
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  7. #7
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    no, i'm working now on linux...
    (and on windows i used eclipse - as allready said)

    kdevelop4 probably will work on windows aswell...

  8. #8
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    Quote Originally Posted by niko
    kdevelop4 probably will work on windows aswell...
    Where did you heared that from?
    I went on the kdevelop website and didn`t find any announcement like that
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  9. #9
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: On windows: MinGW + Qt + Which Debugger?

    Where did you heared that from?
    I didn't hear it for kdevelop, but kdelibs are allready ported to windows, and as qt4 is now gpl on win32 it should be possible.
    for example the new build-system kde uses (cmake) was choosen because it works on win32 too.

    so i'm pretty sure we will get kdevelop for windows in some time
    (if this is a good thing or not is a different question...)

    http://dot.kde.org/1151688350/
    http://wiki.kde.org/tiki-index.php?p...Windows%20Port

Similar Threads

  1. using libcurl in QT with Mingw in Windows
    By ct in forum Qt Programming
    Replies: 18
    Last Post: 23rd January 2012, 02:41
  2. qt and mingw can not run on windows 98?
    By evewei in forum Installation and Deployment
    Replies: 4
    Last Post: 26th June 2006, 10:22
  3. MinGW Windows Library Search Path
    By zztop in forum Qt Programming
    Replies: 4
    Last Post: 26th March 2006, 16:18
  4. Installing Qt 4.1 (open source) on Windows XP
    By katrina in forum Installation and Deployment
    Replies: 8
    Last Post: 19th February 2006, 13:26
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 23:33

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.