PanelPicker API is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu API Website |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
I tried to use the code snippet on the above link. When I run it, it says:
file://
=======
import QtQuick 2.4
import Ubuntu.Components 1.2
import Ubuntu.
/*!
\brief MainView with a Label and Button elements.
*/
MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the "name" field of the click manifest
application
/*
This property enables the application to change orientation
when the device is rotated. The default is false.
*/
//automatic
width: units.gu(60)
height: units.gu(85)
Page {
title: i18n.tr(
Button {
id: dateButton
text: Qt.formatDateTi
}
}
}