[Moved] Fitting Desktop application layout for Symbian OS based smartphones.
I made desktop application using Qt framework and it’s amazing as the features of the overall framework.
The application ui looks ok in Windows ( I build under Windows ) but when I compile for Symbian or for Qt simulator for Symbian devices ( Nokia Qt SDK ) the ui does not fit to screen as on Windows, and I rather say appplication ui at all does not fit ( I can see only some region in my ui on the screen).
I’ve looked through Qt Developers Library and video at Qt portal and I make as adviced:
a) All the widget I show with widget->showMaximizied()
b) I have no layout constraints at any ui ( no layout->setLayoutConstraints(..))
c) I do not use any layout when I make ui because I do not understand how to use them and it could not be explained personally for me via www only if somebody personally sit with me and show all the use cases of qt layout system. All my widgets built without layouts and it looks pretty good on Windows
What should I make so as to see my widgets fitted to screen as on Winodws on Symbian OS based devices?
Thank you very much for your help.
From my Qt experience and UI design, i think you should use layout during UI designing to avoid scattering of widgets.
Thanks you for your reply
I've arranged widgets on mainwidnow without general layout. And it looks ok on windows7,xp.
But I need to make good exact ( strict ) look on Symbian smartphones.
A question is how to fit window ( widgets , layouts ) for Symbian? Is there any strict rules, regulations because I do not see once layout created it is the same for all platforms, we should make this for qt?
When I compile I see my widgets very unfitted.
Mazd, have you tried to make application for Symbian OS based smartphones?
Well... you can't really expect a UI that works on the desktop to just work on the phone unchanged. I think to make your application work properly on both platforms, you need to develop separate UI's for both of them. Of course, the backend can be the same.
Then again, "not everybody":http://developer.qt.nokia.com/forums/viewthread/4281/ thinks this way.
tobias.hunger last edited by
My rule of thumb is this: Separate UI and backend and write a separate desktop and mobile UI. The concepts and requirements are just too different to try to press all of them into one user interface.
Qt still rocks since even when doing the UI you do not need to relearn everything when going between mobile and desktop;-)
And another problem is the propably different dpi, so the ui looks different in the designer than in the target, my experience.
Yes of course I understand.
A question is is there anybody that can explain me how to prepare ui that will look ok on Symbian smartphones?( I read a lot of documentation and tried different layouts but it is unfitted when I run on Symbian)
I will thank for real help as much as I can.
When you develop any UI in simulator, and then load it in Symbian Phone, You will feel the difference.
"Again run time change you need to do".. Universal Rule.
thanks to everybody interested and tryed to help:
- I've succedd to fit to mobile device without using layout, with layout it is more "professionaly" but at the moment I do not understand how to make layout specifically for my application interface that will fit "automatically" for changing platform ( I mean when compiling with different compilers and deploying to different devices)
- I still have some problem : There is a menu bar with items and actions at the top of my application's interface. I see them well in QtDesigner and they function ok and when compiling and executing on Windows it is ok, BUT! When I fit the window size for the symbian/maemo devices that there are at QtSDK simulators I see interfaces ok but I do not see the menu bar nor on the simulator's device's screen nor on the simulator's additional screen but only some part of my menu bar. Does anybody know what must be done for Qt MenuBar with items and actions displayed and functioned ok on QtSDK simulator and on real devices ( Maemo/Symbian ) ( like on Windows in my specific case ).
Thanks a lot!