Important: Please read the Qt Code of Conduct -

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 like

    supporting 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?

  • Lifetime Qt Champion



    There's a nice article here about that.

  • @SGaist
    Thank you, that's what I needed.

Log in to reply