On Thursday 10 June 2010 03:46:46 Matti Airas 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#l
> ine9) --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/qte
> st_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.
> 

We fixed all compilation problems under Mac OS in the past two days, 2 tests 
from shiboken still failing due to problems in libsample (the sample library 
we use to create the tests for shiboken) not in the generator itself and 5 
tests failed on PySide.

97% tests passed, 5 tests failed out of 183
         58 - qhandle_test.py (Failed)
        121 - qfontdialog_test.py (Timeout)
        146 - qstring_qkeysequence_test.py (Failed)
        162 - x11_symbols.py (Failed)
        182 - basic_playing_test.py (Timeout)

Now that we finally have a build farm we can assure to release the next 
version only when all test pass on all platforms on our build farm :-)

P.S.: We have also a windows machine on the build farm, but we hadn't time to 
proper setup de build bot steps to compile PySide on it yet.

> Regards,
> Jari
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to