Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
unknown linked library for file dialogs
I am in the process of deploying my application to linux, and in this, i seem to be missing to include a library for displaying file dialogs - and i've yet to figure out which one it actually is!
When a file dialog is requested in the application, a see-through box appears - and i strongly suspect that i'm missing a library for the file dialogs.
I've tried to search the web tirelessly, but i've yet to figure out which one it actually is.
Any pointers would be creatly appreciated :)
Leonardo last edited by
Have you tried using ldd?
The linuxdeployqt project might be of interest.
i've run linuxdeployqt on the project, which successfully moved the libraries listed in ldd (among others), into the project folder. It did not copy all dependencies though (for instance, it was missing some svg libraries) - so i suspect that this would be the case aswell for some form of input dialog library.
Did you try same deployment folder in an other linux ?
I've used linuxdeployqt to do the initial deployment, aswell as copy various svg libraries manually -and this has indeed solved the svg issues that i had. But i've yet to find the library responsible for the input file dialog.
In the app's lib folder:
libicudata.so.56 libQt5Core.so.5 libQt5Svg.so.5
libicui18n.so.56 libQt5DBus.so.5 libQt5Widgets.so.5
libicuuc.so.56 libQt5Gui.so.5 libQt5XcbQpa.so.5
As @mrjj mentions, the widgets library should already be included.
What Linux distribution are you running ?
@SGaist Ubuntu 16.04
Pablo J. Rogina last edited by
@mortbopet in order to understand your runtime environment, even when you mentioned Ubuntu 16.04
- is this a kind of embedded device?
- what architecture is it? (i.e. ARM, x86)
- window manager in use?
- a) Have you tried deploying/running this same application in any other Linux device/machine?
b) Have you tried to run any other application in your device that indeed use the native file dialog?
4a & 4b so to rule out that the underlying OS/window manager is really providing file dialog support
- Have you tried stating DontUseNativeDialog option? (to ensure that the widget-based implementation will be used instead of the native dialog)
@Pablo-J.-Rogina Setting the DontUseNativeDialog option did the trick!
Just a laptop with x86_64 architecture, window manager is Compiz. I've yet to deploy it to other distributions