touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #98916
[Bug 1485979] Re: Wrong error message is dumped
This is not a qtcreator-plugin-ubuntu bug. If that property is marked deprecated then this is the message you get.
Nothing wrong with that.
I suspect because of 1.1 using 1.2 in the background this message is issued. Forwarding to UITK.
** Package changed: qtcreator-plugin-ubuntu (Ubuntu) => ubuntu-ui-
toolkit (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1485979
Title:
Wrong error message is dumped
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
In my QML app, I used:
import Ubuntu.Components 1.1
and
UbuntuShape {
height: parent.width
width: height
image: Image {
id: image
source: preview
height: parent.width
width: height
sourceSize.height: height
sourceSize.width: width
fillMode: Image.PreserveAspectFit
smooth: true
}
Image {
id: selectionTick
anchors.right: parent.right
anchors.top: parent.top
width: units.gu(5)
height: units.gu(5)
visible: curItem.selected && root.pickMode
source: "photo-preview-selected-overlay.png"
}
}
When I tried to run my app, it complained:
file:///opt/click.ubuntu.com/contenthub-exporter.liu-xiao-
guo/0.1/Main.qml:276:21: QML UbuntuShape: 'image' is deprecated. Use
'source' instead.
In fact, "image" property exists in Ubuntu.Components 1.1, and it does
not exist in Ubuntu.Components 1.2. If I use "source" instead of
"image", I have to change to use Ubuntu.Components 1.2. Otherwise,
there I cannot run my app since "source" does not exist in the
Ubuntu.Components 1.1 at all.
We need to dump the correct warning message according to the
Ubuntu.Components version. Otherwise, a developer changes the code,
but it may not run in the previous version of the phones. In some
case, it just simply causes some confusion.
Best regards,
XiaoGuo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1485979/+subscriptions