Hi Jari, We fixed this problem on QTest yesterday, can you get the HEAD of PySide/master on gitorious and try again.
BR On Thu, Jun 10, 2010 at 3:46 AM, Matti Airas <[email protected]> wrote: > -------- Original Message -------- > Subject: PySide experiments on Mac > Date: Thu, 10 Jun 2010 08:34:13 +0200 > From: Tenhunen Jari (Nokia-D/Oulu) <[email protected]> > To: [email protected] <[email protected]> > CC: Airas Matti.P (Nokia-D/Helsinki) <[email protected]> > > Hi, > > As an interested early adopter, I tried yesterday building PySide on Mac OS > X (Snow Leopard) but unfortunately it wasn't a very smooth ride. > > Python, Qt and CMake were installed from MacPorts: > python26 @2.6.5_1+darwin (active) > qt4-mac @4.6.2_1 (active) > cmake @2.8.1_2 (active) > > And here are the findings: > > 1) CMake must be run with -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib (or > whatever your install prefix is). Otherwise the dynamically linked libraries > don't get the full paths and are not found when running the binaries. > Perhaps this is something that should be in the CMakelists.txt files or in > the instructions? > > 2) in PySide/CMakelists.txt line 9 > (http://qt.gitorious.org/pyside/pyside/blobs/master/PySide/CMakeLists.txt#line9) > --include-paths=${pyside_SOURCE_DIR}:${QT_INCLUDE_DIR} > does not work because QT_INCLUDE_DIR is a space-separated string of paths. > This breaks generatorrunner as it expects a colon-separated list here. > > This sounds like a bug but I don't know if it's in PySide or CMake or > something else. > > 3) Building the bindings fails eventually: > [ 80%] Building CXX object > PySide/QtTest/CMakeFiles/QtTest.dir/PySide/QtTest/qtest_wrapper.cpp.o > /Users/jari/pyside/pyside-qt4.6+0.3.2/build/PySide/QtTest/PySide/QtTest/qtest_wrapper.cpp:1181: > error: expected initializer before '<' token > > I filed this last item as http://bugs.openbossa.org/show_bug.cgi?id=238. > > > This is not a blocker for me as I can play with PySide in other machines, > but it would be nice to get PySide working on Mac too, and eventually > distributed e.g. via MacPorts. > > > Regards, > Jari > _______________________________________________ > PySide mailing list > [email protected] > http://lists.openbossa.org/listinfo/pyside > -- Renato Araujo Oliveira Filho Instituto Nokia de Tecnologia - INdT Mobile: +55 (81) 8704-2144 _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
