[PyQt] Lower bound is not a time version

Phil Thompson phil at riverbankcomputing.com
Mon Feb 4 11:02:37 GMT 2019


On 4 Feb 2019, at 10:38 am, Florian Bruhin <me at the-compiler.org> wrote:
> 
> Hi,
> 
> when trying to build the latest PyQtWebEngine snapshot with the latest
> PyQt/sip snapshots, this happens:
> 
>  Configuring PyQtWebEngine 0.1.dev1902021646...
>  The PyQtWebEngine .sip files will be installed in
>  /home/florian/code/qt/venvs/dev/share/sip/PyQt5.
>  PyQtWebEngine will be installed in
>  /home/florian/code/qt/venvs/dev/lib/python3.7/site-packages/PyQt5.
>  PyQt 5.12.dev1902021244 is being used.
>  Qt 5.12.0 is being used.
>  sip 4.19.14.dev1901281040 is being used.
>  The sip executable is /home/florian/code/qt/venvs/dev/bin/sip.
>  PyQtWebEngine is being built with 'protected' redefined as 'public'.
>  The QScintilla API file will be installed in /usr/share/qt/qsci/api/python.
>  Generating the C++ source for the QtWebEngineWidgets module...
>  /home/florian/code/qt/venvs/dev/bin/sip -t QtWebEngine_5_12_0 -n PyQt5.sip -t WS_X11 -t Qt_5_12_0 -B Qt_6_0_0 -I /home/florian/code/qt/venvs/dev/share/sip/PyQt5 -a QtWebEngineWidgets.api -P -o -c /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/QtWebEngineWidgets -I /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/sip /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
>  Generating the .pro file for the QtWebEngineWidgets module...
>  Generating the C++ source for the QtWebEngine module...
>  /home/florian/code/qt/venvs/dev/bin/sip -t QtWebEngine_5_12_0 -n PyQt5.sip -t WS_X11 -t Qt_5_12_0 -B Qt_6_0_0 -I /home/florian/code/qt/venvs/dev/share/sip/PyQt5 -a QtWebEngine.api -P -o -c /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/QtWebEngine -I /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/sip /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/sip/QtWebEngine/QtWebEnginemod.sip
>  sip: /home/florian/code/qt/pyqt_src/dev/PyQtWebEngine_gpl-0.1.dev1902021646/sip/QtWebEngine/qquickwebengineprofile.sip:23: Lower bound is not a time version
>  Error: Unable to create the C++ code.
> 
> The offending line is "%If (QtWebEngine_5_6_0 -)"

I've seen things like this from time to time, but they are very transitory. I think it is related to picking up older .sip files instead the latest ones. Your PyQt5 installation may still have the olde web engine .sip files installed.

Phil


More information about the PyQt mailing list