<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Richard,</p>
<p>There's something weird with your installation. According to
<a class="moz-txt-link-freetext" href="https://salsa.debian.org/qt-kde-team/extras/qwt/-/blob/debian/master/src/qwt_plot_layout.h?ref_type=heads#L84">https://salsa.debian.org/qt-kde-team/extras/qwt/-/blob/debian/master/src/qwt_plot_layout.h?ref_type=heads#L84</a>,
this should be</p>
<p><code><span class="hljs-params"> </span><span class="hljs-type">const</span><span
class="hljs-params"> QRectF& plotRect, Options options =
Options</span><span class="hljs-params">()</span><span
class="hljs-params"> )</span><span class="">;</span></code></p>
<div class="moz-cite-prefix">According to
<a class="moz-txt-link-freetext" href="https://packages.debian.org/experimental/amd64/libqwt-headers/filelist">https://packages.debian.org/experimental/amd64/libqwt-headers/filelist</a>
, this file is provided by the libqwt-header package. Check that
it is at version 6.2.0-1</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The version you have is presumably
6.1.4-2:
<a class="moz-txt-link-freetext" href="https://salsa.debian.org/qt-kde-team/extras/qwt/-/blob/debian/6.1.4-2/src/qwt_plot_layout.h?ref_type=tags#L84">https://salsa.debian.org/qt-kde-team/extras/qwt/-/blob/debian/6.1.4-2/src/qwt_plot_layout.h?ref_type=tags#L84</a><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Even</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 27/01/2024 à 10:39, Richard
Duivenvoorde via QGIS-Developer a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:f5b61c5b-9c45-4353-95d1-ced20b10f919@duif.net">On
1/27/24 00:31, Nyall Dawson wrote:
<br>
<blockquote type="cite">Looks like you'll need
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/pull/56033">https://github.com/qgis/QGIS/pull/56033</a> too.
<br>
Try removing that line for now.
<br>
</blockquote>
<br>
Yep, thanks. Merged/fixed now apparently.
<br>
<br>
Next issue with qwt:
<br>
<br>
FAILED:
src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o
<br>
...
<br>
In file included from
/home/richard/git/qgisqt6/src/gui/raster/qgsrasterhistogramwidget.cpp:45:<br>
/usr/include/qwt/qwt_plot_layout.h:84:51: error: invalid
conversion from ‘int’ to ‘QwtPlotLayout::Option’ [-fpermissive]
<br>
84 | const QRectF &plotRect, Options options = 0x00
);
<br>
| ^~~~
<br>
| |
<br>
| int
<br>
In file included from
/usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:1401,
<br>
from
/usr/include/x86_64-linux-gnu/qt6/QtGui/qtguiglobal.h:7,
<br>
from
/usr/include/x86_64-linux-gnu/qt6/QtWidgets/qtwidgetsglobal.h:7,
<br>
from
/usr/include/x86_64-linux-gnu/qt6/QtWidgets/qapplication.h:7,
<br>
from
/usr/include/x86_64-linux-gnu/qt6/QtWidgets/QApplication:1,
<br>
from
/home/richard/git/qgisqt6/src/core/qgsapplication.h:19,
<br>
from
/home/richard/git/qgisqt6/src/gui/raster/qgsrasterhistogramwidget.cpp:18:<br>
/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]’
<br>
74 | constexpr inline Q_IMPLICIT QFlags(Enum flags)
noexcept : i(Int(flags)) {}
<br>
| ~~~~~^~~~~
<br>
[344/2107] Building CXX object
src/gui/CMakeFiles/qgis_gui.dir/qgis_gui_autogen/mocs_compilation.cpp.o
<br>
<br>
Not sure if this has something to do with my qwt install from
experimental/sid:
<br>
<br>
libqwt-qt6-6.2/now 6.2.0-1 amd64 [installed,local]
<br>
Qt widgets library for technical applications (runtime, qt6)
<br>
<br>
I think the version is more or less in line with my qt6 from
testing/trixie?
<br>
<br>
pyqt6-dev/testing,now 6.6.1-2 all [installed]
<br>
development files for PyQt6
<br>
libqt6core6/testing,now 6.4.2+dfsg-21 amd64 [installed,automatic]
<br>
Qt 6 core module
<br>
<br>
Any hint to overcome this one?
<br>
<br>
Regards,
<br>
<br>
Richard Duivenvoorde
<br>
<br>
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
<br>
<br>
_______________________________________________
<br>
QGIS-Developer mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
<br>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
<br>
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>