[KDE/Mac] Thoughts on standard directories in Qt5 - QStandardPaths

Ian Wadham iandw.au at gmail.com
Mon Jan 5 04:20:39 UTC 2015


Hi all,

Another path problem has cropped up on KDE Games, but may affect other
apps that use Qt's QML2 graphics system.  Qt needs to be pointed to a path
where graphics data for QML is stored.  On Linux this is provided by an
environment variable called QML2_IMPORT_PATH.

Jeremy wrote:
> This setting of QML2_IMPORT_PATH is needed only when installing qml stuff
> into a different place than qt itself. So yes it's likely to be a similar issue to the
> QStandardPaths issue unfortunately.

On Tue, Dec 30, 2014 at 6:51 PM, Ian Wadham <iandw.au at gmail.com> wrote:
On 30/12/2014, at 1:40 AM, Jeremy Whiting wrote:
>>> It's likely that you haven't set QML2_IMPORT_PATH=/usr/local/lib/qml in your
>>> environment, Without this set it will only look next to the qt installation itself
>>> for qml data.

>> Could this become a problem again when porting QML-based apps to MacPorts
>> and Apple OS X?  Environment variables are not so welcome there when starting
>> apps from the OS X GUI.

Cheers, Ian W.



More information about the kde-mac mailing list