Skip to content

Refine Qt configuration and suppress GLib warnings#268

Merged
kdroidFilter merged 1 commit into
masterfrom
linux-fix-glib-warning
Aug 21, 2025
Merged

Refine Qt configuration and suppress GLib warnings#268
kdroidFilter merged 1 commit into
masterfrom
linux-fix-glib-warning

Conversation

@kdroidFilter

@kdroidFilter kdroidFilter commented Aug 21, 2025

Copy link
Copy Markdown
Owner

Summary of Changes

  • Added a GLib warning silencer for suppressing unnecessary logs in release mode.
  • Improved CMakeLists.txt to include GLib as a dependency and reorganized build targets.
  • Enhanced support for Qt with non-GTK environment by explicitly setting XCB backend and "Fusion" style.
  • Adjusted environment variables to avoid GTK-related theme and style conflicts.
  • Implemented a shutdown guard for improved stability.

Checklist

  • Tests have been added/updated where applicable.
  • Documentation has been updated where applicable.
  • Changes have been verified and are functioning as intended.

Introduced a GLib warning silencer to suppress noisy logs in release mode and avoid issues when using Qt with non-main threads. Updated `CMakeLists.txt` to include GLib as a dependency, refined include paths, and reorganized build targets for better clarity. Enhanced stability by implementing a shutdown guard and adjusted environment variables for cleaner integration with GTK-independent themes.
@kdroidFilter kdroidFilter merged commit a3eccb4 into master Aug 21, 2025
@kdroidFilter kdroidFilter deleted the linux-fix-glib-warning branch August 25, 2025 22:21
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.

1 participant