Skip to content
Discussion options

You must be logged in to vote

走 target:pkg() 访问包的安装目录来自己 copy。

add_requires("xxx")
target("test")
    after_install(function (target)
        local xxx = target:pkg("xxx")
        if xxx then
             local installdir = xxx:installdir()
             os.cp(...)
        end
    end)
    add_packages("xxx")

如何控制qt的qrc文件编译为rcc二进制文件?顺便,qt的ts翻译文件有相关支持吗?

qrc 目前不是原本就支持自动 rcc 编译么。。ts 的不清楚,应该还没支持

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@RC1844
Comment options

@waruqi
Comment options

@RC1844
Comment options

@waruqi
Comment options

@RC1844
Comment options

Answer selected by RC1844
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