It looks like you have the development headers installed properly if you're getting to the linking stage.
My guess is that you need to run ldconfig in the directory where the qt libraries have been installed. I'm not sure where that is on Ubuntu, but if you install QT from source it's /usr/local/Trolltech/QT-version/lib
You might try looking there, or use the locate command to find QtGui_debug. If you find it, run ldconfig in that directory and that should help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having a similar problem. When I run qmake, nothing appears to happen - no output at all - and then when I run make I get errors beginning from the following line:
I'm a little surprised to see the references to qt3 given that I understand it is qt4 that is needed. I don't have qt3 installed - perhaps I should try doing so? (I'm a bit clueless when it comes to compiling programs, so any help is very welcome!)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Solved it. If you have both qt3 and qt4 installed on your system then you need to use the command qmake-qt4 rather than just qmake. Then it compiles fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Error message:
/usr/bin/ld: cannot find -lQtGui_debug
I have installed qt4-dev-tools, qt4-designer.
Only qt4 is installed on my machine, running Ubuntu 6.10 beta.
Any suggestions would be appreciated. :-)
It looks like you have the development headers installed properly if you're getting to the linking stage.
My guess is that you need to run ldconfig in the directory where the qt libraries have been installed. I'm not sure where that is on Ubuntu, but if you install QT from source it's /usr/local/Trolltech/QT-version/lib
You might try looking there, or use the locate command to find QtGui_debug. If you find it, run ldconfig in that directory and that should help.
You may want to install libqt4-debug-dev package.
I'm having a similar problem. When I run qmake, nothing appears to happen - no output at all - and then when I run make I get errors beginning from the following line:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o BasicEdit.o BasicEdit.cpp
I'm a little surprised to see the references to qt3 given that I understand it is qt4 that is needed. I don't have qt3 installed - perhaps I should try doing so? (I'm a bit clueless when it comes to compiling programs, so any help is very welcome!)
Solved it. If you have both qt3 and qt4 installed on your system then you need to use the command qmake-qt4 rather than just qmake. Then it compiles fine.