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?
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
Thanks. Actually discovered the hard way that it's not supported at http://doc.qt.nokia.com/qtcreator-2....e-example.html
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.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.
you have to use qml + qt-components
Symbian & Qt developer. http://vladest.org
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.
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