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

qt.ts编译规则希望可以设置输出路径 #5137

Open
Elite-stay opened this issue May 24, 2024 · 3 comments
Open

qt.ts编译规则希望可以设置输出路径 #5137

Elite-stay opened this issue May 24, 2024 · 3 comments

Comments

@Elite-stay
Copy link
Contributor

你在什么场景下需要该功能?

目前qt.ts生成的.qm在targetdir上,这边的场景是在.qrc里直接包含当前路径下的.qm,然后在代码里引用.qrc的路径进行切换的,用qt.ts的话就没法找到.qm了

描述可能的解决方案

允许自定义.qm生成路径

提供个config可以设置.qm生成路径

描述你认为的候选方案

No response

其他信息

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: qt.ts compilation rules hope to set the output path

In what scenario do you need this function?

At present, the .qm generated by qt.ts is on the targetdir. The scenario here is to directly include the .qm under the current path in the .qrc, and then reference the .qrc path in the code to switch. If you use qt.ts, there will be no problem. Can't find .qm

Describe possible solutions

Allow custom .qm generation path

Provide a config to set the .qm generation path

Describe your alternatives

No response

other information

No response

@waruqi
Copy link
Member

waruqi commented May 24, 2024

你可以直接来个 pr

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You can do a PR directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants