[PyQt] newbie installing under OpenBSD

David Boddie david at boddie.org.uk
Sat Dec 22 14:05:35 GMT 2012


On Date: Sat, 22 Dec 2012 00:26:53 -0500, Alan Corey wrote:

> Following the directions in the README, when I do:
> python2.7 configure.py --verbose
> where I extracted in /usr/src/misc/pyqt4/PyQt-x11-gpl-4.9.6
> I get messages like:
> qtdirs.cpp:1:28: error: QCoreApplication: No such file or directory
> qtdirs.cpp:2:17: error: QFile: No such file or directory
> qtdirs.cpp:3:24: error: QLibraryInfo: No such file or directory
> qtdirs.cpp:4:23: error: QTextStream: No such file or directory
> qtdirs.cpp: In function 'int main(int, char**)':
> qtdirs.cpp:16: error: 'QCoreApplication' was not declared in this scope

You might find that you need to pass the -q option to the configure.py
script with the path to the qmake executable on your system. Perhaps that
will help to locate the header files.

David


More information about the PyQt mailing list