Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Moved] Fitting Desktop application layout for Symbian OS based smartphones.
QtWS25 Last Chance

[Moved] Fitting Desktop application layout for Symbian OS based smartphones.

Scheduled Pinned Locked Moved Mobile and Embedded
9 Posts 6 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    swhweng
    wrote on last edited by
    #1

    Hello,
    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.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mazd
      wrote on last edited by
      #2

      From my Qt experience and UI design, i think you should use layout during UI designing to avoid scattering of widgets.

      http://www.hitzenji.com/

      1 Reply Last reply
      0
      • S Offline
        S Offline
        swhweng
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            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;-)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Scylla
              wrote on last edited by
              #6

              And another problem is the propably different dpi, so the ui looks different in the designer than in the target, my experience.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                swhweng
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  qtrahul
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    swhweng
                    wrote on last edited by
                    #9

                    Hello
                    thanks to everybody interested and tryed to help:

                    1. 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)
                    2. 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!
                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved