Solved qmake generate config file
-
Hi,
During make install step binaries and libraries are copied. Those files aren't placed in standard or natural linux locations.
To simplify start process I would like do generate shell script (or config file containing paths) which will run main app with supporting app and for both set proper LD_LIBRARY_PATH and PATH.
In simplest form it would be something likeLD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_dir_lib> PATH=$PATH:<install_dir_bins> supporting app & main_app
Let's treat this as a base.
In CMake I can use CONFIGURE_FILE which will take template file and fill it with values gathered during configure phase.
How to achieve something similar in qmake? -
-
@SGaist
Thank you, that's what I needed.