ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06356
[Bug 1576515] [NEW] Button style API is not defined, example codes from tutorial are broken
Public bug reported:
I just copied the code snippet at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.StyledItem/,
I get the error like http://paste.ubuntu.com/16123241/
QML debugging is enabled. Only use this in a safe environment.
qml: Page_QMLTYPE_17(0xa86bd0)"test page": In Ubuntu.Components 1.3, the use of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the PageHeader component instead.
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:108:25: Unable to assign [undefined] to QFont
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:103:33: Unable to assign [undefined] to QQuickGradient*
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:92:27: Unable to assign [undefined] to QColor
The example code is at https://github.com/liu-xiao-guo/style
Thanks & best regards,
XiaoGuo
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: High
Status: Confirmed
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1576515
Title:
Button style API is not defined, example codes from tutorial are
broken
Status in ubuntu-ui-toolkit package in Ubuntu:
Confirmed
Bug description:
I just copied the code snippet at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.StyledItem/,
I get the error like http://paste.ubuntu.com/16123241/
QML debugging is enabled. Only use this in a safe environment.
qml: Page_QMLTYPE_17(0xa86bd0)"test page": In Ubuntu.Components 1.3, the use of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the PageHeader component instead.
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:108:25: Unable to assign [undefined] to QFont
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:103:33: Unable to assign [undefined] to QQuickGradient*
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:92:27: Unable to assign [undefined] to QColor
The example code is at https://github.com/liu-xiao-guo/style
Thanks & best regards,
XiaoGuo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1576515/+subscriptions