Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.0 RC
-
None
-
4a5a1ff197 (qt/qtinterfaceframework/dev) 83ca3d95a8 (qt/qtinterfaceframework/dev) fc85522771 (qt/qtinterfaceframework/6.2) 8e8a319024 (qt/qtinterfaceframework/6.2) 3879e162ac (qt/qtinterfaceframework/6.3) 14ae961127 (qt/qtinterfaceframework/6.3)
Description
Tried to build Qt 6.3.0 for Desktop Ubuntu from installed Src folder (Src folder is downloaded via online installer qt-unified-linux-x64-4.3.0-1-online.run)
Configuration cmd:
../Src/configure -prefix /host/tatiana/Qt/6.3.0/host
In this case there is an error on compilation step after cmake --build . --parallel 8:
Configuring 'qtinterfaceframework' CMake Error at qtinterfaceframework/src/interfaceframework/Qt6InterfaceFrameworkMacros.cmake:379 (message): Error while running the ifcodegen: /home/tatiana/Qt/6.3.0/host/qtinterfaceframework/src/tools/ifcodegen/qtif_qface_virtualenv/bin/python /home/tatiana/Qt/6.3.0/Src/qtinterfaceframework/src/tools/ifcodegen/generate.py -T /home/tatiana/Qt/6.3.0/Src/qtinterfaceframework/src/tools/ifcodegen/templates --template=frontend --force --module=QtIfVehicleFunctions /home/tatiana/Qt/6.3.0/Src/qtinterfaceframework/src/ifvehiclefunctions/ifvehiclefunctions.qface /home/tatiana/Qt/6.3.0/host/qtinterfaceframework/src/ifvehiclefunctions Traceback (most recent call last): File "/home/tatiana/Qt/6.3.0/Src/qtinterfaceframework/src/tools/ifcodegen/generate.py", line 40, in <module> from qface.generator import FileSystem, Generator File "/home/tatiana/Qt/6.3.0/host/qtinterfaceframework/src/tools/ifcodegen/qtif_qface_virtualenv/lib/python3.8/site-packages/qface/generator.py", line 24, in <module> from .filters import get_filters File "/home/tatiana/Qt/6.3.0/host/qtinterfaceframework/src/tools/ifcodegen/qtif_qface_virtualenv/lib/python3.8/site-packages/qface/filters.py", line 3, in <module> from .helper import qtcpp File "/home/tatiana/Qt/6.3.0/host/qtinterfaceframework/src/tools/ifcodegen/qtif_qface_virtualenv/lib/python3.8/site-packages/qface/helper/qtcpp.py", line 5, in <module> from jinja2 import environmentfilter ImportError: cannot import name 'environmentfilter' from 'jinja2' (/home/tatiana/Qt/6.3.0/host/qtinterfaceframework/src/tools/ifcodegen/qtif_qface_virtualenv/lib/python3.8/site-packages/jinja2/__init__.py) Call Stack (most recent call first): qtinterfaceframework/src/interfaceframework/Qt6InterfaceFrameworkMacros.cmake:393 (qt6_ifcodegen_generate) qtinterfaceframework/src/ifvehiclefunctions/CMakeLists.txt:8 (qt_ifcodegen_generate)
Attachments
Issue Links
- is duplicated by
-
QTBUG-102048 QtInterfaceframework build broken because of updated jinja2 dependency
-
- Closed
-
- relates to
-
QTBUG-102348 Updated python packages can cause the build to fail
-
- Closed
-
For Gerrit Dashboard: QTBUG-102126 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
403190,2 | Update the bundled qface to the latest version (2.0.7) | dev | qt/qtinterfaceframework | Status: MERGED | -1 | 0 |
403215,2 | ifcodegen: Remove the import of the jinja2 contextfunction | dev | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
403267,2 | Update the bundled qface to the latest version (2.0.7) | 6.3 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
403268,2 | Update the bundled qface to the latest version (2.0.7) | 6.2 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
403269,2 | Update the bundled qface to the latest version (2.0.7) | 6.3.0 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
403270,2 | ifcodegen: Remove the import of the jinja2 contextfunction | 6.2 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
403271,2 | ifcodegen: Remove the import of the jinja2 contextfunction | 6.3.0 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
403272,2 | ifcodegen: Remove the import of the jinja2 contextfunction | 6.3 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
420183,4 | Update the bundled qface to the latest version (2.0.8) | 5.15 | qt/qtivi | Status: MERGED | +2 | 0 |