We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v2.7.8+HEAD.87dff1ef4
Windows 10 Professional 21H2 19044.2364
xmake run failed, because target runenvs without qt bindir path.
xmake run
runenvs
xmake run work.
add_requires("vulkansdk") target("qt") add_rules("qt.widgetapp") add_files("*.cpp") add_files("Widget.hpp") add_cxxflags("/Zc:__cplusplus", "/permissive-", {tools = "cl"}) add_deps("shader") add_packages("vulkansdk") set_rundir("$(projectdir)") before_run(function (target) -- it work -- if is_plat("windows") then -- import("detect.sdks.find_qt") -- local qt = target:data("qt") or assert(find_qt(), "Qt SDK not found!") -- target:add("runenvs", "PATH", qt.bindir) -- end os.execv("xmake build " .. target:name()) end)
xmake run doesn't execute rule qt.env on_config.
qt.env
The text was updated successfully, but these errors were encountered:
load targets to fix qt/env #3614
5b68e4d
try it first. #3615
xmake update -s github:xmake-io/xmake#project
Sorry, something went wrong.
It works.
No branches or pull requests
Xmake Version
v2.7.8+HEAD.87dff1ef4
Operating System Version and Architecture
Windows 10 Professional 21H2 19044.2364
Describe Bug
xmake run
failed, because targetrunenvs
without qt bindir path.Expected Behavior
xmake run
work.Project Configuration
Additional Information and Error Logs
xmake run
doesn't execute ruleqt.env
on_config.The text was updated successfully, but these errors were encountered: