import QtQuick 2.0 import Sailfish.Silica 1.0 import Sailfish.Lipstick 1.0 <----- import Lipstick import "weather.js" as WeatherData Grid { id: labels property bool rotated: { <----add this Lipstick.compositor.topmostWindowOrientation & (Qt.LandscapeOrientation | Qt.InvertedLandscapeOrientation) } rows: 2 columns: 2 // rotated ? landscape : portrait rowSpacing: rotated ? 270 : 580 < -----and adjust this with the 'rotated' property columnSpacing: rotated ? 500 : 170 anchors.centerIn: parent
[W] unknown:10 - file:///usr/share/wind-dash/qml/pages/Labels.qml:10: ReferenceError: Lipstick is not defined