[PyQt] Re: PyQT | QT4-X11

Jelle jelleferinga at gmail.com
Wed Jan 14 16:09:15 GMT 2009


I used macport qt4-x11, which builded just perfectly, its really impressive
 how `native` the demos looks on x11 in fact.

Then I had a pretty good thing going trying to compile PyQT.
I only had to set line 1511 of configure.py from 
        args = "-spec macx-g++ " + args

to
        args = "-spec /opt/local/share/qt4-x11/mkspecs/macx-g++ " + args

It failed to compile QtOpengl, most likely because x11 uses a different lib.

Now, so far I was pretty content, but when I ran `make clean` and re ran python
 configure.py, all grinds to a halt:

=============================================
brutus:PyQt-mac-gpl-4.4.4--- jelleferinga$ python configure.py -w --verbose
Determining the layout of your Qt installation...
/opt/local/bin/qmake -spec /opt/local/share/qt4-x11/mkspecs/macx-g++
 -o qtdirs.mk qtdirs.pro

make -f qtdirs.mk
g++ -c -pipe -Os -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED
 -I/opt/local/share/qt4-x11/mkspecs/macx-g++ -I. 
-I/opt/local/include/qt4-x11/QtCore -I/opt/local/include/qt4-x11/QtCore
 -I/opt/local/include/qt4-x11 -I. -I. -o qtdirs.o qtdirs.cpp

g++ -headerpad_max_install_names -o qtdirs qtdirs.o    -L/opt/local/lib
 -lQtCore -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -lresolv -lz -lm
 -lgthread-2.0 -lglib-2.0 -lintl -liconv

Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
brutus:PyQt-mac-gpl-4.4.4--- jelleferinga$ 
=============================================

What's frustrating is that when looking through the qtdir.* files everything
 looks well set up and good to go.

When I run qmake in the directory all is fine, running configure.py through
the debugger nothing surprising shows up.
Even the sipconfig.Configuration()._macros() looks fine.

I'm out of ideas, which is too bad, since it started so promising.
I've reran all in new, clean PyQt-mac-gpl-4.4.4 directory, and surprisingly,
 the *exact* same errors shows up. So, PyQT is not at suspect no more ;')

Any suggestions are *much* appreciated.

Many thanks in advance,

-jelle















More information about the PyQt mailing list