[frameworks] QML2_IMPORT_PATH now needed for Plasma imports

Sebastian Kügler sebas at kde.org
Tue Feb 12 11:50:37 UTC 2013


Hi,

I've just pushed a change to plasma-frameworks which introduces a change to 
the installation path for your QtQuick2 imports, moving it under 
$PREFIX/lib/qml basically. (They previously went into $PREFIX/qml, which is a 
bit ugly.) It also means you have to update extra-cmake-modules.

This means, in order to make these imports found, you have to point your 
environment to it, for example:

export QML2_IMPORT_PATH=$KF5/lib/qml

otherwise you'll get errors that plugins such as org.kde.plasma.core and 
org.kde.plasma.components can not be found.

Matching patch to extra-cmake-modules has just gone in, updated docs on 
the wiki are next.

(notmart: CC:ing you explicitely so you don't lose any hairs when suddenly 
your environment doesn't work, you get stale plugins, or simply not found 
plugins.)

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Plasma-devel mailing list