I've successfully made a PySide build on a pretty ordinary Snow
Leopard install, but it was a bit of a pain. Here's how I did it.

1. got the Qt SDK (I'd done this a while ago and ended up with 4.6.2),
and installed cmake from MacPorts.
2. Started with
http://qt.gitorious.org/~lamikae/pyside/lamikae-pyside-packaging/blobs/master/osx/Makefile
(which I found referenced at
http://developer.qt.nokia.com/wiki/PySideBinariesMacOSX) but made some
modifications to use the standard Qt SDK (which I've put up at
http://github.com/kcarnold/pyside-packaging).
3. `make deps`, except that pyside-tools declares a dependency on
PySide, which seems to be false. Trivial diff at end of email.
4. `make pyside`. While you wait, go do 5 other things in your to-do list.

Notes:
- the generated package puts stuff in both
/Library/Python/2.6/site-packages/PySide/ and
/usr/lib/python2.6/site-packages/pysideuic, which it probably
shouldn't.
- PySide hardly has a unique claim to the executable name "docgenerator".

I've uploaded the resulting package to
http://github.com/downloads/kcarnold/pyside-packaging/pyside-0.4.1-qt47-py26apple.pkg
-- the name is slightly wrong because it's Qt 4.6.2, but at least our
Python app starts and runs.

The promised diff for pyside-tools:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6afb906..e16621a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ project(pyside-tools)

 find_package(PythonInterp REQUIRED)
 find_package(Qt4 4.5.0 REQUIRED)
-find_package(PySide 0.4.0 REQUIRED)
+#find_package(PySide 0.4.0 REQUIRED)

 enable_testing()


-Ken
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to