[PyQt] Re: PyQt Installation Issues
Phil Thompson
phil at riverbankcomputing.co.uk
Tue Oct 16 13:14:38 BST 2007
On Tuesday 16 October 2007, Space Monkey wrote:
> Thank you for replying so fast.
>
> Here's what I got:
>
> [root at localhost PyQt-x11-gpl-4.3.1]# python configure.py -w
> Determining the layout of your Qt installation...
> /usr/bin/qmake -o qtdirs.mk qtdirs.pro
> make -f qtdirs.mk
> lsbc++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
> -I/usr/lib/lsb-build-base/qt3/mkspecs/linux-lsb-qt3 -I.
> -I/usr/include/lsb-build-base/qt3 -o qtdirs.o qtdirs.cpp qtdirs.cpp:1:17:
> error: QFile: No such file or directory
> qtdirs.cpp:2:24: error: QLibraryInfo: No such file or directory
> qtdirs.cpp:3:23: error: QTextStream: 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
> make: *** [qtdirs.o] Error 1
> Error: Failed to create ./qtdirs using platform linux-g++. Make sure your
> compiler is installed correctly and you have a working make on your PATH.
Looks like you need to use the --qmake flag to point to the Qt4 version of
qmake.
Phil
More information about the PyQt
mailing list