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
@@ -4,5 +4,5 @@
<dict>
<key>CFBundleIconFile</key>
- <string>application.icns</string>
+ <string>@ICON@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
@@ -11,4 +11,6 @@
<key>CFBundleSignature</key>
<string>ttxt</string>
+ <key>CFBundleExecutable</key>
+ <string>@EXECUTABLE@</string>
<key>NOTE</key>
<string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
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
@@ -7,7 +7,7 @@
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
QMAKE_LEXFLAGS =
@@ -19,5 +19,5 @@ QMAKE_CFLAGS_DEPS = -M
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
QMAKE_CFLAGS_SHLIB = -fPIC
@@ -25,5 +25,5 @@ QMAKE_EXTENSION_SHLIB = dylib
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
-QMAKE_CXX = c++
+QMAKE_CXX =
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA)
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
@@ -48,9 +48,9 @@ QMAKE_LFLAGS = $(LFLAGS_EXTRA)
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 =
QMAKE_RPATH =
@@ -78,2 +78,4 @@ QMAKE_MOVE = mv -f
QMAKE_DEL_FILE = rm -f
QMAKE_DEL_DIR = rmdir
+QMAKE_CHK_DIR_EXISTS = test -d
+QMAKE_MKDIR = mkdir -p