Review Request 108889: Add QML_INSTALL_DIR variable to KDE pathes

Sebastian Kügler sebas at
Mon Feb 11 09:49:08 GMT 2013

On Sunday, February 10, 2013 14:33:49 Thiago Macieira wrote:
> On domingo, 10 de fevereiro de 2013 21.22.05, Sebastian Kügler wrote:
> > Apparently not. I've looked at where the example imports from the Qt
> > codebase install these things, and that is indeed $PREFIX/qml, not inside
> > the plugin directory. This location is also where these imports are being
> > found automatically, i.e. without specifying additional import pathes
> > (which we have to do for Plasma in kdelibs 4).
> Technically, it's $ARCHDATADIR/qml. The Qt build makes ARCHDATADIR=PREFIX
> by  default.
> But everyone installing Qt to PREFIX=/usr should set it 

So that means that qtquick2 imports should go there, and that we should advise 
people in our build instructions to build with --archdatadir=$LIBDIR/qt5?

Which would bring me to my next question: How do I find out the ARCHDATA dir 
from a cmake script then? (Yes, noob question.)
sebas | | GPG Key ID: 9119 0EF9

More information about the kde-core-devel mailing list