Thread: [Fremantle Maemo5+Harmattan Maemo6] Fremantle and Harmattan QtSDK and scratchbox VM
View Single Post
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#29
Originally Posted by mr_pingu View Post
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?
I am sorry I did not much with the QtCreator for linux because I mainly used scratchbox on my Debian PIII 1GHz laptop. Hence I would guess this is the standard installation from QtCreator and this could mean that there is no emulator for maemo installed.
When I remember right on my windows QtCreator installation I needed to install additional packages for the emulator.
Sadly the nokia QtCreator packages repository is down and you can't install any additional packages.

So you could use a real N900 connected to the sdk.
Or you could compile under scratchbox for x86 and run your app with the output to Xephyr.
Or find an older QtCreator full setup which is only for maemo, it could be that the emulator is included (I will look and see if I could implement it in the VM image, but atm I am very busy).

Xephyr procedure:

Terminal 1:

Code:
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
Terminal 2:

Code:
/scratchbox/login
sb-conf se FREMANTLE_X86
export DISPLAY=:2
af-sb-init.sh start
(after nothing happens anymore ctrl+c)
run your previously compiled app ./helloworld
to exit:
af-sb-init.sh stop
exit

Last edited by Halftux; 2016-12-21 at 13:08. Reason: removed -kb from Xephyr command
 

The Following 2 Users Say Thank You to Halftux For This Useful Post: