Browse Source

Merge patch from Pascal Bach

Antialize 15 years ago
parent
commit
01d4bafaa8
4 changed files with 21 additions and 2 deletions
  1. 5 0
      src/image/image.pro
  2. 5 0
      src/pdf/pdf.pro
  3. 1 1
      src/shared/commondocparts.cc
  4. 10 1
      static_qt_conf_osx

+ 5 - 0
src/image/image.pro

@@ -44,6 +44,11 @@ unix {
     INSTALLS += manins
 }
 
+macx {
+    CONFIG -= app_bundle
+    CONFIG += x86
+}
+
 INSTALLS += target
 target.path=$$INSTALLBASE/bin
 

+ 5 - 0
src/pdf/pdf.pro

@@ -44,6 +44,11 @@ unix {
     INSTALLS += manins
 }
 
+macx {
+    CONFIG -= app_bundle
+    CONFIG += x86
+}
+
 INSTALLS += target
 target.path=$$INSTALLBASE/bin
 

+ 1 - 1
src/shared/commondocparts.cc

@@ -60,7 +60,7 @@ void CommandLineParserBase::outputAuthors(Outputter * o) const {
 	o->paragraph(
 		QString::fromUtf8(
 			"Written by Jan Habermann, Christian Sciberras and Jakob Truelsen. "
-			"Patches by Mehdi Abbad, Lyes Amazouz, Emmanuel Bouthenot, Benoit Garret and Mário Silva."));
+			"Patches by Mehdi Abbad, Lyes Amazouz, Pascal Bach, Emmanuel Bouthenot, Benoit Garret and Mário Silva."));
 	o->endSection();
 }
 

+ 10 - 1
static_qt_conf_osx

@@ -33,4 +33,13 @@
 -no-opengl
 -no-xsync
 -no-javascript-jit
-#-no-egl
+-no-egl
+# Use the carbon version as cocoa doesn't support static build
+-carbon
+# Use the Snow Leopard SDK
+-sdk /Developer/SDKs/MacOSX10.6.sdk
+# Use the Leopard SDK
+# -sdk /Developer/SDKs/MacOSX10.5.sdk
+-arch x86 
+-no-dwarf2 
+-no-framework