[Kst] branches/work/kst/portto4/kst

Peter Kümmel syntheticpp at gmx.net
Mon Nov 22 20:43:54 CET 2010


SVN commit 1199811 by kuemmel:

Now we also support OSX

 M  +13 -5     INSTALL  
 M  +1 -1      misc/macdeploykst  
 M  +1 -1      src/widgets/widgets.pro  


--- branches/work/kst/portto4/kst/INSTALL #1199810:1199811
@@ -61,13 +61,21 @@
 *********************************************
 Mac OS
 *********************************************
-#0.  Not currently supported due to lack of a mac.  We'd love some help here!
-#1.  Same as the steps for Linux with some modifications required.
-#2.  The qmake command line needs to be updated to include -spec macx-g++.
-#3.  An error has been observed compiling view.cpp, view.h may need to be
-     updated to change QXmlStreamWriter to QCoreXmlStreamWriter on line 45.
+Building without Xcode (out-of-source):
+  qmake ../kst/kst.pro  -spec macx-g++ -config release
+  make
 
+Fixing the link pathes (installs kst frameworks to /Library/Frameworks)
+  ../kst/misc/macdeploykst
 
+Starting Kst from command line:
+  ./build/bin/kst2.app/Contents/MacOS/kst2
+
+Creating a dmg in /build/bin:
+  ../kst/misc/macdeploykst -dmg 
+
+
+
 *********************************************
 Windows
 *********************************************
--- branches/work/kst/portto4/kst/misc/macdeploykst #1199810:1199811
@@ -61,7 +61,7 @@
 install_kst_libs widgets
 
 # this copies and fixes the frameworks
-macdeployqt build/bin/kst2.app -dmg
+macdeployqt build/bin/kst2.app $1
 
 
 
--- branches/work/kst/portto4/kst/src/widgets/widgets.pro #1199810:1199811
@@ -22,7 +22,7 @@
     $$OUTPUT_DIR/src/widgets/tmp
 
 macx {
-	CONFIX += lib_bundle
+	CONFIG += lib_bundle
 	LIBS += -F$$OUTPUT_DIR/lib
 	qtAddLibrary(kst2lib)
 	qtAddLibrary(kst2math)


More information about the Kst mailing list