PNG icons on QML
Arthur Taborda
arthur.hvt at gmail.com
Fri Mar 22 19:03:37 UTC 2013
Two more question: does Plasma supports now QtQuick 2.0?
I am trying to import QtQuick 2 into my plasmoid but I get the message:
Error loading QML file.
20: module "QtQuick" version 2.0 is not installed
But it IS installed. I can run a sample project in qtcreator using QtQuick
2.
I need to use SQLite to store the data, so I am using OfflineStorageAPI. I
can run without problems on a pure qml code with qmlviewer. But I get the
error message in my plasmoid running in plasmoidviewer:
Can't find variable: openDataBaseSync
Thanks for any help :)
2013/3/22 Arthur Taborda <arthur.hvt at gmail.com>
> Hi. I need to show a icon in a compactRepresentation. I am able to show
> svg images using SvgItem, but when I try to show a IconItem using the
> following code:
>
> PlasmaCore.IconItem {
> id: icon
> source: QIcon(plasmoid.file("images", "tomatoid-icon-red.png"))
> }
>
> I get this:
>
>
> https://lh4.googleusercontent.com/-Nt8dvqTwz40/UUol5cGoCEI/AAAAAAAAO4I/5HMyiCsahsc/s161/snapshot1.png
>
> https://lh4.googleusercontent.com/-CjXo1uS6XXQ/UUol5kgrKWI/AAAAAAAAO4E/ZCZPWOMVzCw/s310/snapshot2.png
>
>
> Is this a bug, or I am doing something wrong?
>
> --
> Arthur Taborda
>
--
Arthur Taborda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130322/6a89b6f7/attachment.html>
More information about the Plasma-devel
mailing list