<div dir="ltr"><div>Hi, all!</div><div><br></div><div>I have started an initial port of the Krita dependencies to Qt6. They are now available in a prebuilt form, so you can use them in the docker environment to perform work on the Qt6 port.</div><div><br></div><div>Here is the branch (and the discussion) for the port of dependencies:</div><div><a href="https://invent.kde.org/dkazakov/krita-deps-management/-/merge_requests/39">https://invent.kde.org/dkazakov/krita-deps-management/-/merge_requests/39</a></div><div><br></div><div>Here is the branch of Krita that uses these dependencies in the prebuilt form:</div><div><a href="https://invent.kde.org/graphics/krita/-/merge_requests/2258">https://invent.kde.org/graphics/krita/-/merge_requests/2258</a></div><div><br></div><div>To use these prebuilt qt6 dependencies locally, just use the <a href="https://docs.krita.org/en/untranslatable_pages/building/build_krita_with_docker_on_linux.html#building-krita-with-docker">normal manual</a> with two minor changes:</div><div><br></div><div>1) Refetch your docker image:</div><div><br></div><div></div><div>```bash</div><div>docker pull <a href="http://invent-registry.kde.org/sysadmin/ci-images/krita-appimage-builder">invent-registry.kde.org/sysadmin/ci-images/krita-appimage-builder</a></div><div>```</div><div><br></div><div>2) Then just pass the `--branch transition/qt6` option to the `bootstrap-deps.sh` script. It will fetch the necessary flavour of the deps for you:</div><div><br></div><div>```bash<br></div><div>./bin/bootstrap-deps.sh --branch transition/qt6</div><div>```<br></div><div><br></div><div>Then build the container as usual.<br></div><div><br></div><div>There are still some tasks that need to be fixed. If they look interesting to you, help is welcome! :)</div><div><br></div><div>1) PyQt5 needs to be ported to PyQt6 (it is just commented out right now)</div><div>2) Seexpr library needs porting to Qt6 (does it actually support Qt6 upstream?)</div><div>3) The current build scripts skip all our local patches that used to be applied to KDE Frameworks libraries. We need to check if those patches are still valid and should be uncommented back:</div><div>    * <span id="gmail-LC10" class="gmail-line" lang="cmake">ext_extra_cmake_modules</span></div><div>    * <span id="gmail-LC10" class="gmail-line" lang="cmake">ext_kconfig</span></div><div><span id="gmail-LC10" class="gmail-line" lang="cmake">    * ext_kguiaddons</span></div><div><span id="gmail-LC10" class="gmail-line" lang="cmake">    * ext_ki18n</span></div><div><span id="gmail-LC9" class="gmail-line" lang="cmake">    * ext_poppler</span></div><div><span id="gmail-LC9" class="gmail-line" lang="cmake">4) Qt6. SDP scripts now build a vanilla Qt. We need to recover the following things:<br></span></div><div><span id="gmail-LC9" class="gmail-line" lang="cmake">    * support of Angle (see this repo with an attempt to do that: </span><a href="https://github.com/amyspark/qtbase/tree/amyspark/angle">https://github.com/amyspark/qtbase/tree/amyspark/angle</a> )</div><div>    * our custom-made support of HDR</div><div>    * should we backport other patches of ours?<br></div><div></div><div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Dmitry Kazakov</div></div></div>