Richard,

There's something weird with your installation. According to https://salsa.debian.org/qt-kde-team/extras/qwt/-/blob/debian/master/src/qwt_plot_layout.h?ref_type=heads#L84, this should be

|constQRectF& plotRect, Options options = Options());|

According to https://packages.debian.org/experimental/amd64/libqwt-headers/filelist , this file is provided by the libqwt-header package. Check that it is at version 6.2.0-1

The version you have is presumably 6.1.4-2: https://salsa.debian.org/qt-kde-team/extras/qwt/-/blob/debian/6.1.4-2/src/qwt_plot_layout.h?ref_type=tags#L84

Even

Le 27/01/2024 à 10:39, Richard Duivenvoorde via QGIS-Developer a écrit :
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

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to