maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Design in Qt Creator doesn't match deployed application (https://talk.maemo.org/showthread.php?t=62543)

chenky 2010-09-19 12:05

Design in Qt Creator doesn't match deployed application
 
2 Attachment(s)
I saw a similar issue mentioned in another topic specific to an application, but I haven't been able to find any other reference to this issue elsewhere - also I'm just starting out developing in this environment so forgive me if I'm missing something painfully obvious :)

I've used Qt Creator to create an insanely simple interface (see the first screenshot), but the alignment and/or sizing seems different to that of the deployed app on the N900 (PR1.2) (see second screenshot). Is this something that has been identified/fixed? I can see this being more of an issue with a more complex GUI..

Glasswalker 2010-09-19 12:22

Re: Design in Qt Creator doesn't match deployed application
 
OK, I'm no developer but if I take a look at your screenshots I think you're really missing something:

The view in QT Developer seems not to be "hildnzied" wich means for me: 1) it doesn't use the Maemo system-font
2) if you take a good look at the 2 buttons: both are alined left BUT in with different corners (90 degree in first, roundet corner in the second) With a little eye.judgement I'd say that if you cut the roundet corners the boxes would be the same size.

I would'nt say that this would be a big problem with more complex UIs, just make the buttons a littlebit shorter to compensate for the roundet corners in hildon

Just my 2 cent,

Glasswalker

tswindell 2010-09-19 12:28

Re: Design in Qt Creator doesn't match deployed application
 
I don't see a problem at all, the maemo/Nokia font is more compressed, so it might give the impression that there's something wrong with the alignment, but in actuality they're both aligned to the left it would seem. Unless you're talking about something else?

Diph 2010-09-19 12:45

Re: Design in Qt Creator doesn't match deployed application
 
I think it is still better to use scratchbox to check how the UI looks.

chenky 2010-09-19 12:46

Re: Design in Qt Creator doesn't match deployed application
 
Had a few issues getting it setup, thought I might take the easy road with Qt Creator - is scratchbox the only way to correctly preview the hildon theme?

danielwilms 2010-09-20 07:54

Re: Design in Qt Creator doesn't match deployed application
 
Hi,

you can start the emulator from the SDK. This you can achieve by doing the following (based on latest Nokia Qt SDK):

1) Go to:

Code:

Tools -> Options -> Projects -> Maemo Device Configurations
2) Choose there "Maemo emulator", check "password" as authentication method, the user-name is "developer", the "password" field should be empty.

http://danielwilms.de/new/wp-content...09/sdk_emu.png

3) In your project select the device configuration (I called it "emulator" before) in your Maemo run settings:

http://danielwilms.de/new/wp-content.../sdk_emu_2.png

4) Finally start it from here:

http://danielwilms.de/new/wp-content.../sdk_emu_3.png


Hope that helps.

Daniel


All times are GMT. The time now is 15:29.

vBulletin® Version 3.8.8