<div dir="ltr"><div>Halla, are you using Dmitry's "krita-auto-1" docker container?</div><div><br></div><div>If so, I was able to get mine to work by downloading the archive that Dmitry linked and extracting its contents to `persistent/deps/_install/`.</div><div>(I did also rebuild the image and re-run the container from scratch, but I'm not sure if that was even necessary.)<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 4, 2024 at 1:57 AM Halla Rempt <<a href="mailto:halla@valdyas.org">halla@valdyas.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Still no luck... This time I followed <a href="https://docs.krita.org/en/untranslatable_pages/building/build_krita_with_docker_on_linux.html#updating-dependencies-in-the-docker" rel="noreferrer" target="_blank">https://docs.krita.org/en/untranslatable_pages/building/build_krita_with_docker_on_linux.html#updating-dependencies-in-the-docker</a>, and I'm still getting errors, this time when running cmake:<br>
<br>
...<br>
<br>
CMake Warning at CMakeLists.txt:551 (find_package):<br>
By not providing "FindQt5QuickControls2.cmake" in CMAKE_MODULE_PATH this<br>
project has asked CMake to find a package configuration file provided by<br>
"Qt5QuickControls2", but CMake did not find one.<br>
<br>
Could not find a package configuration file provided by "Qt5QuickControls2"<br>
(requested version 5.15.0) with any of the following names:<br>
<br>
Qt5QuickControls2Config.cmake<br>
qt5quickcontrols2-config.cmake<br>
<br>
Add the installation prefix of "Qt5QuickControls2" to CMAKE_PREFIX_PATH or<br>
set "Qt5QuickControls2_DIR" to a directory containing one of the above<br>
files. If "Qt5QuickControls2" provides a separate development package or<br>
SDK, be sure it has been installed.<br>
<br>
<br>
...<br>
<br>
-- The following OPTIONAL packages have not been found:<br>
<br>
* Qt5QuickControls2 (required version >= 5.15.0), QtQuickControls, <<a href="https://www.qt.io/" rel="noreferrer" target="_blank">https://www.qt.io/</a>><br>
Optionally used for the touch gui for Krita<br>
<br>
-- Configuring done (6.7s)<br>
CMake Error at plugins/dockers/textproperties/CMakeLists.txt:9 (target_link_libraries):<br>
Target "kritatextproperties" links to:<br>
<br>
Qt5::QuickControls2<br>
<br>
but the target was not found. Possible reasons include:<br>
<br>
* There is a typo in the target name.<br>
* A find_package call is missing for an IMPORTED target.<br>
* An ALIAS target is missing.<br>
<br>
<br>
<br>
<br>
On vrijdag 2 augustus 2024 10:20:50 CEST Halla Rempt wrote:<br>
> Well, it happens in the docker image, so there's no way there's anything local or qt6 related to it... I'll do a full clean of the build folder and the deps folder just in case.<br>
> <br>
> On donderdag 1 augustus 2024 14:33:37 CEST Dmitry Kazakov wrote:<br>
> > That looks to be something local (or Qt6 related). I don't have such<br>
> > issues, neither on Linux nor on Windows.<br>
> > <br>
> > On Thu, Aug 1, 2024 at 1:50 PM Halla Rempt <<a href="mailto:halla@valdyas.org" target="_blank">halla@valdyas.org</a>> wrote:<br>
> > <br>
> > > I still have an error when I do that:<br>
> > ><br>
> > > /home/appimage/persistent/krita/plugins/dockers/textproperties/TextPropertiesDock.cpp:17:10:<br>
> > > fatal error: QQuickStyle: No such file or directory<br>
> > > 17 | #include <QQuickStyle><br>
> > > | ^~~~~~~~~~~~~<br>
> > > compilation terminated.<br>
> > > make[2]: ***<br>
> > > [plugins/dockers/textproperties/CMakeFiles/kritatextproperties.dir/build.make:143:<br>
> > > plugins/dockers/textproperties/CMakeFiles/kritatextproperties.dir/TextPropertiesDock.cpp.o]<br>
> > > Error 1<br>
> > > make[1]: *** [CMakeFiles/Makefile2:40347:<br>
> > > plugins/dockers/textproperties/CMakeFiles/kritatextproperties.dir/all]<br>
> > > Error 2<br>
> > ><br>
> > ><br>
> > ><br>
> > > On donderdag 1 augustus 2024 13:31:02 CEST Dmitry Kazakov wrote:<br>
> > > > Hi, all!<br>
> > > ><br>
> > > > Wolthera's text properties branch was merged yesterday. It requires an<br>
> > > > additional component in Qt, so you need to update your dependencies. You<br>
> > > > have two options:<br>
> > > ><br>
> > > > 1) Refetch all the deps using the standard script (slow)<br>
> > > > 2) Just fetch the updated package and unpack it into your deps folder,<br>
> > > > overwriting existing files:<br>
> > > ><br>
> > > > * Windows:<br>
> > > ><br>
> > > <a href="https://invent.kde.org/dkazakov/krita-ci-artifacts-windows-qt5.15/-/packages/421716" rel="noreferrer" target="_blank">https://invent.kde.org/dkazakov/krita-ci-artifacts-windows-qt5.15/-/packages/421716</a><br>
> > > > * Linux:<br>
> > > ><br>
> > > <a href="https://invent.kde.org/dkazakov/krita-ci-artifacts-appimage-qt5.15/-/packages/421713" rel="noreferrer" target="_blank">https://invent.kde.org/dkazakov/krita-ci-artifacts-appimage-qt5.15/-/packages/421713</a><br>
> > > > * MacOS:<br>
> > > ><br>
> > > <a href="https://invent.kde.org/dkazakov/krita-ci-artifacts-macos-qt5.15/-/packages/456869" rel="noreferrer" target="_blank">https://invent.kde.org/dkazakov/krita-ci-artifacts-macos-qt5.15/-/packages/456869</a><br>
> > > ><br>
> > > > You need to download this package and extract its content into the deps<br>
> > > > directory (beware the `usr` prefix in the Linux docker). It will update<br>
> > > > your Qt and might avoid a full rebuild.<br>
> > > ><br>
> > > > If you used precompiled headers you might need full rebuild anyway, but<br>
> > > > this option is disabled by default.<br>
> > > ><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > <br>
> > <br>
> <br>
> <br>
> <br>
> <br>
> <br>
<br>
<br>
<br>
<br>
</blockquote></div>