diff --git a/configure b/configure index db07c6c19..c0c148acc 100755 --- a/configure +++ b/configure @@ -344,6 +344,7 @@ public: } // Debug mode if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) { + conf->addExtra("CONFIG -= release"); conf->addExtra("CONFIG += debug"); } else { conf->addExtra("CONFIG -= debug"); diff --git a/qcm/qt4.qcm b/qcm/qt4.qcm index 8d769b923..c718dc882 100644 --- a/qcm/qt4.qcm +++ b/qcm/qt4.qcm @@ -19,6 +19,7 @@ public: } // Debug mode if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) { + conf->addExtra("CONFIG -= release"); conf->addExtra("CONFIG += debug"); } else { conf->addExtra("CONFIG -= debug");