Skip to content

fix(cmake): Resolve missing Qt6::CorePrivate link target#164

Closed
ShionKanagawa wants to merge 1 commit into
a-parhom:masterfrom
ShionKanagawa:master
Closed

fix(cmake): Resolve missing Qt6::CorePrivate link target#164
ShionKanagawa wants to merge 1 commit into
a-parhom:masterfrom
ShionKanagawa:master

Conversation

@ShionKanagawa

Copy link
Copy Markdown

The build was failing with a "target was not found" error for Qt6::CorePrivate. This occurs when a project requires private Qt headers/symbols but does not explicitly request the component in the find_package call.

By adding CorePrivate to the list of components, CMake can correctly locate and link the library.

The build was failing with a "target was not found" error for
Qt6::CorePrivate. This occurs when a project requires private Qt
headers/symbols but does not explicitly request the component in the
find_package call.

By adding `CorePrivate` to the list of components, CMake can
correctly locate and link the library.
@sadigngr

Copy link
Copy Markdown

Thx a lot!

@ZacharyTalis

Copy link
Copy Markdown

As of Plasma 6.5.3... do LightlyShaders and LightlyShaders Blur no longer appear under Desktop Effects? I've done the whole recompile-reinstall dance. Lemme know if any other info would be helpful <3

@ShionKanagawa

Copy link
Copy Markdown
Author

As of Plasma 6.5.3... do LightlyShaders and LightlyShaders Blur no longer appear under Desktop Effects? I've done the whole recompile-reinstall dance. Lemme know if any other info would be helpful <3

I think both LightlyShaders and LightlyShaders Blur still appear under "Desktop Effects" in KDE Plasma 6.5.3.
Maybe you should reboot your device or restart your plasmashell?

@ZacharyTalis

Copy link
Copy Markdown

I've uninstalled/reinstalled the effect, restarted my computer, all that jazz. Will do more debugging and keep ya in the loop :3

@ZacharyTalis

Copy link
Copy Markdown

Update: /usr/lib/qt6/plugins/kwin/effects/plugins had the wrong permissions for some reason! All I had to do was run sudo chmod a+rx plugins... learned a bunch about Kwin in the process though!

@audreylandgrave

audreylandgrave commented Dec 10, 2025

Copy link
Copy Markdown

weird, I still have this problem even after changing the permissions.
I can see the files, it's just not in the effects’ settings tab.
do you remember doing anything else?

plasma 6.5.4 though

@ZacharyTalis

Copy link
Copy Markdown

@audreylandgrave things to try:

  1. sudo make uninstall/reboot/rebuild/reinstall/yada yada
  2. Make sure /usr/lib/qt6/plugins/kwin/effects/configs also has the proper permissions
  3. Check if KWin sees the effects, either using qdbusviewer (path is org.kde.KWin > Effects > org.kde.kwin.Effects) or KWin's Debug Console
  4. See if other C++-based effects (such as Glass) install properly

@audreylandgrave

audreylandgrave commented Dec 10, 2025

Copy link
Copy Markdown

@ZacharyTalis

  1. I did all the basics. uninstall/rebuild/reinstall/reboot
  2. The permissions match with plugins a+rx
  3. Kwin sees them in the list of effects, but they are not loaded, or active. Tried to run loadEffect and it just returns false. journal doesn't log anything when trying to load it :/
  4. I have glass too, you are another connoisseur :) I see, but yeah same with glass. It shows in the list but it's not loaded or active. It's weird. None of the user installed ones are loaded or active, but exist in the list.
    Thanks for your help by the way. Maybe it's just a bug in .4 have you gone from .3 to .4 yet?

@ZacharyTalis

Copy link
Copy Markdown

@audreylandgrave will upgrade later today and letcha know how it goes <3

@ZacharyTalis

Copy link
Copy Markdown

@audreylandgrave Sorry for the delay: after upgrading to .4 then recompiling/reinstalling the effects, they show up in Settings.

In any case, if they're showing up in the listOfEffects list, then you've got a different issue than what I was facing. Sadly I don't think I'm of any help :(

@ShionKanagawa

ShionKanagawa commented Dec 12, 2025

Copy link
Copy Markdown
Author

weird, I still have this problem even after changing the permissions. I can see the files, it's just not in the effects’ settings tab. do you remember doing anything else?

plasma 6.5.4 though

@audreylandgrave Sorry for the delay: after upgrading to .4 then recompiling/reinstalling the effects, they show up in Settings.

In any case, if they're showing up in the listOfEffects list, then you've got a different issue than what I was facing. Sadly I don't think I'm of any help :(

Sorry for interruption, but I don't think what are you taking about is related to this P.R. In other words, you are talking here off-topic, here is not "Help Center" but the discussion board for PR, you should feedback the issue with this PR, not the issue caused by yourself.
So, please talking your "issues" in other places but not here. I will close this P.R. as I received lots of off-topic discussion in my email and this project seems dead.

@ZacharyTalis

ZacharyTalis commented Dec 12, 2025

Copy link
Copy Markdown

@ShionKanagawa Apologies! It was difficult to determine at first if the issues we were dealing with were related to the PR, but now we can say with confidence that they're not.

Here's hoping there's a revival or fork of this outstanding project...

@autumn-mck

Copy link
Copy Markdown

@ShionKanagawa I hope you don't mind that I've included your fix in my PR for updating for KDE 6.6 #166
Thanks for your original PR!

@ShionKanagawa

Copy link
Copy Markdown
Author

@ShionKanagawa I hope you don't mind that I've included your fix in my PR for updating for KDE 6.6 #166 Thanks for your original PR!

Great works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants