×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    36

    Qt C++ app look and feel on the N9

    I'm trying to port a Qt app I wrote in C++ to the N9, but the controls and QMainWindow look like the app is running with the Windows classic theme. How do I get the controls to match the native look and feel of MeeGo Harmattan?

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Qt C++ app look and feel on the N9

    Quote Originally Posted by shockreaction View Post
    I'm trying to port a Qt app I wrote in C++ to the N9, but the controls and QMainWindow look like the app is running with the Windows classic theme. How do I get the controls to match the native look and feel of MeeGo Harmattan?
    This page is the start up guide for you to create app for Meego Harmattan platform : http://harmattan-dev.nokia.com/docs/...ng_Qt_SDK.html

    regards,
    rahul

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    36

    Re: Qt C++ app look and feel on the N9

    Thanks. Actually discovered the hard way that it's not supported at http://doc.qt.nokia.com/qtcreator-2....e-example.html
    However, to achieve a platform look and feel for MeeGo Harmattan devices, create a Qt Quick Application and use the Qt Quick components for MeeGo.
    I've already rewritten most of the UI logic for MeeGo Harmattan. I thought Qt was supposed to make porting apps easy, but I guess not.

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    506

    Re: Qt C++ app look and feel on the N9

    you have to use qml + qt-components
    Symbian & Qt developer. http://vladest.org

  5. #5
    Registered User
    Join Date
    Jul 2011
    Posts
    69

    Re: Qt C++ app look and feel on the N9

    I know that QML is the right way for Harmattan GUIs, but like you I was disappointed about the needed work load.
    Because of that I started to try to make a QT application looking better. To my surprise you can use QT CSS to make the buttons, text boxes and other objects look quite ok.
    To give it an impression, see here: http://talk.maemo.org/showpost.php?p...6&postcount=24
    Please be aware that I use all windows in fullscreen, since I have no access to the QML toolbar and its menu options!
    So everything has to be done through buttons and windows.
    This for sure is not nice, but was way less work than rewriting everything in QML.

  6. #6
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Qt C++ app look and feel on the N9

    Quote Originally Posted by shockreaction View Post
    I'm trying to port a Qt app I wrote in C++ to the N9, but the controls and QMainWindow look like the app is running with the Windows classic theme. How do I get the controls to match the native look and feel of MeeGo Harmattan?
    As you mension you want native and feel good on Meego Harmattan , then you have to use the Meego harmattan components : http://www.developer.nokia.com/Commu...ick_Components

    It is specially designed for Harmattan based devices for native look.

    regards,
    rahul

Similar Threads

  1. look & feel of ListBox Ui
    By sunitha.m13 in forum Symbian User Interface
    Replies: 5
    Last Post: 2009-10-29, 05:58
  2. Look-and-feel of custom dialogs
    By mrtj in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-08-26, 14:17
  3. Having your own look and feel / listboxes
    By yatest5 in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-09-12, 10:42

Posting Permissions

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