Results 1 to 3 of 3

Thread: PyQt installation problem. Really a Qt problem?

  1. #1
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default PyQt installation problem. Really a Qt problem?

    Hi all,

    I have some problems making PyQt work on Snow Leopard (10.6.2). I’m quite new to a lot of this, so I hope someone can help me out

    I’m using:
    Python 2.6.4
    Sip-4.10
    PyQt-mac-gpl-4.7 (not installed succesfully)
    qt-mac-cocoa-opensource-4.6.2

    Other QT verions did not work (error: Failed to determine the layout of your Qt installation when trying to configure PyQt)

    I am stuck on an error when trying to configure PyQt:
    Generating the C++ source for the QtCore module...
    sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-r] [-s suffix] [-t tag] [-w] [-x feature] [-z file] [file]
    Error: Unable to create the C++ code.
    Ive tried to rebuild sip using -arch i386 as well, but I’m not sure if it is sip causing this…
    Can it be a problem of the Qt install, or is sip or the configure.py file causing the trouble?

    I’ve tried configuring PyQt using "python configure.py -q /usr/bin/qmake -d /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/"

    Could compiling the Qt installation work instead of using a binary install?
    When browsing ftp://ftp.qt.nokia.com/qt/source/ for source versions, I could’nt find the mac version src for 4.6.x… Perhaps someone could point me to the correct source to use for 4.6.x and higher?

    Any hints and tips is appreciated!

  2. #2
    Join Date
    Feb 2010
    Posts
    96
    Thanks
    4
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: PyQt installation problem. Really a Qt problem?

    Do you have the sip-devel package? If not, get it.

  3. #3
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: PyQt installation problem. Really a Qt problem?

    Quote Originally Posted by prof.ebral View Post
    Do you have the sip-devel package? If not, get it.
    Thanks for your reply prof.ebral. I am however not sure what you mean... Searching around for sip-devel(opment) package did not make me any wiser...Where can I aquire this package? I have downloaded sip 4.10 from http://www.riverbankcomputing.co.uk/...e/sip/download and installed it using "python configure.py ; make ; sudo make install", but I assume that is not what you mean...

    thanks again

Similar Threads

  1. PyQT connect problem
    By di_zou in forum Newbie
    Replies: 1
    Last Post: 6th November 2009, 17:03
  2. [resolved] need help solving pyqt problem!!
    By meGenius in forum Newbie
    Replies: 1
    Last Post: 6th March 2009, 17:10
  3. pyqt custom QItemDelegate problem
    By spohle in forum Qt Programming
    Replies: 0
    Last Post: 31st January 2009, 01:48
  4. Problem with PyQt 4.4.2 and Qt 4.4.0
    By tlam in forum Installation and Deployment
    Replies: 1
    Last Post: 6th August 2008, 16:34
  5. While loop problem in pyqt
    By neverlander in forum Qt Programming
    Replies: 6
    Last Post: 17th December 2007, 19:03

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.