[QGIS-Developer] Qt6 builds and plugins -- ready for testing!

Richard Duivenvoorde rdmailings at duif.net
Sat Jan 27 01:39:26 PST 2024


On 1/27/24 00:31, Nyall Dawson wrote:
> Looks like you'll need https://github.com/qgis/QGIS/pull/56033 too.
> Try removing that line for now.

Yep, thanks. Merged/fixed now apparently.

Next issue with qwt:

FAILED: src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o
...
In file included from /home/richard/git/qgisqt6/src/gui/raster/qgsrasterhistogramwidget.cpp:45:
/usr/include/qwt/qwt_plot_layout.h:84:51: error: invalid conversion from ‘int’ to ‘QwtPlotLayout::Option’ [-fpermissive]
    84 |         const QRectF &plotRect, Options options = 0x00 );
       |                                                   ^~~~
       |                                                   |
       |                                                   int
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:1401,
                  from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtguiglobal.h:7,
                  from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qtwidgetsglobal.h:7,
                  from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qapplication.h:7,
                  from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/QApplication:1,
                  from /home/richard/git/qgisqt6/src/core/qgsapplication.h:19,
                  from /home/richard/git/qgisqt6/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qflags.h:74:45: note:   initializing argument 1 of ‘constexpr QFlags<T>::QFlags(Enum) [with Enum = QwtPlotLayout::Option]’
    74 |     constexpr inline Q_IMPLICIT QFlags(Enum flags) noexcept : i(Int(flags)) {}
       |                                        ~~~~~^~~~~
[344/2107] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/qgis_gui_autogen/mocs_compilation.cpp.o

Not sure if this has something to do with my qwt install from experimental/sid:

libqwt-qt6-6.2/now 6.2.0-1 amd64 [installed,local]
   Qt widgets library for technical applications (runtime, qt6)

I think the version is more or less in line with my qt6 from testing/trixie?

pyqt6-dev/testing,now 6.6.1-2 all [installed]
   development files for PyQt6
libqt6core6/testing,now 6.4.2+dfsg-21 amd64 [installed,automatic]
   Qt 6 core module

Any hint to overcome this one?

Regards,

Richard Duivenvoorde

PS: let me know if this is totally not helpful, I'm just eager to know if QGIS-qt6 is building (or I can make it build) on Debian testing/trixie



More information about the QGIS-Developer mailing list