Ok, PyQt is getting closer to working...
I wiped all traces of Python 3.1.3, SIP and Qt and reinstalled from the beginning... Managed to get to the point of making it recognising my SIP installation, but now it is giving me another funky error message which goes along the lines of saying it doesn't know where Qt is... searching on the internet reveals you have to link the qmake file to the installation of PyQt using a command like:
Code:
python3 configure.py -q /usr/bin/qmake-4.7 -d /Library/Python/3.1/site-packages --use-arch i386
but it doesn't seem to work for me, still doesn't work.
running with the --verbose flag gives me the following:
Code:
Determining the layout of your Qt installation...
/usr/bin/qmake-4.7 -spec macx-g++ -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -Xarch_i386 -mmacosx-version-min=10.4 -g -gdwarf-2 -arch i386 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I.moc/debug-shared -F/Users/jamieroos/lib -o .obj/debug-shared/qtdirs.o qtdirs.cpp
In file included from ../../include/QtCore/QFile:1,
from qtdirs.cpp:1:
../../include/QtCore/qfile.h:1:85: error: ../../Downloads/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qfile.h: No such file or directory
In file included from ../../include/QtCore/QLibraryInfo:1,
from qtdirs.cpp:2:
../../include/QtCore/qlibraryinfo.h:1:96: error: ../../Downloads/qt-everywhere-opensource-src-4.6.3/src/corelib/global/qlibraryinfo.h: No such file or directory
In file included from ../../include/QtCore/QTextStream:1,
from qtdirs.cpp:3:
../../include/QtCore/qtextstream.h:1:91: error: ../../Downloads/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qtextstream.h: No such file or directory
qtdirs.cpp: In function ‘int main(int, char**)’:
qtdirs.cpp:7: error: ‘QFile’ was not declared in this scope
qtdirs.cpp:7: error: expected `;' before ‘outf’
qtdirs.cpp:9: error: ‘outf’ was not declared in this scope
qtdirs.cpp:9: error: ‘QIODevice’ has not been declared
qtdirs.cpp:9: error: ‘QIODevice’ has not been declared
qtdirs.cpp:9: error: ‘QIODevice’ has not been declared
qtdirs.cpp:12: error: ‘QTextStream’ was not declared in this scope
qtdirs.cpp:12: error: expected `;' before ‘out’
qtdirs.cpp:14: error: ‘out’ was not declared in this scope
qtdirs.cpp:14: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:14: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:15: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:15: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:21: error: ‘QT_VERSION’ was not declared in this scope
qtdirs.cpp:22: error: ‘QT_EDITION’ was not declared in this scope
qtdirs.cpp:24: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:90: error: ‘qreal’ was not declared in this scope
make: *** [.obj/debug-shared/qtdirs.o] Error 1
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem. ARGH. will try again later.
Bookmarks