Your message dated Mon, 2 Aug 2021 12:09:19 -0300
with message-id
<ca+qpbz1u6se+ptuiko_wj6x0mviaqlrf15byu0f36ghmskr...@mail.gmail.com>
and subject line Re: Bug#991798: Acknowledgement (qtcreator: No suitable kits
found) [worked around]
has caused the Debian Bug report #991798,
regarding qtcreator: No suitable kits found
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
991798: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991798
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: qtcreator
Version: 4.14.1-1
Severity: important
Justification: Unable to use package
Dear Maintainer,
* What led up to the situation?
Install qtcreator and launch it.
File | New File or Project
Application (Qt Quick) | Qt Quick Application - Scroll
Hit choose
Enter location. Next.
Accept defaults until get to Kit Selection
It says "No suitable kits found" and the Next button is greyed out.
Desktop appears as the only entry in the bottom panel, but it is
greyed out and hovering over brings up a bubble saying at least one
required feature is missing. The Qt Version shows as None in that bubble.
Clicked on the options link (or the manage button for the desktop
kit) shows Desktop listed under kits and nothing under Qt Versions.
* What exactly did you do (or not do) that was effective (or
ineffective)?
The following steps were on buster with an earlier version.
Attempted to set path to Qt.
Checked the internet and installed the qt5-default. This allowed
me to select a Qt version.
I then was able to create the project. The build failed with a
message "Unknown Modules in Qt: Quick". There were lots of other
error messages too.
Installed additional qml-modules related to quick. No change.
reportbug suggested trying a later version before filing the bug,
so I ran it on bullseye, leading to this report.
In bullseye, in Kits | Qt Versions attempted to use link with Qt
using /usr/lib/x86_64-linux-gnu/qt5/bin and several other
variations; the Link with Qt button never activated.
* What was the outcome of this action?
Unable to get even a simple project to build.
* What outcome did you expect instead?
That I would be able to follow the instructions on Qt's site for
"build your first Qt project" and they would work.
Failing that, at least some guidance about what was necessary to
make this thing work on Debian, e.g., a README.Debian file.
-- System Information:
Debian Release: 11.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/3 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages qtcreator depends on:
ii clang-11 1:11.0.1-2
ii libc6 2.31-13
ii libclang1-11 1:11.0.1-2
ii libdw1 0.183-1
ii libelf1 0.183-1
ii libgcc-s1 10.2.1-6
ii libkf5syntaxhighlighting5 5.78.0-2
ii libqt5concurrent5 5.15.2+dfsg-9
ii libqt5core5a [qtbase-abi-5-15-2] 5.15.2+dfsg-9
ii libqt5designer5 5.15.2-5
ii libqt5designercomponents5 5.15.2-5
ii libqt5gui5 5.15.2+dfsg-9
ii libqt5help5 5.15.2-5
ii libqt5network5 5.15.2+dfsg-9
ii libqt5printsupport5 5.15.2+dfsg-9
ii libqt5qml5 [qtdeclarative-abi-5-15-2] 5.15.2+dfsg-6
ii libqt5quick5 5.15.2+dfsg-6
ii libqt5quickwidgets5 5.15.2+dfsg-6
ii libqt5serialport5 5.15.2-2
ii libqt5sql5 5.15.2+dfsg-9
ii libqt5sql5-sqlite 5.15.2+dfsg-9
ii libqt5svg5 5.15.2-3
ii libqt5widgets5 5.15.2+dfsg-9
ii libqt5xml5 5.15.2+dfsg-9
ii libstdc++6 10.2.1-6
ii libyaml-cpp0.6 0.6.3-9
ii libzstd1 1.4.8+dfsg-2.1
ii qml-module-qtqml-models2 5.15.2+dfsg-6
ii qml-module-qtquick-controls 5.15.2-2
ii qml-module-qtquick2 5.15.2+dfsg-6
ii qtchooser 66-2
ii qtcreator-data 4.14.1-1
Versions of packages qtcreator recommends:
ii clang-tidy 1:11.0-51+nmu5
ii gdb-minimal [gdb] 10.1-1.7
ii konsole [x-terminal-emulator] 4:20.12.3-1
ii make 4.3-4.1
ii qmlscene 5.15.2+dfsg-6
ii qt5-doc 5.15.2-2
ii qt5-qmltooling-plugins 5.15.2+dfsg-6
ii qtbase5-dev-tools 5.15.2+dfsg-9
ii qtcreator-doc 4.14.1-1
ii qtdeclarative5-dev-tools 5.15.2+dfsg-6
ii qttools5-dev-tools 5.15.2-5
ii qttranslations5-l10n 5.15.2-2
ii qtxmlpatterns5-dev-tools 5.15.2-3
ii termit [x-terminal-emulator] 3.1-1
ii xterm [x-terminal-emulator] 366-1
Versions of packages qtcreator suggests:
ii clazy 1.9-3
ii cmake 3.18.4-2
ii g++ 4:10.2.1-1
ii git 1:2.30.2-1
ii meson 0.56.2-1
ii subversion 1.14.1-3
pn valgrind <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Ross!
There is a normal misunderstanding with respect to Qt Creator:
installing it does not warrant you have the necessary Qt development
files. This is because Qt Creator does not necessarily have to be used
to code Qt stuff, in fact I use it for coding microcontrollers. So no,
it will not "work out the box" in the way you expected.
On Mon, 2 Aug 2021 00:42:07 -0700 Ross Boylan
<rossboy...@stanfordalumni.org> wrote:
> I seem to have got things working on bullseye. I'm not sure how many of
> the following steps are essential, except the last one!
> Also, though this may solve my immediate problem, the issue that qtcreator
> doesn't work "out of the box" remains. If something about the
> interrelations between packages makes it impossible to configure
> automatically, there should at least be guidance about what to do.
>
> 1. Install qtbase5-dev.
This is the necessary first step for building Qt applications, no
matter if you use Qt Creator or not.
> 2. In QtCreator Tools | Options | Kits select the Qt tab. Apparently the
> link facility only works for stuff installed
> in a certain way, not including distribution packages (or so says the
> internet) . Use add to point to the qmake which is now
> available because of 1.
> 3. Also needed to set Qt version in the Desktop kit, which took a couple of
> tries (maybe need to restart to have it register).
In fact these two steps can be avoided by simply installing Qt and
then opening Qt Creator.
> 4. Install qtquickcontrols2-5-dev when QtCreator still says"Unknown
> modules in Qt: Quick". This is the only qtquick.*dev package, though
> it hardly seems on point. Didn't help.
> 5. Install qtdeclarative5-dev. Project now builds.
>
That's an issue that comes from upstream. The -dev packages are mostly
named after the Qt submodules it was built from. So the core of the
QML stuff is installed by qtdeclarative5-dev
Maybe the qtquickcontrols2-5-dev package needs a dependency on
qtdeclarative5-dev. But all it does is adding controls to QML.
> My guess is that all but #4 are necessary. #5 is specific to Qt Quick; the
> others are not.
Depends a lot on what you are doing. If you need to use the serial
port you would need to install libqt5serialport5-dev.
Tip: using aptitude you can look for all the -dev packages by issuing:
aptitude search qt | grep 5 | grep -dev
There is surely a better/apt-only way of doing this, but that's the
thing I normally use :-)
By the way: we removed qt5-default package from bullseye. That package
should have never existed.
So what you found are not bugs but indeed the intended way to use
these packages. I'm so closing this bug.
Cheers, Lisandro.
--- End Message ---