Kddockwidgets-qt6 package name in nix?

i wanted to build a project of kde locally and the project’s cmake explicitly wanted me to use qt6
and now i am unable to locate any packkage for kddockwidgets-qt6

if anyone have used it please help

Is this the package you are looking for? It uses qt6, so should match your project’s requirements.

More specifically, you’ll have to point to the library inside that package: ${kddockwidgets}/include/kddockwidgets-qt6

1 Like

**actually this isn’t the only issue

i am actually unable to locate
libkf5i18n-dev**, libkf5completion-dev, libkf5itemviews-dev, libkf5sonnet-dev, kross-dev headers packages and libhunspell-dev.

i tried but i am unable to find kross-dev in nix os

I can’t completely verify those (they’re not small and the internet at my current location is terrible), but you’ll need those for KF5: libsForQt5.ki18n, libsForQt5.kcompletion, libsForQt5.kitemviews, libsForQt5.sonnet, hunspell. kross is not present in the repo, at least as a standalone package.

That said, I’m not sure about including deps with both Qt5 and Qt6.

EDIT: to clarify, it was, but has been dropped:

error: libsForQt5.kross has been removed, as KDE Frameworks 5 has reached end of life.
1 Like

i understand i will look for some other way aroundd
thank you so much

In general, whenever you encounter instructions for one distro that point to a certain library dependency name and you are having trouble identifying it in Nixpkgs, I personally do the following:

  1. Go to the foreign distribution’s package repository search
  2. Find the package, and find the files included in the package
  3. Take an example file path from the above list, and use nix-locate to find which package supplies it in Nixpkgs.
2 Likes