summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusabstractinterface_p.h
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-10 16:37:45 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-12 23:24:01 +0200
commitafec5935ea811755c14683a162868b1a5cfb7ed5 (patch)
tree56a7f06e38ac6f71d11ff8d1fa0ebd24100204a4 /src/dbus/qdbusabstractinterface_p.h
parent3a50e51b012eddeee1af6d2d781151b22f47de6f (diff)
CMake: Fix usage of debug frameworks on macOS
If an app wants use a debug framework of Qt, it is still expected that the app should link against the release version, and just set DYLD_IMAGE_SUFFIX=_debug when running the app. This was not the case before, where the CMake Config files told CMake to link explicitly against the debug libraries. This caused crashes due to the Qt plugin loader mechanism still trying to find a release platform plugin, which in turn would load release libraries, and thus the application would end up loading both debug and release plugins. Make sure the Config files in a framework case always reference the release libraries (even though this might be counter intuitive). Otherwise users of the Debug Config files would always get crashes. Fixes: QTBUG-78131 Fixes: QTBUG-78239 Change-Id: I88b1dc421477ad186012ca67b328a891128eb568 (cherry picked from commit be21ff11b7c25e3f6682c7987052557eca48e907) Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/dbus/qdbusabstractinterface_p.h')
0 files changed, 0 insertions, 0 deletions