On Thu, Oct 4, 2012 at 9:39 AM, Roman Lacko <[email protected]> wrote:
>
> Yes pyside will work when Qt libs are in PATH

Ok, great.

> PySide will not work without qt,conf, as you can read here
> http://doc-snapshot.qt-project.org/4.8/qt-conf.html,
> 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
needed.

>
>>
>> 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.

Thanks!
- Thomas
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to