From 931c0de439312b81e7cce4719a2c659898a90618 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 11 Dec 2017 15:52:24 +0200 Subject: [PATCH] Breakpoints do not work if debug the app inside of app bundle. --HG-- branch : develop --- src/app/tape/tape.pro | 4 ++++ src/app/valentina/valentina.pro | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/app/tape/tape.pro b/src/app/tape/tape.pro index 16b6b6ee2..f7beb7f87 100644 --- a/src/app/tape/tape.pro +++ b/src/app/tape/tape.pro @@ -306,6 +306,10 @@ CONFIG(release, debug|release){ QMAKE_LFLAGS_RELEASE = } } +} else { +# Breakpoints do not work if debug the app inside of bundle. In debug mode we turn off creating a bundle. +# Probably it will breake some dependencies. Version for Mac designed to work inside an app bundle. + CONFIG -= app_bundle } DVCS_HESH=$$FindBuildRevision() diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index a5bab9706..d0fa4db48 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -89,6 +89,10 @@ CONFIG(release, debug|release){ QMAKE_LFLAGS_RELEASE = } } +} else { +# Breakpoints do not work if debug the app inside of bundle. In debug mode we turn off creating a bundle. +# Probably it will breake some dependencies. Version for Mac designed to work inside an app bundle. + CONFIG -= app_bundle } DVCS_HESH=$$FindBuildRevision()