Skip to content

[MRTCore] How to load resources across multiple .pri files #1239

Answered by axelandrejs
MarkIngramUK asked this question in Q&A
Discussion options

You must be logged in to vote

Splitting the resources by qualifier is to support resource packs. If you build your app as a bundle, the various resource files will be put into different packages, which are then deployed as needed depending on the device configuration. In that case, the deployment stack will create a merged view of all the resource files, and MRT core will load that transparently if you use the default constructor.

If you're not building a bundle, or if your app is unpackaged, then the right thing to do is to remove the packaging entries in the config. That way all the strings end up in the same file.

You can find more details here: https://docs.microsoft.com/en-us/windows/uwp/app-resources/build-resou…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarkIngramUK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants