Hi,
I want to load my theme that I have with other files in qml.qrc (Resource
Collection Files)
like this:

<RCC>
    <qresource prefix="/">
        <file>qml/main.qml</file>
        <file>qml/LightTheme/parent_theme</file>
        <file>qml/LightTheme/ButtonStyle.qml</file>
        <file>qml/LightTheme/Palette.qml</file>
    </qresource>
</RCC>


Unfortunately, when I try to load it with this:

theme.name = "qrc:///qml/LightTheme"

or with:

theme.name = "LightTheme"


It does not work:

Theme not found: "qrc:///qml/LightTheme"

So how can I load a my theme from qrc?

Petr Štětka
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to