Results 1 to 20 of 34

Thread: Debugger helper

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugger helper

    That's what the helper is for. You can also google for some helper scripts for gdb which do the same. Nevertheless the code should compile.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    I am trying to run creator on Windows. Would that make a difference? I'm open to any reason you might think of that I could be getting the errors I'm getting. The output log I posted earlier was just a SMALL part of the 30KB file that was produced when I tried to compile it.

    Is anyone else having this problem?

    Thanks

  3. #3
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    Okay, it seems to be a Windows thing. I was able to compile Debugger Helper under CentOS Linux just fine. So, since I'm developing under windows, what do I need to do to have Debugger Helper compile under Windows?

    Thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugger helper

    Does this happen for every application?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    No, I'm working on several applications using Qt Creator and all of them compile fine under Windows. One of the applications uses XML, SQL, threads, GUI and it has no problem what so ever. The only app that I've had this trouble with is Debugger Helper.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugger helper

    Ok, but debugger helper should be compiled for every application you run within Creator. Isnt't that the case for you?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    Okay, I think I'm missing something here. Let me explain what I'm doing and then you might be able to see what I'm doing wrong. If you could, could you walk me through what I'm supposed to do to Compile Debugger helper after you read this?
    Let's say I have a program that I'm writing called "Hello World". I open Qt Creator and start a new project. I tell the wizard that I don't want a GUI, it's a Qt4 Console App. After I write my code I go to Tools -> Options-> Qt4-> Qt Versions and I have an entry in the table called Auto-detected with a valid path to my Qt build and a red "X" under the Debugger Helper column. So, I browse until I find my MinGw Directory and then I click the "Rebuild" button. When it finishes, I still have a red "X" in the Debugger Helper column and I click the "Show Log" button and there are hundreds and hundreds of "undefined reference" errors.

    I have done this same process for each of the applications I'm building and the result is always the same.

    Thanks

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugger helper

    Unfortunately for me it just works... I'm currently running under Linux with Qt 4.5.0 installed.

    Did you compile Qt yourself?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    As I said in an earlier post, I was able to compile it fine under Linux. However, I am trying to compile it under Windows XP, service pack 3, using Qt 4.5.1. I'm wondering if it cannot be compiled under Windows XP, (or any windows for that matter). Has anyone been able to compile Debugger Helper under Microsoft Windows at all and, if so, how did you do it?

    Thanks

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugger helper

    But how did you install Qt on Windows?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  11. #11
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    I built it using the MinGW compiler version 3.4.5. Static build with debugging.

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugger helper

    Then probably the static nature of your Qt bundle is causing the trouble. It seems the compilation can't access your Qt libs using -lQtCored and -lQtGuid. You might try compiling the helper manually substituting the faulty compiler call with a hand-crafted proper one.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  13. #13
    Join Date
    Dec 2006
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    First off, let me say something that I should have said earlier...thank you for your help with all this. I do appreciate the time your taking to help me fix this. I also think you're probably right about the static install. I have to confess, however, that I'm a little confused on how to create a proper compiler call. Could you give me an example of something like what you're talking about?

    Thanks again

Similar Threads

  1. QT IDE and Debugger
    By onefootswill in forum Newbie
    Replies: 16
    Last Post: 25th July 2008, 20:39
  2. Need Qt IDE with Debugger
    By rajeshs in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 12:21
  3. On windows: MinGW + Qt + Which Debugger?
    By Dwarf007 in forum Newbie
    Replies: 8
    Last Post: 12th July 2006, 19:21
  4. Usage of the Debugger!!
    By Kapil in forum Qt Programming
    Replies: 9
    Last Post: 20th April 2006, 04:48

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
  •  
Qt is a trademark of The Qt Company.