Reply
Thread Tools
Posts: 80 | Thanked: 53 times | Joined on Feb 2010 @ Berlin, Germany
#31
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.
 
Posts: 113 | Thanked: 26 times | Joined on Feb 2010 @ Port of Spain, Trinidad & Tobago
#32
Originally Posted by cjard View Post
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?
 
Posts: 455 | Thanked: 278 times | Joined on Dec 2009 @ Oregon, USA
#33
Originally Posted by nath View Post
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?
 
Posts: 225 | Thanked: 64 times | Joined on Feb 2010
#34
Originally Posted by cjsegninir View Post
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)
 
Posts: 225 | Thanked: 64 times | Joined on Feb 2010
#35
Originally Posted by craftyguy View Post
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
 
Posts: 455 | Thanked: 278 times | Joined on Dec 2009 @ Oregon, USA
#36
Originally Posted by cjard View Post
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?
 
Posts: 225 | Thanked: 64 times | Joined on Feb 2010
#37
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
 

The Following User Says Thank You to cjard For This Useful Post:
Posts: 328 | Thanked: 101 times | Joined on Dec 2009
#38
Originally Posted by cjsegninir View Post
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.
 
Reply

Thread Tools

 
Forum Jump


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