dangvd / crystal-dock

A cool dock (desktop panel) for Linux desktop
GNU General Public License v3.0
92 stars 9 forks source link

Version 2.7 binary RPM package will not run on Fedora 40 #89

Open dwconsulting opened 3 hours ago

dwconsulting commented 3 hours ago

Looks like you updated to QT 6.8, but Fedora doesn't provide it yet. (installing rpm from CLI)

" - nothing provides libQt6Core.so.6(Qt_6.8)(64bit) needed by crystal-dock-2.7-1.x86_64"

dangvd commented 2 hours ago

Yeah, sorry it's because I built the RPM on Open SUSE Tumbleweed with Qt 6.8 so the RPM will not work on Fedora 40. The code itself should work so one can still install from the source code.

Also, Fedora 41 should be released this Tuesday with Qt 6.8 so when Fedora users upgrade to Fedora 41, the RPM should work.

I thought about installing Fedora 40 but given the imminent release of Fedora 41, I'm not sure if it's worth it.

dwconsulting commented 2 hours ago

Code is complaining about a path, didn't have time to diagnose it at the moment. I'm good waiting for now, 2.6 still works. Thanks! (adding cmake error for reference and searching)

❯ cmake -S src -B build -DCMAKE_INSTALL_PREFIX=/usr -- Configuring done (0.2s) CMake Error in CMakeLists.txt: Imported target "Qt6::GuiPrivate" includes non-existent path

"/usr/include/qt6/QtGui/6.7.2"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

"Since it is so likely that children will meet cruel enemies, let them at least have heard of brave knights and heroic courage" - C. S. Lewis

On Sat, Oct 26, 2024 at 11:40 AM Viet Dang @.***> wrote:

Yeah, sorry it's because I built the RPM on Open SUSE Tumbleweed with Qt 6.8 so the RPM will not work on Fedora 40. The code itself should work so one can still install from the source code.

Also, Fedora 41 should be released this Tuesday with Qt 6.8 so when Fedora users upgrade to Fedora 41, the RPM should work.

I thought about installing Fedora 40 but given the imminent release of Fedora 41, I'm not sure if it's worth it.

— Reply to this email directly, view it on GitHub https://github.com/dangvd/crystal-dock/issues/89#issuecomment-2439647962, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6ZOU45FGZDCI7L3MXMJHDZ5PAYJAVCNFSM6AAAAABQU6ELESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGY2DOOJWGI . You are receiving this because you authored the thread.Message ID: @.***>

dangvd commented 2 hours ago

Your cmake error was because v2.7 now requires Qt6 Private Dev instead of Qt6 Dev (due to the reworked Auto Hide mode).

I don't know the name of the package in Fedora, but in Open SUSE it's qt6-base-private-devel and in Ubuntu it's qt6-base-private-dev.

dwconsulting commented 1 hour ago

The package is qt6-qtbase-private-devel

And you are correct, installing that enabled the build.