Pyside 1.2.1 compile error (Python 3, QT4.8.5 OSX 10.7.5)



  • Hi, I need help to solve this problem please.

    I have Pyside 1.2.1 as follows:

    Gregs-MacBook-Pro-2:PySide-1.2.0 Greg$ ls
    MANIFEST.in popenasync.py setup.cfg
    PKG-INFO pyside_build setup.py
    README.rst pyside_install sources
    pycache pyside_package utils.py
    distribute-0.6.45.tar.gz pyside_postinstall.py
    distribute_setup.py qtinfo.py
    Gregs-MacBook-Pro-2:PySide-1.2.0 Greg$

    PyQt4 is installed and works, as does Python 3.3. However when I $ python3 setup.py install I get......

    In file included from /Users/Greg/Downloads/PySide-1.2.0/sources/pyside/plugins/customwidgets.cpp:23:
    /Users/Greg/Downloads/PySide-1.2.0/sources/pyside/plugins/customwidget.h:27:10: fatal error: 'QtDesigner/QtDesigner'
    file not found
    #include <QtDesigner/QtDesigner>
    ^
    2 warnings and 1 error generated.
    make[2]: *** [plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.o] Error 1
    make[1]: *** [plugins/CMakeFiles/uiplugin.dir/all] Error 2
    make: *** [all] Error 2
    error: Error compiling pyside
    Gregs-MacBook-Pro-2:PySide-1.2.0 Greg$

    What am I doing wrong? This is very frustrating as PySide and PyQt4 works on my windows desktop under eclipse ; PyQt4 works on my MAC under eclipse, yet PySide does not. I need to do both in order to prove the cross-platform capability of PySide.

    Your help would be appreciated.

    PS I am new to this game, so clear instructions on how to resolve this problem would be most appreciated.

    Many thanks in advance.

    Greg


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.