maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Development is too hard. Help me - help you. (https://talk.maemo.org/showthread.php?t=46757)

nath 2010-03-12 14:23

Re: Development is too hard. Help me - help you.
 
I'd recommend to get QtCreator and start developing (with Qt 4.6.2) on your desktop. When you've got the application in the state you want, enough time will likely have passed so that PR1.2 is there and you can actually deploy it on your n900 without too much trouble.

cjsegninir 2010-03-12 23:22

Re: Development is too hard. Help me - help you.
 
Quote:

Originally Posted by cjard (Post 564903)
It sounds like you havent compiled the app?

A link to the tutorial youre following would be helful

Thanks for your reply.

I'm following tirtawn tutorial on post 18 on second page of this same thread.

Isn't qmake compiling it?

craftyguy 2010-03-12 23:43

Re: Development is too hard. Help me - help you.
 
Quote:

Originally Posted by nath (Post 565095)
I'd recommend to get QtCreator and start developing (with Qt 4.6.2) on your desktop. When you've got the application in the state you want, enough time will likely have passed so that PR1.2 is there and you can actually deploy it on your n900 without too much trouble.

I've been messing around with QTCreator for the past couple of days (and have the necessary QT-4.6.2 testing libs installed on the N900), however I'm having some serious issues with controls not being rendered properly on the device, and control spacing going all whack. For example, 'push buttons' do not have borders (just display text), text boxes do not display borders (and are thus invisible but you can still select and type in them)

Anyone having these issues? I followed the 'MADDE on windows' tutorial, maybe I missed something?

cjard 2010-03-13 00:30

Re: Development is too hard. Help me - help you.
 
Quote:

Originally Posted by cjsegninir (Post 565578)
Thanks for your reply.

I'm following tirtawn tutorial on post 18 on second page of this same thread.

Isn't qmake compiling it?

qmake, afaiaa, doesnt compile anything, but it makes the Makefile that will be used by make/mingw to compile

For what its worth, when I started out with QtCreator, I just installed the official nokia version, read the example apps and started writing. I don't really know c++ (i'm .net/java), hence you'll find me in irc asking really newbie questions.. but it all seemed to work quite well and painlessly.

Installing MADDE and getting the bugger to work on the n900 was different, but now i'm kinda on with the concept that qmake makes makefiles, and makefiles do the donkey work.. even to perform a clean, I have to qmake, then clean, then build. I usually do these things explicitly because sometimes when I switch config the IDE doesnt realise and builds for the wrong target (this doesnt happen if you have only one target)

cjard 2010-03-13 00:34

Re: Development is too hard. Help me - help you.
 
Quote:

Originally Posted by craftyguy (Post 565598)
I've been messing around with QTCreator for the past couple of days (and have the necessary QT-4.6.2 testing libs installed on the N900), however I'm having some serious issues with controls not being rendered properly on the device, and control spacing going all whack. For example, 'push buttons' do not have borders (just display text), text boxes do not display borders (and are thus invisible but you can still select and type in them)

Anyone having these issues? I followed the 'MADDE on windows' tutorial, maybe I missed something?

You apt-getted the necessary 462 libs for your device, and I presume youre using scratchbox (because there is no working 462 madde I know iof, but please update me if i'm wrong) ?

Anyhows, I found a similar thing to you initially.. the buttons especially..
..and then I realised that I was writing in windows and then recomping for the n900.. and the n900 has 800x480 packed into 3.5 inches.. so my buttons that looked fine in windows at 21 px high were screwed up on device, and need to be more like 70 px high..

Did you size your ui as per hildon/maemo guidelines?

Note; you may indeed be discussing a 462 problem; all the apps I build for my n900 are limited to 453 because I ahvent succeeded in hacking 462 madde to work

craftyguy 2010-03-13 03:22

Re: Development is too hard. Help me - help you.
 
Quote:

Originally Posted by cjard (Post 565628)
You apt-getted the necessary 462 libs for your device, and I presume youre using scratchbox (because there is no working 462 madde I know iof, but please update me if i'm wrong) ?

Anyhows, I found a similar thing to you initially.. the buttons especially..
..and then I realised that I was writing in windows and then recomping for the n900.. and the n900 has 800x480 packed into 3.5 inches.. so my buttons that looked fine in windows at 21 px high were screwed up on device, and need to be more like 70 px high..

Did you size your ui as per hildon/maemo guidelines?

Note; you may indeed be discussing a 462 problem; all the apps I build for my n900 are limited to 453 because I ahvent succeeded in hacking 462 madde to work

Actually I haven't seen any N900 gui guidelines, and yes I am using the 453 MADDE (WHY isn't there a 462 if QT-4.6 is the future??). Would you happen to have a link to the 'gui guidelines' handy? :)

cjard 2010-03-13 09:52

Re: Development is too hard. Help me - help you.
 
GUI guidelines, read this thread: http://talk.maemo.org/showthread.php?t=46912

Why no 462 MADDE? There is, but it's a hack and it DOESNT WORK within QtC (1.3.80)
http://chaos.troll.no/~harald/MADDE/

See the readme -> thats MADDE 462, BUT, the mkspecs folder has broken contents and (when I tried) it will not build a Qt app to target ARMEL (n900) properly within QtC.. At first when you add it to QtC it will say "invalid Qt version", but if you copy the default (unix/armel) file from the mkspecs folder in your 453 madde, to the relevant mkspaces in the 462 hack you can at least get qtc to say the version is valid, but it targets windows, not ARMEL. I gave up at that point because I wanted to start developing, not spend hours of my life configuring the IDE :)

Possibly you can mess about with it more and get it working but I gave up and just am careful to use 453 stuff only until the dev teams wire 462 and QtC together. Note also because MADDE is a bit like cygwin; a small linux that runs under windows, you could maybe start a madde terminal and manually compile your apps to target armel in there, once you have them working in windows..

Or you can go the scratchbox route, or possibly even the whole hog of installing some debian based linux on your pc and using QtC inside that

tirtawn 2010-03-13 17:31

Re: Development is too hard. Help me - help you.
 
Quote:

Originally Posted by cjsegninir (Post 565578)
Thanks for your reply.

I'm following tirtawn tutorial on post 18 on second page of this same thread.

Isn't qmake compiling it?

Sorry I forgot to put "make" after the qmake.

Oops..I have added the make now.


All times are GMT. The time now is 22:20.

vBulletin® Version 3.8.8