summaryrefslogtreecommitdiff
path: root/mkspecs/macx-pbuilder
Side-by-side diff
Diffstat (limited to 'mkspecs/macx-pbuilder') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkspecs/macx-pbuilder/Info.plist.app4
-rwxr-xr-xmkspecs/macx-pbuilder/qmake.conf16
2 files changed, 12 insertions, 8 deletions
diff --git a/mkspecs/macx-pbuilder/Info.plist.app b/mkspecs/macx-pbuilder/Info.plist.app
index 9d6c42a..4da07e9 100755
--- a/mkspecs/macx-pbuilder/Info.plist.app
+++ b/mkspecs/macx-pbuilder/Info.plist.app
@@ -5,3 +5,3 @@
<key>CFBundleIconFile</key>
- <string>application.icns</string>
+ <string>@ICON@</string>
<key>CFBundlePackageType</key>
@@ -12,2 +12,4 @@
<string>ttxt</string>
+ <key>CFBundleExecutable</key>
+ <string>@EXECUTABLE@</string>
<key>NOTE</key>
diff --git a/mkspecs/macx-pbuilder/qmake.conf b/mkspecs/macx-pbuilder/qmake.conf
index 6d765a8..da820ac 100755
--- a/mkspecs/macx-pbuilder/qmake.conf
+++ b/mkspecs/macx-pbuilder/qmake.conf
@@ -8,5 +8,5 @@ MAKEFILE_GENERATOR = PROJECTBUILDER
TEMPLATE = app
-CONFIG += qt warn_on release lib_version_first incremental resource_fork plugin_no_soname
+CONFIG += qt warn_on release lib_version_first incremental plugin_no_soname link_prl
-QMAKE_CC = cc
+QMAKE_CC =
QMAKE_LEX = flex
@@ -20,3 +20,3 @@ QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF =
-QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O3)
+QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -Os)
QMAKE_CFLAGS_DEBUG = -g
@@ -26,3 +26,3 @@ QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
-QMAKE_CXX = c++
+QMAKE_CXX =
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA)
@@ -49,7 +49,7 @@ QMAKE_LFLAGS_RELEASE =
QMAKE_LFLAGS_DEBUG =
-QMAKE_LFLAGS_SHAPP = -prebind
+QMAKE_LFLAGS_APP = -prebind
QMAKE_LFLAGS_SHLIB = -dynamiclib
QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
-QMAKE_LFLAGS_PLUGIN = -bundle
-QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}@executable_path/../Frameworks/
+QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
+#QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}@executable_path/../Frameworks/
QMAKE_LFLAGS_THREAD =
@@ -79 +79,3 @@ QMAKE_DEL_FILE = rm -f
QMAKE_DEL_DIR = rmdir
+QMAKE_CHK_DIR_EXISTS = test -d
+QMAKE_MKDIR = mkdir -p