Build Qt Project in Debug Mode from Command line (aka bash script) in Linux Build Qt Project in Debug Mode from Command line (aka bash script) in Linux linux linux

Build Qt Project in Debug Mode from Command line (aka bash script) in Linux


The option you need is "CONFIG+=debug". See General Configuration in qmake Manual.

#!/bin/bashqmake CONFIG+=debug ${qmake_options}make ${make_options}