Libraries, QML, and Fedora
Sebastian Kügler
sebas at kde.org
Wed Mar 6 14:14:54 UTC 2013
On Tuesday, March 05, 2013 21:32:43 Eric Mesa wrote:
> So far in my QML/QT Quick programs instead of doing an import like this:
>
> import org.kde.plasma.extras as PlasmaExtras
>
> I have to do something like this:
>
> import "/usr/lib64/kde4/imports/org/kde/plasma/extras" as PlasmaExtras
That's making sure your code runs on exactly one machine. Yours. :)
> so far that's been OK, but now I'm starting to use create more complex
> programs and some of those imports have their own imports. So I need to
> get this fixed. What do I need to do in order to get this to work
> correctly?
Tell the include path:
qmlviewer -I `kde4-config --prefix`/lib64/kde4/imports
or export the right value in QML_IMPORT_PATH
Cheers,
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list