[Interest] Qt.conf and desktop application
Nikos Chantziaras
realnc at gmail.com
Wed Jan 16 17:09:26 CET 2019
On 16/01/2019 01:12, Jérôme Godbout wrote:
> I’m having some problem while porting an application to Linux Desktop.
> I’m using a qt.conf to set 2 values
>
> [Paths]
> Translations=:/i18n
> Qml2Imports=:/
>
> I don’t do anything else, but I cannot launch my application when I add
> the Qt.conf (even with only Translations). The platform library cannot
> be found anymore.
You never use a qt.conf when running locally during development. You
only use one for the deployed application package where you bundle the
Qt libs.
Your error here is simply due to a missing "Plugins=<path>" entry in the
qt.conf. But again, you only do that in the deployed application.
More information about the Interest
mailing list