-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
Comments
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 solutionsAllow custom .qm generation path Provide a config to set the .qm generation path Describe your alternativesNo response other informationNo response |
你可以直接来个 pr |
You can do a PR directly |
不少qrc文件都直接从项目目录中包含编译好的qm文件: https://github.com/search?q=path%3A*.qrc+%2F%3Cfile%3E.*%5C.qm%3C%2F&type=code #5298 只是配置了qm文件在targetdir下的子目录,不能将qm文件从build目录移动到项目目录中去 |
Many qrc files include compiled qm files directly from the project directory: https://github.com/search?q=path%3A*.qrc+%2F%3Cfile%3E.*%5C.qm%3C%2F&type=code #5298 only configures the subdirectory of the qm file under targetdir. The qm file cannot be moved from the build directory to the project directory. |
你在什么场景下需要该功能?
目前qt.ts生成的.qm在targetdir上,这边的场景是在.qrc里直接包含当前路径下的.qm,然后在代码里引用.qrc的路径进行切换的,用qt.ts的话就没法找到.qm了
描述可能的解决方案
允许自定义.qm生成路径
提供个config可以设置.qm生成路径
描述你认为的候选方案
No response
其他信息
No response
The text was updated successfully, but these errors were encountered: