diff --git a/xmake/rules/qt/moc/xmake.lua b/xmake/rules/qt/moc/xmake.lua index a68f7ac5c06..623d3a6cb8e 100644 --- a/xmake/rules/qt/moc/xmake.lua +++ b/xmake/rules/qt/moc/xmake.lua @@ -71,7 +71,6 @@ rule("qt.moc") -- generate c++ source file for moc local flags = {} table.join2(flags, compiler.map_flags("cxx", "define", _get_values_from_target(target, "defines"))) - table.join2(flags, compiler.map_flags("cxx", "runtime", _get_values_from_target(target, "runtimes"))) local pathmaps = { {"includedirs", "includedir"}, {"sysincludedirs", "includedir"}, -- for now, moc process doesn't support MSVC external includes flags and will fail