maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [M5+M6] Fremantle and Harmattan QtSDK and scratchbox VM (https://talk.maemo.org/showthread.php?t=95806)

Halftux 2016-04-26 17:26

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
For changing language and keyboard I would suggest:

Open terminal console and login as su.

Code:

dpkg-reconfigure locales
and

Code:

dpkg-reconfigure console-data

Halftux 2016-09-13 13:46

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
To be able to download from the maemo repository from scratchbox you need to edit the resolv.conf:

Inside scratchbox by typing nano /etc/resolv.conf
Outside scratchbox /scratchbox/etc/resolv.conf

You need to change both!

mr_pingu 2016-11-16 16:11

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Is the GCC472 target 'thumb'?
Why resolv.conf has to be edited and into what?

Having hopes to get something done for the CC (:

Halftux 2016-11-16 17:02

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by mr_pingu (Post 1518846)
Is the GCC472 target 'thumb'?

Atm it is not for cssu thumb configured but you could make one out of it.

1. install sb-thumb-errata-provider_0.1-1_armel.deb
2. edit the source.list; update and upgrade system
3. install libstdc++6-dev_4.7.2-0+cssu0_armel.deb

Or you could create a new target in scratchbox look here.

Quote:

GCC 4.7.2 does not produce thumb binaries by default, you should pass -mthumb if you want thumb resulting executables! without -mthumb it produces regular ARM ELFs

Quote:

Originally Posted by mr_pingu (Post 1518846)
Why resolv.conf has to be edited and into what?

The resolv.conf should have a valid DNS server. If dhcp was succesful you should have a valid DNS server in the normal resolv.conf. Then you need to make the resolv.conf from scratchbox equal to the normal one.

Quote:

Originally Posted by mr_pingu (Post 1518846)
Having hopes to get something done for the CC (:

Thumbs up!

shubell 2016-11-24 14:46

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
if anyone needs a torrent ;)
Magnet link

torrent

mr_pingu 2016-11-27 22:35

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Another mirror incoming.

Dropbox

mr_pingu 2016-12-21 08:54

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
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?

mr_pingu 2016-12-21 08:54

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
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?

Halftux 2016-12-21 11:25

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by mr_pingu (Post 1520853)
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

mr_pingu 2016-12-21 13:30

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by Halftux (Post 1520859)
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

Thanks, now I have insight why it doesn't work. I will give it another shot and see if I can extract maemo emulator from one of these offline installers:
ftp://ftp.informatik.hu-berlin.de/pu...l.no/QT/qtsdk/


All times are GMT. The time now is 17:01.

vBulletin® Version 3.8.8