Active Topics

 


Reply
Thread Tools
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#1
Okay, I want to write my Qt 4.6 code in Qt designer on windows and then compile the code in the maemo SDK vmware virtual machine image.

How can i do this? I have spent hours trying to get it to work. I can get Qt 4.5 to work, no problem.
But then i try to follow this guide: http://wiki.maemo.org/Qt4Hildon
And then do:
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get update
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get remove libqt4*
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get install libqt4-maemo5-dev

I can not run qmake anymore.. Its just an unkown command..
How to get it to work ?

And another thing.. Xephyr fails using the commands in that guide.. Something about d-bus daemon not running..

Last edited by tmsha; 2010-01-27 at 03:03.
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#2
The reason why qmake doesn't run when you type just 'qmake' is because with 4.6 it is installed in /opt/qt4-maemo5/bin/qmake which is not in PATH environment variable. So you can either add the folder /opt/qt4-maemo5/bin/ to your PATH, or always type '/opt/qt4-maemo5/bin/qmake' instead of 'qmake', or make symbolic link 'ln -s /opt/qt4-maemo5/bin/qmake /usr/bin/qmake' so you can just type 'qmake'.
 

The Following 3 Users Say Thank You to TNiga For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:54.