<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Jorge,</p>
    <p>qwt6 is only available in the universe repository.<br>
      See: <a class="moz-txt-link-freetext" href="https://launchpad.net/ubuntu/+source/qwt">https://launchpad.net/ubuntu/+source/qwt</a></p>
    <p>Regards,<br>
      Jean<br>
      <br>
    </p>
    <div class="moz-cite-prefix">Le 27/12/2024 à 11:48, Jorge Gustavo
      Rocha via QGIS-Developer a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:c3bea1ce-d235-40fa-8d57-12c5c6f71d65@di.uminho.pt">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hi,</p>
      <p>I would like to start compiling QGIS with Qt6 on Ubuntu. I've
        looked into .docker/qgis3-qt6-build-deps.dockerfile, but the
        rules are for fedora. <br>
      </p>
      <p>Currently, I'm missing libqwt-qt6 package on Ubuntu. I have the
        former qwt-qt5 packages, but not the new qwt-qt6 ones.</p>
      <p>dpkg -l | grep qwt</p>
      <p>ii  libqwt-qt5-6<br>
        ii  libqwt-qt5-dev<br>
      </p>
      <p>I've found this: <a class="moz-txt-link-freetext"
          href="https://packages.debian.org/experimental/libqwt-qt6-dev"
          moz-do-not-send="true">https://packages.debian.org/experimental/libqwt-qt6-dev</a>
        (and libqwt-qt6-6.2). These ones are not easy to install, due to
        missing dependencies.</p>
      <p>Are these packages for qt6 available for Ubuntu for download on
        some ppa or should I build them locally? Does anyone succeed
        with compiling QGIS with Qt6 on Ubuntu?<br>
      </p>
      <p>Regards,</p>
      <p>Jorge</p>
      <p>--8<-------------------</p>
      <pre>sudo apt install qt6-base-dev qt6-3d-dev qt6-svg-dev qt6-base-private-dev qt6-declarative-dev qt6-tools-dev qt6-serialport-dev qt6-positioning-dev \
qt6-5compat-dev qt6-declarative-dev qt6-multimedia-dev qt6-webengine-dev libqca-qt6-dev qtkeychain-qt6-dev \
python3-pyqt6 python3-pyqt6.sip pyqt6-dev-tools python3-pyqt6.qtmultimedia

sudo apt install python3-pyqt6.qsci libqscintilla2-qt6-15  libqscintilla2-qt6-l10n pyqt6.qsci-dev pyqt6-dev
</pre>
      <p><font face="monospace">jgr@<a class="moz-txt-link-freetext"
            href="dragon:~/dev/cpp/build-qgis$" moz-do-not-send="true">dragon:~/dev/cpp/build-qgis$</a>
          cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=OFF
          -DENABLE_PGTEST=OFF -DWITH_SERVER=TRUE -DWITH_QSPATIALITE=TRUE
          -DWITH_3D=TRUE -DGDAL_CONFIG=/usr/local/bin/gdal-config
          -DPROJ_INCLUDE_DIR=/usr/local/include
          -DPROJ_LIBRARY=/usr/local/lib/libproj.so -DWITH_PDAL=TRUE
          -DWITH_EPT=TRUE -DBUILD_WITH_QT6=TRUE -DWITH_QTWEBKIT=FALSE
          ../QGIS<br>
          -- Building with system libraries --<br>
          -- QGIS version: 3.41.0 Master (34100)<br>
          -- Found OpenCL C++ headers: /usr/include<br>
          -- ccache found<br>
          -- Could not find GRASS 7<br>
          -- Could not find GRASS 8<br>
          -- Found Proj: 9.6.0 /usr/local/lib/cmake/proj<br>
          -- Found Geos: 3.14.0dev /usr/local/lib/cmake/GEOS<br>
          -- Found GDAL: 3.11.0dev /usr/local/lib/cmake/gdal<br>
          -- Found Spatialindex:
          /usr/lib/x86_64-linux-gnu/libspatialindex.so<br>
          -- Found libzip: /usr/lib/x86_64-linux-gnu/libzip.so<br>
          -- Could NOT find Protobuf (missing: Protobuf_DIR)<br>
          -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so<br>
          -- Found zlib: /usr/lib/x86_64-linux-gnu/libz.so<br>
          -- Found exiv2: /usr/lib/x86_64-linux-gnu/libexiv2.so<br>
          -- Qt WebKit support DISABLED.<br>
          -- Using embedded laz-perf<br>
          -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so<br>
          -- Found PDAL: pdalcpp (2.8.0)<br>
          -- Found Draco: /usr/lib/x86_64-linux-gnu/libdraco.so (1.5.6)<br>
          -- PDF4Qt disabled<br>
          -- QtWebEngine support DISABLED.<br>
          -- Found Qt version: 6.6.2<br>
          -- Found QScintilla2:
          /usr/lib/x86_64-linux-gnu/libqscintilla2_qt6.so (2.14.1)<br>
          -- Found QCA: /usr/lib/x86_64-linux-gnu/libqca-qt6.so (2.3.9)<br>
          -- Found QCA OpenSSL plugin<br>
          -- Pedantic compiler settings enabled<br>
          -- Debug output enabled<br>
          -- Found Python executable: /usr/bin/python3 (version 3.12.7)<br>
          -- Python library: /usr/lib/x86_64-linux-gnu/libpython3.12.so<br>
          -- Python site-packages:
          /usr/local/lib/python3.12/dist-packages<br>
          -- Found SIP version: 4.19.25<br>
          -- Found PyQt6 version: 6.7.1<br>
          -- Found QScintilla2 PyQt module: 2.14.1<br>
          -- Could NOT find HDF5 (missing: HDF5_LIBRARIES
          HDF5_INCLUDE_DIRS) (found version "")<br>
          -- Could NOT find NetCDF (missing: NETCDF_LIBRARY
          NETCDF_INCLUDE_DIR) <br>
          -- Found FCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so<br>
          -- Using PROJ >= 6 srs database.<br>
          -- QtGamepad not enabled - disabling bindings for derived
          classes<br>
          -- Configuring done (4.7s)<br>
          CMake Error: The following variables are used in this project,
          but they are set to NOTFOUND.<br>
          Please set them or make sure they are set and tested correctly
          in the CMake files:<br>
          QWT_LIBRARY<br>
              linked by target "qgis_gui" in directory
          /home/jgr/dev/cpp/QGIS/src/gui<br>
              linked by target "qgis_app" in directory
          /home/jgr/dev/cpp/QGIS/src/app<br>
          <br>
          -- Generating done (2.0s)<br>
          CMake Generate step failed.  Build files cannot be regenerated
          correctly.<br>
          <br>
        </font></p>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
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>
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>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Jean Felder
Développeur SIG
Oslandia</pre>
  </body>
</html>