Unable to install qt6-base - No provider of 'qt6-base' found

It all started when I was trying to compile Kvantum, since normal installation didn’t work.

Needed to look for some packages, and stumbled across this page

https://software.opensuse.org/download/package?package=qt6-base&project=KDE%3AQt6

Now, qt6-base is indeed there Show KDE:Qt6 - openSUSE Build Service

And I added the repo

zypper addrepo https://download.opensuse.org/repositories/KDE:Qt6/openSUSE_Tumbleweed/KDE:Qt6.repo

And made sure to refresh it, force refresh it, and enable auto refresh

Output of zypper repos

#  | Alias                      | Name                                             | Enabled | GPG Check | Refresh
---+----------------------------+--------------------------------------------------+---------+-----------+--------
 1 | KDE_Qt6                    | Qt 6 packages for openSUSE (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes
 2 | NVIDIA                     | NVIDIA                                           | Yes     | (r ) Yes  | Yes
 3 | NVIDIA:repo-non-free       | repo-non-free                                    | Yes     | (r ) Yes  | Yes
 4 | openSUSE:repo-non-oss      | repo-non-oss                                     | Yes     | (r ) Yes  | Yes
 5 | openSUSE:repo-openh264     | repo-openh264                                    | Yes     | (r ) Yes  | Yes
 6 | openSUSE:repo-oss          | repo-oss                                         | Yes     | (r ) Yes  | Yes
 7 | openSUSE:repo-oss-debug    | repo-oss-debug                                   | No      | ----      | ----
 8 | openSUSE:repo-oss-source   | repo-oss-source                                  | No      | ----      | ----
 9 | openSUSE:update-tumbleweed | update-tumbleweed                                | Yes     | (r ) Yes  | Yes
10 | trmdi                      | trmdi                                            | Yes     | ( p) Yes  | No
~/repos/Kvantum/Kvantum/build> sudo zypper refresh -f
Forcing raw metadata refresh
Retrieving repository 'Qt 6 packages for openSUSE (openSUSE_Tumbleweed)' metadata  ..... [done]

But I’m still unable to find qt6-base

~/repos/Kvantum/Kvantum/build> sudo zypper install qt6-base
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'qt6-base' not found in package names. Trying capabilities.
No provider of 'qt6-base' found.
Resolving package dependencies...
Nothing to do.

Am I doing something wrong?

Ok, so I tried to install qt-creator just to see if it would fail, and behold! it wanted to pull a particular dependency qt6-base-devel

so yeah, I had to run

 sudo zypper install qt6-base-devel

@karim247 So qt6-base is the package name which is the source (src) rpm in this case, not the binaries, libraries and headers for development.

If compiling then your looking for development packages, a simple zypper se qt6-base will show three development packages, one or more are what you need…

1 Like

A bit of a side step to your problem.

This is list is of no use for others as it contains only the Names and Aliases of the repos as they are defined on your system. The list does NOT contain what is crucial: the URLs. They tell where your repo is. Better is next time e.g.

zypper lr -d

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.