Running Application without Environemnt Variables using ORIGIN
Dynamic Python binding for Qt Applications
Brought to you by:
florianlink,
marcusbarann
Hi!
Currently i am going to dist my application without need for any environment variables like LD_LIBRARY_PATH, PYTHONHOME, etc.
This was no problem, used CMAKE CMAKE_RPATH_INSTALL feature to replace the RPATH of the app on install with $ORIGIN:$ORIGIN/lib etc.
This all worked fine, until i run into an issue with PythonQt_QtAll.
The lib hard links against the Qt used for build and ignores anything on dynamically loading Qt5PrintSupport and Qt5Sql.
only LD_LIBRARY_PATH seems to help.
Therefore i add in the attachment a Feature Request to additionally configure PythonQt_QtALL RPATH with additional $ORIGIN.
This would satisfy my needs, do not know any better way with QMAKE.
The swith is the same i used for building PythonQt_QtAll with dedicaded libs.
Open for any discussion :-)