Libqgif.so in a different folder [SOLVED]
-
Hello everyone,
How can I use a different directory for the plugin : libqgif.so ?
When executing, my binary works only if they's a directory named : imageformats/ containing libqgif.so
I want to put this library in a different directory so that I can have a cleaner architecture like- src
- include
- bin ----> myBin
- lib ---->libqgif.so
Thanks in advance.
-
Hi,
You can use "qt.conf":http://qt-project.org/doc/qt-5/qt-conf.html for that but the imageformats folder is still needed. Qt searches for specific plugin types in specific folders, see "here":http://qt-project.org/doc/qt-5.0/qtcore/plugins-howto.html.
-
Hi SGaist, suppose I want to find my plugin libqgif.so in the path : /export/home/lib
what can I add in the qt.confregards
-
Do you mean /export/home/lib/imageformats ?