Browse Source

Changed debug defines to global scope

Ivan Arkhipov 4 years ago
parent
commit
65022befde
2 changed files with 5 additions and 3 deletions
  1. 5 0
      common.pri
  2. 0 3
      src/Legacy/main.cpp

+ 5 - 0
common.pri

@@ -44,6 +44,11 @@ DEFINES += QT_DEPRECATED_WARNINGS
 # You can also select to disable deprecated APIs only up to a certain version of Qt.
 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
 
+
+# COMMENT THIS FOR MAKE PRODUCTION BUILDS
+# DEFINES += DEBUG
+# DEFINES += DEBUG_EXPIRE=1609448400 # 01.01.2021 00:00:00
+
 win32 {
     # Installing manifests
 

+ 0 - 3
src/Legacy/main.cpp

@@ -8,9 +8,6 @@
 double window_height = 1000;
 double window_width = 648;
 
-//#define DEBUG
-//#define DEBUG_EXPIRE 1609448400 // 01.01.2021 00:00:00
-
 int main(int argc, char *argv[])
 {
     QApplication app(argc, argv);