Reply
Thread Tools
Posts: 32 | Thanked: 42 times | Joined on Jun 2011 @ Germany
#1
Hello!

I have the latest Qt SDK installed (version 1.2.1).

While I was writing some QML-Code for my application "wolEj", I had seen, that there are some differences between the QML-Components files installed on the device (Nokia N9 with PR1.3) and the files installed in the Madde sysroot.

For Example:
File "/usr/lib/qt4/imports/com/nokia/meego/MenuItemStyle.qml":
  • File on my device:
Code:
import QtQuick 1.1
import "UIConstants.js" as UI
 
Style {
    id: root
    // Font
    property string fontFamily: __fontFamily()
    property int fontPixelSize: 26 // UI.FONT_DEFAULT_SIZE
    property int fontCapitalization: Font.MixedCase
    property int fontWeight: Font.Bold
    property int height: 80
 
    // Text Color
    property color textColor: inverted ? UI.COLOR_BUTTON_INVERTED_FOREGROUND : UI.COLOR_BUTTON_FOREGROUND
    property color pressedTextColor: inverted ? UI.COLOR_BUTTON_INVERTED_FOREGROUND : UI.COLOR_BUTTON_FOREGROUND
    property color disabledTextColor: "#797979"
    property color checkedTextColor: UI.COLOR_INVERTED_FOREGROUND
 
    property real leftMargin: 24                                       
    property real rightMargin: 24
    property real topMargin: 0                                      
    property real bottomMargin: 0
    property bool centered: true                 
  
    property string position: ""                  
  
    property url background: "image://theme/meegotouch-list" + __invertedString + "-background" + (position ? "-" + position : "")
    property url pressedBackground: "image://theme/meegotouch-list" + __invertedString + "-background-pressed" + (position ? "-" + position : "")
//    TODO: Add disabled state once the graphics are available
//    property url disabledBackground: "image://theme/meegotouch-list" + __invertedString + "-background-disabled" + (position ? "-" + position : "")
}
  • File on Madde sysroot:
Code:
import QtQuick 1.1
import "UIConstants.js" as UI

Style {
    id: root
    // Font
    property string fontFamily: UI.FONT_FAMILY
    property int fontPixelSize: 26 // UI.FONT_DEFAULT_SIZE
    property int fontCapitalization: Font.MixedCase
    property int fontWeight: Font.Bold
    property int height: 80

    // Text Color
    property color textColor: "black"
    property color pressedTextColor: UI.COLOR_INVERTED_FOREGROUND
    property color disabledTextColor: UI.COLOR_DISABLED_FOREGROUND
    property color checkedTextColor: UI.COLOR_INVERTED_FOREGROUND

    property real leftMargin: 24
    property real rightMargin: 24
    property real topMargin: 0
    property real bottomMargin: 0
    property bool centered: true
}
I think the Madde sysroot files are from an older firmware version.

Can I somehow update the sysroot to the latest firmware version?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:11.