diff --git a/src/app/tape/mapplication.cpp b/src/app/tape/mapplication.cpp index 0f35cfabe..76eaea126 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -84,13 +84,13 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con type = QtWarningMsg; } -#if !defined(V_NO_DEBUG) +#if !defined(V_NO_ASSERT) // I have decided to hide this annoing message for release builds. if ((type == QtWarningMsg) && msg.contains("setGeometryDp: Unable to set geometry")) { type = QtDebugMsg; } -#endif //!defined(V_NO_DEBUG) +#endif //!defined(V_NO_ASSERT) #if defined(Q_OS_MAC) # if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) && QT_VERSION < QT_VERSION_CHECK(5, 7, 0) diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index a50edb882..bd5ad39ad 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -80,13 +80,13 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con type = QtWarningMsg; } -#if !defined(V_NO_DEBUG) +#if !defined(V_NO_ASSERT) // I have decided to hide this annoing message for release builds. if ((type == QtWarningMsg) && msg.contains("setGeometryDp: Unable to set geometry")) { type = QtDebugMsg; } -#endif //!defined(V_NO_DEBUG) +#endif //!defined(V_NO_ASSERT) #if defined(Q_OS_MAC) # if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) && QT_VERSION < QT_VERSION_CHECK(5, 7, 0) diff --git a/src/libs/vmisc/vmisc.pro b/src/libs/vmisc/vmisc.pro index a674a672f..df48dc12d 100644 --- a/src/libs/vmisc/vmisc.pro +++ b/src/libs/vmisc/vmisc.pro @@ -103,11 +103,8 @@ CONFIG(debug, debug|release){ } noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols - DEFINES += V_NO_DEBUG + # do nothing } else { - noCrashReports{ - DEFINES += V_NO_DEBUG - } !macx:!win32-msvc*{ # Turn on debug symbols in release mode on Unix systems. # On Mac OS X temporarily disabled. TODO: find way how to strip binary file.