plugins - How can I make my Qt app see the "platforms" in a different place? -


i'm aware that, when installing qt application somewhere, need deploy plugin related system being used in folder platforms.

traditionally folder supposed located in same place executable located. want change that: want put folder 1 level back, is, in place ../platforms. how can tell app in place shared library?

reading threads on web came 2 possible solutions: 1 use qcoreapplication::addlibrarypath(), "general plugins" (those should placed inside plugins directory), not platform plugin afaik. such tried solution adding "../" in call qcoreapplication::addlibrarypath()and didn't work. (should have put "../platforms" instead?) other solution seems using qt.conf. problem don't know how edit file when comes adding path platform plugin: digia's manual file doesn't tell how specific configuration.

set plugins in qt.conf point location of plugin sub-directories (ie .. in example), rather listing individual plugin sub-directories.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -