Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cmake): generate resources in build directory #5940

Merged
merged 3 commits into from
Feb 8, 2025

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Feb 8, 2025

Previously, we generated the files in the source directory As we glob that directory, we always had to reconfigure in a clean build, because we created two new files. We're using alias in the .qrc file to specify the path inside the executable. This is how Qt does it in qt_add_resources as well (source). We can't use the function as it's only available in Qt 6.

mini fix: I previously appended the qt.conf to RES_AUTOGEN_FILES. Since it's included in the resources, we don't need to do that.

@pajlada pajlada enabled auto-merge (squash) February 8, 2025 20:37
@pajlada pajlada merged commit f4bfee9 into Chatterino:master Feb 8, 2025
16 checks passed
@Nerixyz Nerixyz deleted the fix/double-config branch February 8, 2025 21:06
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