On Mon, Jan 11, 2016 at 4:08 AM, René J.V. <rjvber...@gmail.com> wrote:
> Hello, > > How do KF5 framework, application etc. projects determine the install > location for their qml files? > > I see that KDeclarative itself already refers to 2 CMake variables to > define that location, KDE_INSTALL_QMLDIR and QML_INSTALL_DIR, neither of > which appears to be set anywhere that I can find. It certainly doesn't > appear that they are initialised from what qmake returns: > > QT_INSTALL_QML:/opt/local/share/qt5/qml > > Do I have to set this variable in my CMake formula and if so, should I set > both or is one initialised from the other in code I missed somewhere? > The default is set by ECM, in kde-modules/KDEInstallDirs.cmake > > Is there a reason why this location isn't determined from qmake or > (possibly) one of Qt's .cmake files? I'm not familiar enough with qml to > know if the same scripts can run in Qt4 and Qt5 but I wouldn't think that's > possible? > I think these are specific to ECM/KDE, that's why qmake does not know about them. Cheers -- Martin Klapetek | KDE Developer
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel