[PyQt] qgeolocation.h: No such file or directory

John Wainwright johnw at lyric.com
Thu Nov 5 02:32:49 GMT 2015

Or grab the source tree and copy the missing header across into the expected include directories, for example for me on OS-X I copied qt-everywhere-opensource-src-5.5.1/qtlocation/include/QtPositioning/qgeolocation.h into Qt/5.5/clang_64/lib/QtPositioning.framework/Versions/5/Headers.   This fixed things for me.


> On Nov 4, 2015, at 2:27 PM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> On 4 Nov 2015, at 8:48 p.m., Kevin Mcintyre <kebin70 at gmail.com> wrote:
>> Just pulled the latest snapshots of SIP and PyQt and got the following error on install with ubuntu 14.04.  I see a bug report for similar error on windows.
>> Any quick pointers to resolve thanks?
>> https://bugreports.qt.io/browse/QTBUG-48812
>> g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/python2.7 -I../../Qt5.5.1/5.5/gcc_64/include -I../../Qt5.5.1/5.5/gcc_64/include/QtGui -I../../Qt5.5.1/5.5/gcc_64/include/QtPositioning -I../../Qt5.5.1/5.5/gcc_64/include/QtCore -I. -I../../Qt5.5.1/5.5/gcc_64/mkspecs/linux-g++ -o sipQtPositioningQGeoLocation.o sipQtPositioningQGeoLocation.cpp
>> /home/ubuntu/PyQt-gpl-5.5.2/sip/QtPositioning/qgeolocation.sip:28:26: fatal error: qgeolocation.h: No such file or directory
>> #include <qgeolocation.h>
> --disable QtPositioning
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

More information about the PyQt mailing list