×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Question Maemo Style in Simulator

    Hi !

    I am developing an application for Maemo using Qt. At the moment I can only test my application in the simulator but it doesn't look nice and well integrated. Here is what I was hoping for http://wiki.forum.nokia.com/index.ph...rting-examples. Will my application have the same look when executed on Maemo just because the Simulator doesn't show the final look of the application or do I have to custom my stylesheets ?

    Thanks

  2. #2
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Maemo Style in Simulator

    Which SDK are you using? Nokia Qt SDK doesnot have a Maemo Simulator.

  3. #3
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Maemo Style in Simulator

    Heu... latest Nokia QT SDK (1.0 FINAL). When I choose to build and execute in the QtSimulator and then choose Maemo Freemantle, isn't this a simulator for Maemo ?

  4. #4
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Maemo Style in Simulator

    Quote Originally Posted by Guilo19 View Post
    Heu... latest Nokia QT SDK (1.0 FINAL). When I choose to build and execute in the QtSimulator and then choose Maemo Freemantle, isn't this a simulator for Maemo ?
    Oh yes, that resembles Maemo simulator. But the article you referred to had Maemo UI components. So if you are using anything like Qt::WA_Maemo5StackedWindow or any Maemo specific api's you cannot check it on simulator using Nokia Qt SDK.

  5. #5
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Maemo Style in Simulator

    Ok Thanks to have made it clear. But where are those apis. Not bundled with Nokia Qt SDK ? I don't have any of these components in my documentation.

  6. #6
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Maemo Style in Simulator

    Check the docs here for reference

    http://doc.qt.nokia.com/qt-maemo-4.6...edwindows.html

  7. #7
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Maemo Style in Simulator

    Also when using these api's you will have to compile it for Maemo, otherwise you will get error.

  8. #8
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Maemo Style in Simulator

    Ok but the fact is that I have a full install of Nokia Qt SDK on Linux and, at least in QtCreator 's help, the only reference I have to Maemo is how to set up the environment. I have installed the SDK under Windows and there I have the whole documentation. Why ? Moreover, I can't find the example of stacked windows anywhere, nor on Linux nor on Windows installation. Thanks

  9. #9
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Maemo Style in Simulator

    I have it installed on Windows and could not find reference to Maemo API's. Was wondering if any offline chm file is available for Qt

  10. #10
    Registered User
    Join Date
    Mar 2009
    Posts
    16

    Re: Maemo Style in Simulator

    The lack of styling on the Simulator for Maemo is a shortcoming of the Qt Simulator 1.0 in current SDK Version 1.0. it is not related to how the application will look on the device. As a workaround, simply create a Maemo device configuration and test-deploy your application to get a better impression for Maemo-specific styling. Deployment for the device (compiling, packaging and remote installation / invocation) is pretty fast. For details, see http://doc.qt.nokia.com/nokia-qtsdk-...ing-maemo.html.

  11. #11
    Registered User
    Join Date
    Mar 2009
    Posts
    16

    Re: Maemo Style in Simulator

    Please do not use the Maemo API directly. You can use the Widgets from the Qt API instead, they will look native on the device. Check Help -> Contents -> Qt Reference Documentation for the API. If that book is missing from your Qt Creator Help view, you can readd it manually by opening Tools -> Options -> Help -> Documentation and pressing "Add...". Now navigate to your NokiaQtSDK folder and enter the Documentations subdirectory. Select all qch files (Think of qch files as Qt's equivalent of chm files) and press Ok. If you now close the Options dialog by pressing "OK", all books should appear in the Help view.

  12. #12
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Maemo Style in Simulator

    Now navigate to your NokiaQtSDK folder and enter the Documentations subdirectory. Select all qch files (Think of qch files as Qt's equivalent of chm files) and press Ok. If you now close the Options dialog by pressing "OK",
    I have already tried this but it didn't change anything regarding documentation. Anyway, I haven't a de vice to test so far so I have built the package and tried it on RDA. Unfortunately these devices aren't ready to have Qt working on it (only Qt 4.5 and no root access to update repositories). Anyway, I'll try later so that's not a problem.

    Thanks for all the precisions.

  13. #13
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Maemo Style in Simulator

    Qt Simulator target doesn't support any Maemo specific features, so if you don't have the real device and you use Maemo5 specific code, you should use scratchbox.
    http://www.forum.nokia.com/info/sw.n...emo_5_SDK.html
    choose SDK installer there.

Similar Threads

  1. Nokia Qt SDK Simulator and maemo5 Hildon style
    By petriku in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2010-05-06, 21:09
  2. CSS Style?
    By hch703 in forum Tools and SDK Feedback (Closed)
    Replies: 1
    Last Post: 2009-10-22, 03:38
  3. about listbox style
    By yahyah_yy in forum Symbian
    Replies: 4
    Last Post: 2004-04-05, 16:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •