[PySide] Can PySide run with Qt DLLs in another location other than Lib\site-packages\PySide\
merlin66b at gmail.com
Thu Oct 4 10:01:30 CEST 2012
On Thu, Oct 4, 2012 at 9:39 AM, Roman Lacko <backup.rlacko at gmail.com> wrote:
> Yes pyside will work when Qt libs are in PATH
> PySide will not work without qt,conf, as you can read here
> you need to override the hardcoded paths in Qt library.
> I would generate qt.cong with build tool (cmake or whatever) when
> compiling on dev machine.
> When instaling on users machie, the qt.conf can (and should) be
> generated by app installer.
Actually, this is not in agreement with our experience. Our own
application also depends on finding Qt plugins for example, and it
does indeed work if the Qt files are carefully placed in correct
locations relative to the application. We will add a qt.conf if
>> Similarly, shouldn't it be sufficient that the location of the Qt
>> libraries are added to LD_LIBRARY_PATH on Linux?
> Yes adding Qt libs to LD_LIBRARY_PATH shoud work + you need change
> paths in qt.conf
LD_LIBRARY_PATH seems to have solved the problem we had.
More information about the PySide