maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Getting a Linux PC set up for Qt Development for N900 - where to start? (https://talk.maemo.org/showthread.php?t=92351)

Xagoln 2014-01-10 23:17

Getting a Linux PC set up for Qt Development for N900 - where to start?
 
Developing apps for N900 seems to me to have been something of a moving target, and in the past there have been several alternative approaches.

I'm keen to make a very simple app, but not sure what's the best way to go about it.

I've taken a look at http://wiki.maemo.org/Category:Qt but a lot of documentation seems out of date, and links to documentation on Nokia's website often no longer work.

What do people currently developing Qt apps for N900 do? I don't need the "latest and greatest" Qt version or anything.

I'm familiar with QT Creator, Scratchbox and MADDE - I even went to the trouble of installing all of them at various points - I'm just not sure which are still useful (and viable).

Thanks

sixwheeledbeast 2014-01-11 00:03

Re: Getting a Linux PC set up for Qt Development for N900 - where to start?
 
I personally used the instructions below to install the SDK in a Debian VM.
http://wiki.maemo.org/Documentation/...K_Installation

I then create whatever in QtCreator, build a .deb and scp it to my N900 for testing purposes.

Xagoln 2014-01-11 01:19

Re: Getting a Linux PC set up for Qt Development for N900 - where to start?
 
Ahh, which version of Debian are you running in the VM? Squeeze? I'm running Wheezy on my 'bare metal' (i.e. not virtualised), although if need be I could set up a Squeeze VM...

sixwheeledbeast 2014-01-11 08:45

Re: Getting a Linux PC set up for Qt Development for N900 - where to start?
 
Quote:

Originally Posted by Xagoln (Post 1405554)
Ahh, which version of Debian are you running in the VM? Squeeze? I'm running Wheezy on my 'bare metal' (i.e. not virtualised), although if need be I could set up a Squeeze VM...

Code:

crunch@crunch:~$ cat /etc/debian_version
6.0.6

I use Ubuntu 64-bit and had issues installing scratchbox.
I then noticed someone on the forum used a VM, the rational behind this is you don't update this and avoid potentially damaging your development environment. It seemed Squeeze was the best option when I read up about it.

Also note the warning that the GUI SDK seems broken, IIRC I used the manual instructions.

Halftux 2014-01-11 21:17

Re: Getting a Linux PC set up for Qt Development for N900 - where to start?
 
Quote:

Originally Posted by sixwheeledbeast (Post 1405586)
Also note the warning that the GUI SDK seems broken, IIRC I used the manual instructions.

I faced the same problem gui sdk in linux was not a good idea.

First I used scratchbox on debian squeeze. I could setup everything fine except debhelper. But I wasn't able to make proper packages and send to autobuilder.

On my laptop I running a win7 and need to make some Qt apps for windows. So I decided to install the nokia Qt SDK 1.2.1 (offline version). It was easy to install and easy to make a deployment. The only thing was that you need to change your debian/rules file to work with the autobuilder and add a custom step to create dsc;tar.gz;changes files for the extra assistant.
Now I feel really bad because I develop for linux on windows.
Sometimes it is really frustrating to invest so much time to setup a crosstool compared to the time for writing a small app.


All times are GMT. The time now is 10:00.

vBulletin® Version 3.8.8