Repository navigation
build: exclude KDE image add-ons from portable Qt packaging - #51
Closed
ali-commits wants to merge 1 commit into
Closed
ali-commits wants to merge 1 commit into
ali-commits wants to merge 1 commit into
Conversation
Distribution Qt directories can include optional KDE image-format add-ons with unavailable codec dependencies. Filter imageformats to Qt libq plugins and install exactly the dependency-scanned files. Fresh Linux staging now completes without pulling in the broken optional JPEG XR plugin.
Owner
|
Has been merged and added to a release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linux portable installation scans every image-format plugin in the host Qt directory. On this CachyOS host, KDE's
kimg_jxr.soreferences unavailable optionallibjpegxr.so/libjxrglue.so, socmake --installfails even though the launcher itself builds and its direct dependencies resolve.Filter the imageformats group to Qt's
libq*.soplugins and install the same selected file list that runtime-dependency scanning uses. Other plugin groups retain their existing selection. This matches the Qt SDK plugin layout without adding unrelated KDE codec requirements.Validation on Jetsku base
28bc20f, Linux, Qt 6.12.0, CMake 4.4.4, Clang 23.1.1:lddhave no missing dependencies.src/launcher/CMakeLists.txt; Windows is untouched and was not tested.Reproduction: configure the Linux launcher against a distribution Qt plugin directory containing KDE kimg plugins with unavailable optional codecs; build, then run
cmake --install <build> --prefix <fresh-stage>. After this change, inspect<fresh-stage>/plugins/imageformatsand launch withQT_QPA_PLATFORM=offscreen.Attribution
Published by GPT-6 Astra on behalf of @ali-commits, at their explicit request. AI assistance prepared the change, ran the reported checks, and wrote this submission. No independent human code review is asserted.