[PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

Anzir Boodoo ab at transcience.co.uk
Thu Jun 27 15:18:55 BST 2013


Phil,
On 25 Jun 2013, at 15:42, Phil Thompson wrote:

> On Tue, 25 Jun 2013 15:36:59 +0100, Anzir Boodoo <ab at transcience.co.uk>
> wrote:
>> Hello,
>> 
>> I've been trying to install PyQt 5 on Mac OS X 10.6.8...

Phil suggested:

> Use the --qmake flag to point to Qt5's qmake. You are probably defaulting
> to Qt4's.

It turned out I had Qt 5 installed in my user folder, and was trying to install PyQt from a different account...

So, with Qt 5 safely (I guess) installed in /usr/local/ , I tried again...

> Anzir-Boodoos-MacBook-Pro-2:PyQt-gpl-5.0 pbadmin$ sudo python configure.py --qmake /usr/local/Qt5.0.2/5.0.2/clang_64/bin/qmake --verbose
> Password:
> Querying qmake about your Qt installation...
> Determining the details of your Qt installation...
> /usr/local/Qt5.0.2/5.0.2/clang_64/bin/qmake -o qtdetail.mk qtdetail.pro
> make -f qtdetail.mk
> clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIE -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/local/Qt5.0.2/5.0.2/clang_64/mkspecs/macx-clang -I. -I/usr/local/Qt5.0.2/5.0.2/clang_64/include -I/usr/local/Qt5.0.2/5.0.2/clang_64/include/QtCore -I/usr/local/Qt5.0.2/5.0.2/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -o qtdetail.o qtdetail.cpp
> make: clang++: No such file or directory
> make: *** [qtdetail.o] Error 1
> Error: Failed to determine the detail of your Qt installation. Try again using
> the --verbose flag to see more detail about the problem.


(note that I'd sudo'ed (it failed with a permission problem when I didn't), and also explicitly pointed at Qt 5.0.2's qmake

I have Xcode installed in /Developer (the default installation location), so clang is at /Developer/usr/bin/ - is that the right location?

anyway, there does appear to be no such thing installed as clang++ ... is this a typo somewhere or have I done something else wrong?

Thanks

-- 
Anzir Boodoo, PhD student
The Institute for Transport Studies, The University of Leeds, LEEDS LS2 9JT
QUEEN'S ANNIVERSARY PRIZE WINNERS - 'sustained transport excellence' - www.its.leeds.ac.uk/queensprize



More information about the PyQt mailing list