Browse Source

Make sure asserts are disabled in release mode

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
0241fa7593
  1. 3
      configure
  2. 3
      qcm/qt4.qcm

3
configure vendored

@ -345,6 +345,9 @@ public: @@ -345,6 +345,9 @@ public:
// Debug mode
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
conf->addExtra("CONFIG += debug");
} else {
conf->addExtra("CONFIG -= debug");
conf->addExtra("CONFIG += release");
}
#ifdef Q_OS_FREEBSD
conf->addLib("-lexecinfo");

3
qcm/qt4.qcm

@ -20,6 +20,9 @@ public: @@ -20,6 +20,9 @@ public:
// Debug mode
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
conf->addExtra("CONFIG += debug");
} else {
conf->addExtra("CONFIG -= debug");
conf->addExtra("CONFIG += release");
}
#ifdef Q_OS_FREEBSD
conf->addLib("-lexecinfo");

Loading…
Cancel
Save