summaryrefslogtreecommitdiff
path: root/libresourceqt/libresourceqt.pro
diff options
context:
space:
mode:
Diffstat (limited to 'libresourceqt/libresourceqt.pro')
-rw-r--r--libresourceqt/libresourceqt.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/libresourceqt/libresourceqt.pro b/libresourceqt/libresourceqt.pro
index 01cbca5..bf27d09 100644
--- a/libresourceqt/libresourceqt.pro
+++ b/libresourceqt/libresourceqt.pro
@@ -28,7 +28,9 @@ MOC_DIR = moc
CONFIG += qt link_pkgconfig dll
QT = core
PKGCONFIG += dbus-1 libresource0
-DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT QT_NO_DEBUG_STREAM
+CONFIG(release, release|debug) {
+ DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT QT_NO_DEBUG_STREAM
+}
# Install directives
headers.files = $${PUBLIC_HEADERS}