Skip to content

可以根据不同架构切换使用不同的Qt路径吗 #5294

Closed Answered by waruqi
Elite-stay asked this question in Q&A
Discussion options

You must be logged in to vote

你可以尝试重新定义 qt.env rule 来重写查找规则。。不过就是有些 hack ,以后有可能会被 break

https://github.com/xmake-io/xmake/blob/dev/xmake/rules/qt/env/xmake.lua

或者参考 xmake-repo 的 qt 包,qtbase,qtgui ,... 做些定制

https://github.com/xmake-io/xmake-repo/tree/dev/packages/q/qtbase

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Elite-stay
Comment options

Comment options

You must be logged in to vote
3 replies
@waruqi
Comment options

@waruqi
Comment options

Answer selected by Elite-stay
@Elite-stay
Comment options

Comment options

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