[Interest] windeployqt and embedeed QML (.qrc)

Koehne Kai Kai.Koehne at theqtcompany.com
Tue Apr 5 09:16:54 CEST 2016



> -----Original Message-----
> From: Interest [mailto:interest-
> bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
> Damien Courtois
> Sent: Saturday, April 02, 2016 8:59 PM
> To: interest at qt-project.org
> Subject: [Interest] windeployqt and embedeed QML (.qrc)
> 
> Hi there,
> 
> 
> I have a lot of trouble finding informations about this, but if I missed the
> obvious one, in advance sorry for that.
> 
> My problem is that I have a Qml application, but all the Qml files are
> embedded in the executable through a .qrc file.
> 
> And when I use windeployqt, it doesn't seem to copy any Qml module / file,
> as though the tool was not able to get the imports from my embedded
> Qmls.
> 
> 
> Is this supported by the tool ? Or will I need to provide the Qml files next to
> my executable so that the tool can do its job ?

windeployqt features a "--qmldir" option  that accepts a directory with .qml files as an argument. These will be then scanned to automatically deduce which QML imports to copy.

Regards

Kai



More information about the Interest mailing list