Change the debug directive.
authorNguyễn Hồng Quân <ng.hong.quan@gmail.com>
Sun, 28 Oct 2012 05:23:36 +0000 (12:23 +0700)
committerNguyễn Hồng Quân <ng.hong.quan@gmail.com>
Sun, 28 Oct 2012 05:23:36 +0000 (12:23 +0700)
mainwindow.cpp
mainwindow.h
mverbiste.pro

index f5a38aa..08bb3f9 100644 (file)
@@ -3,9 +3,6 @@
 #include "gui/conjugation.h"
 
 #include <QtCore/QCoreApplication>
 #include "gui/conjugation.h"
 
 #include <QtCore/QCoreApplication>
-#ifdef DEBUG
-#include <QDebug>
-#endif
 
 MainWindow::MainWindow(QWidget *parent)
     : QMainWindow(parent), ui(new Ui::MainWindow)
 
 MainWindow::MainWindow(QWidget *parent)
     : QMainWindow(parent), ui(new Ui::MainWindow)
index b735747..f4ac2e1 100644 (file)
 #include <string.h>
 #include <verbiste/FrenchVerbDictionary.h>
 #include "gui/conjugation.h"
 #include <string.h>
 #include <verbiste/FrenchVerbDictionary.h>
 #include "gui/conjugation.h"
+
+#ifndef QT_NO_DEBUG
+#include <QDebug>
+#endif
+
 using namespace verbiste;
 
 namespace Ui {
 using namespace verbiste;
 
 namespace Ui {
index bd51e44..24554c8 100644 (file)
@@ -68,7 +68,3 @@ unix: PKGCONFIG += libxml-2.0
 DEFINES += ICONV_CONST=
 # installPrefix must be explicitly exported from deployment.pri first
 DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\"
 DEFINES += ICONV_CONST=
 # installPrefix must be explicitly exported from deployment.pri first
 DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\"
-
-CONFIG(debug) {
-    DEFINES += DEBUG
-}