Compiling Qt code on Ubuntu 10.04
-
hello,
I have a piece of code that was created and successfully compiled using Qt on Windows 7, I've been trying to compile the very same code on my Ubuntu 10.04 distribution, unfortunately I keep getting the following error:
"Error while building project untitled (target: Desktop) When executing build step 'qmake' ".I have been told that I need to set the environment variables and qmake through the Qt command line, but I'm sort of lost on how to do that, can someone refer me any online tutorial or anything like that ? maybe the Linux command set that I need to execute ? I've tried looking at the Qt website but I couldn't find anything related to this... I don't remember having to do such a thing when I first installed Qt on Windows.
Thanks for the help, much appreciated.
-
have a look at the "Installation guide":http://developer.qt.nokia.com/doc/qt-4.7/install-x11.html
And here is "ubuntu specific information":https://help.ubuntu.com/community/EnvironmentVariables.
-
How did you instal Qt on your ubuntu?
The easiest way is to use your package manager and look for qt sdk. Normally all paths will be set that way. -
In my Slackware 13.37 :
@
./configure
make
make install
@