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.
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.
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
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
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.
Ok, but debugger helper should be compiled for every application you run within Creator. Isnt't that the case for you?
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
Unfortunately for me it just works... I'm currently running under Linux with Qt 4.5.0 installed.
Did you compile Qt yourself?
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
I built it using the MinGW compiler version 3.4.5. Static build with debugging.
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.
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
Bookmarks