Skip to content

fix: set Qt definitions PUBLIC in chatterino-lib/-version - #6520

Merged
pajlada merged 3 commits into
Chatterino:masterfrom
Nerixyz:fix/qt-keywords
Oct 5, 2025
Merged

pajlada merged 3 commits into
Chatterino:masterfrom
Nerixyz:fix/qt-keywords

Conversation

@Nerixyz

@Nerixyz Nerixyz commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

Currently, the -DQT_DISABLE_DEPRECATED_BEFORE=xxx -DQT_WARN_DEPRECATED_UP_TO=xxx -DQT_NO_KEYWORDS definitions are only set for chatterino-lib and chatterino-version. However, they should also be set for chatterino-test and chatterino-benchmark, since these projects consume headers from Chatterino. Especially QT_NO_KEYWORDS should match.

This PR does that by using target_compile_definitions(xxx PUBLIC flags...).

@pajlada
pajlada enabled auto-merge (squash) October 5, 2025 10:13
@pajlada
pajlada merged commit 787a8c9 into Chatterino:master Oct 5, 2025
18 of 19 checks passed
babicekmarek pushed a commit to babicekmarek/streamally-chatterino that referenced this pull request Sep 14, 2026
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.

2 participants