Results 1 to 20 of 34

Thread: Debugger helper

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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.

  2. #2
    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.


  3. #3
    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

  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

    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.


  5. #5
    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

  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

    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.


  7. #7
    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.

  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

    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.


  9. #9
    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

  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

    I'm not sure if it is possible at all but if I were to try, I would take the line the linker complained against and I'd substitute the -lQtXXX entries with proper static equivalents (libQtCored.a or something like that).

    By the way, developping in a static environment compiled in debug mode is... weird Consider developping using dynamic libraries and only do the final link against static-release build of Qt when you give the application to the client.
    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
    May 2009
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugger helper

    Have you tried removing all references to any Visual Studio directories in your system LIB and INCLUDE environment variables?

    I had the same problem, and I solved it by actually deleting those two system variables from Control Panel-->System-->Advanced-->Environment Variables.

    Reference:
    http://www.qtforum.org/post/82495/co...html#post82495

  12. The following user says thank you to FiXXXeR for this useful post:

    razvan.petru (2nd December 2009)

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.