Hi Everyone, I'm working on Kubuntu 20.04.03, x86_64, fully patched. I'm trying to develop a C++ application using KDevelop and Qt. The build is failing with the message: Could not find a package configuration file provided by "Qt5Qml" ... I installed the following packages: $ history | grep 'apt-get install' 18 sudo apt-get install emacs-nox ... 101 sudo apt-get install kdevelop 102 sudo apt-get install --yes cmake 103 sudo apt-get install qtbase5-dev At (103), qtbase5-dev was already installed. I'm not sure what brought it in since it does not appear to be a direct dependency of kdevelop. According to https://forum.kde.org/viewtopic.php?f=305&t=142524#p384573 , the missing package was qtdeclarative5-dev. Indeed, looking at the output of 'apt-cache show kdevelop', qtdeclarative5-dev is missing. After manually installing qtdeclarative5-dev the build problem was fixed. It appears the Apt KDevelop recipe should install qtdeclarative5-dev, too. Including qtdeclarative5-dev as a dependency for kdevlop will help things "just work" for folks. It will save folks from the surprise and hunting down the missing package. SOFTWARE/OS VERSIONS Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.13.0-28-generic OS Type: 64-bit Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz Memory: 62.5 GiB of RAM ========== $ apt-cache show kdevelop Package: kdevelop Architecture: amd64 Version: 4:5.5.0-2 ... Depends: kdevelop-data (>= 4:5.5.0-2), kdevelop55-libs (= 4:5.5.0-2), kinit, qml-module-qtquick-controls, qml-module-qtquick-layouts, qml-module-qtquick-window2, qml-module-qtquick-xmllistmodel, qml-module-qtquick2, qml-module-qtwebkit, kio, libapr1 (>= 1.2.7), libaprutil1 (>= 1.2.7+dfsg), libastyle3, libc6 (>= 2.29), libclang1-9 (>= 1:6.0~svn321745-1~), libgcc-s1 (>= 3.0), libgrantlee-templates5 (>= 5.0.0), libkasten4controllers0 (>= 5:0.26.2), libkasten4core0 (>= 5:0.26.2~), libkasten4okteta2controllers0 (>= 5:0.26.2), libkasten4okteta2core0 (>= 5:0.26.2~), libkasten4okteta2gui0 (>= 5:0.26.2~), libkf5archive5 (>= 4.96.0), libkf5bookmarks5 (>= 4.96.0), libkf5codecs5 (>= 4.96.0), libkf5completion5 (>= 4.97.0), libkf5configcore5 (>= 4.98.0), libkf5configgui5 (>= 4.97.0), libkf5configwidgets5 (>= 4.96.0), libkf5coreaddons5 (>= 5.16.0), libkf5crash5 (>= 5.15.0), libkf5declarative5 (>= 5.45.0), libkf5guiaddons5 (>= 4.96.0), libkf5i18n5 (>= 4.97.0), libkf5iconthemes5 (>= 4.96.0), libkf5itemmodels5 (>= 4.96.0), libkf5itemviews5 (>= 4.96.0), libkf5jobwidgets5 (>= 4.96.0), libkf5kiocore5 (>= 4.96.0), libkf5kiofilewidgets5 (>= 4.96.0), libkf5kiowidgets5 (>= 5.33.0), libkf5newstuff5 (>= 5.27.0), libkf5parts5 (>= 4.96.0), libkf5purpose-bin, libkf5purpose5 (>= 1.1), libkf5service-bin, libkf5service5 (>= 4.99.0), libkf5sonnetui5 (>= 4.96.0), libkf5texteditor5, libkf5textwidgets5 (>= 4.96.0), libkf5threadweaver5 (>= 4.98.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5xmlgui-bin, libkf5xmlgui5 (>= 4.96.0), libkomparediff2-5 (>= 4:14.12.50), libokteta3core0 (>= 5:0.26.2~), libokteta3gui0 (>= 5:0.26.2~), libprocesscore7 (>= 4:5.3.0), libprocessui7 (>= 5.2.50+git), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.7.0), libqt5gui5 (>= 5.11.0~rc1) | libqt5gui5-gles (>= 5.11.0~rc1), libqt5help5 (>= 5.6.0~beta), libqt5network5 (>= 5.7.0), libqt5qml5 (>= 5.0.2), libqt5quick5 (>= 5.9.0~beta) | libqt5quick5-gles (>= 5.9.0~beta), libqt5quickwidgets5 (>= 5.11.0), libqt5widgets5 (>= 5.12.2), libqt5xml5 (>= 5.7.0), libstdc++6 (>= 9), libsvn1 (>= 1.8) Recommends: clang-9, g++, gcc, gdb (>= 7.0), kapptemplate, kio-extras, make Suggests: clang, clang-tidy, clazy, cmake, cppcheck, git, heaptrack, kdevelop-l10n, konsole, meson, ninja-build Breaks: kdevplatform10-libs (<< 5.2) Replaces: kdevplatform10-libs (<< 5.2) Filename: pool/universe/k/kdevelop/kdevelop_5.5.0-2_amd64.deb Size: 3047692 MD5sum: 89639866cce82cccabaa230aa1c1bd7a SHA1: 4279cf1320c53b1a8fcb1dce97d74efb63d344f3 SHA256: fec78ad98793cf1cf122651ec32573b76d872ca96650d4128553a1460ae68560 Homepage: https://www.kdevelop.org/ Description-en: integrated development environment for C/C++ and other languages ...
(In reply to Jeffrey Walton from comment #0) > I'm working on Kubuntu 20.04.03, x86_64, fully patched. I'm trying to > develop a C++ application using KDevelop and Qt. The build is failing with > the message: > > Could not find a package configuration file provided by "Qt5Qml" ... So are you trying to build KDevelop from sources and its build fails? Or is this a build failure of your C++ application that depends on Qt5Qml? Installing the developed application's dependencies is the user's responsibility. KDevelop cannot depend on every possible library an application developed within it might depend on.
Even if this were a valid issue in the Kubuntu kdevelop package, it would have to be reported to Kubuntu/Ubuntu/Debian maintainers, not here.