> -----Original Message----- > From: Interest <interest-boun...@qt-project.org> On Behalf Of Jérôme > Godbout > Sent: Wednesday, 16 January 2019 12:12 AM > To: Interests Qt <interest@qt-project.org> > Subject: [Interest] Qt.conf and desktop application > > Hi, > > 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. I'm having a hard time figuring how to setup this for desktop since > the debug and packaged application will fetch those at different place I > guess. And why does the non set value get modified? Seem like giving a > qt.conf make some kind of magic into qt creator and affect the plugins path > to be destroyed. > > > > Console output > > > > QML debugging is enabled. Only use this in a safe environment. > > qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" > > This application failed to start because no Qt platform plugin could be > initialized. Reinstalling the application may fix this problem. > > > > Anybody how to create a qt.conf that work on desktop inside QtCreator and > also after deploy gather of file?
I had a similar issue and ended up building statically instead: https://github.com/probonopd/linuxdeployqt/issues/280 > Thanks, > > Jerome _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest