--- designer.pro.orig	2017-07-03 10:40:17.000000000 -0700
+++ designer.pro	2017-11-04 06:49:23.000000000 -0700
@@ -24,3 +24,9 @@
 
 target.path = $$[QT_INSTALL_PLUGINS]/designer
 INSTALLS += target
+
+!debug_and_release|build_pass {
+	CONFIG(debug, debug|release):macx {
+		TARGET = $$member(TARGET, 0)_debug
+	}
+}
