summaryrefslogtreecommitdiff
path: root/xmake/rules/qt
AgeCommit message (Collapse)Author
2026-01-24improve qt xpackruki
2026-01-11refactor(qt): simplify mkspec includedirs logicruanc
Replace conditional statement with ternary operator for adding includedirs from qt.mkspecsdir. The logic remains the same but the code is more concise using 'qt.mkspec or fallbackmkspec' instead of explicit if-else condition.
2026-01-11feat(qt): add fallback mkspec support for different platformsruanc
- Introduce fallbackmkspec variable to handle mkspec selection - Set platform-specific fallback mkspec values: - macosx: macx-clang - linux: linux-g++ - windows: win32-msvc - mingw: win32-g++ - android: android-clang - wasm: wasm-emscripten - Implement conditional logic to use qt.mkspec when available, otherwise fall back to platform-specific mkspec - Maintain backward compatibility with existing mkspec usage
2026-01-11feat(qt): support dynamic mkspec selection for Qt SDKruanc
- Add mkspec variable to store QMAKE_XSPEC or QMAKE_SPEC from Qt environment - Include mkspec in the returned Qt SDK information table - Use dynamic mkspec path instead of hardcoded platform-specific paths - Remove hardcoded mkspec directory paths for macosx, linux, windows, android and wasm platforms - Add include directories using the dynamic mkspec path for proper Qt compilation
2025-12-02fix targetdir in qml ruleruki
2025-11-28fix uninstall filesruki
2025-11-28add uninstallcmdruki
2025-11-28fix cp dirruki
2025-11-28install deployed qt filesruki
2025-11-28fix installdir for pack qtruki
2025-11-28fix windeployqtruki
2025-11-28improve windeployqt for xpackruki
2025-11-27add missing filesruki
2025-11-27pack qt appruki
2025-11-27Update load.luaruki
2025-11-27Save QT rules for llvm-toolchainMaxwell Geng
2025-11-14Update Qt ts ruleRC1844
Avoid unnecessary processing without source files
2025-09-20optimize codesignruki
2025-09-06fix qt rule orderruki
2025-09-06revert config targets #6775ruki
2025-08-22fix qmltyperegistrar path #6733ruki
2025-08-21format coderuki
2025-08-21fix(qt.qmltyperegistrar): Get rid of redundant packing into tablesSerhii Olendarenko
2025-08-20fix(qt.qmltyperegistrar): Extend dependencies for rebuildGooRoo
- Add values (import name, import version) to dependencies. - Add corresponding headers to dependencies as we need to re-generate `plugin.qmltypes`.
2025-08-06Merge pull request #6667 from xmake-io/configruki
improve to config targets
2025-08-06Revert "improve to config targets"ruki
2025-07-31sort qt rules #6659ruki
2025-07-23fix: Ensure proper pathsGooRoo
2025-07-22fix(qt.qmltyperegistrar): Collect metatypes infoGooRoo
Instead of passing all JSON-files generated by MOC directly into `qmltyperegistrar`, combine them into a single JSON-file first using MOC. Resolves #6647.
2025-07-12revert qt/mocruki
2025-07-07fix qt rule #6570ruki
2025-07-03rename copyrightruki
2025-06-25Update Qt ts ruleRC1844
Replace the ts file update method to avoid the lupdate.exe command triggering the windows command line string limit
2025-05-25fix: rcc search path for qt androidbinLep
2025-05-11(rules) move platform.windows.subsystem rule to its right directory and add ↵Arthur LAURENT
it to platform.windows
2025-05-10(rules) use values/values_set instead of data and rename windows.subsystem ↵Arthur LAURENT
rule to platform.windows.subsystem
2025-05-09(rules) update rules that set subsystem manually to use new subsystem ruleArthur LAURENT
2025-04-24rename config.buildirruki
2025-04-17do windeployqt for qt.shared deps, fix windeployqt bindir bugchooyy
2025-04-15do windeployqt for qt.sharedchooyy
2025-04-08update order optruki
2025-01-22Add `qt_host` option to enable cross-platform Qt Builds using host SDK toolsChan Lee
2024-11-29improve rule qt.qmltyperegistrarDoekin
2024-10-11replace some hash caseruki
2024-07-29fix static qt link macro.xiaobfly
for example: before: $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/PrintSupport_resources_1/.rcc/qrc_qprintdialog.cpp.obj $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/PrintSupport_resources_2/.rcc/qrc_qprintdialog1.cpp.obj $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/Widgets_resources_1/.rcc/qrc_qstyle.cpp.obj $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/Widgets_resources_2/.rcc/qrc_qstyle1.cpp.obj $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/Widgets_resources_3/.rcc/qrc_qmessagebox.cpp.obj $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/Gui_resources_1/.rcc/qrc_qpdf.cpp.obj $$[QT_INSTALL_PREFIX]/lib/objects-RelWithDebInfo/Gui_resources_2/.rcc/qrc_gui_shaders.cpp.obj after: "D:/Qt/Qt6.5.3/lib/objects-Debug/Widgets_resources_1/.rcc/qrc_qstyle.cpp.obj", "D:/Qt/Qt6.5.3/lib/objects-Debug/Widgets_resources_2/.rcc/qrc_qstyle1.cpp.obj", "D:/Qt/Qt6.5.3/lib/objects-Debug/Widgets_resources_3/.rcc/qrc_qmessagebox.cpp.obj", "D:/Qt/Qt6.5.3/lib/objects-Debug/Gui_resources_1/.rcc/qrc_qpdf.cpp.obj", "D:/Qt/Qt6.5.3/lib/objects-Debug/Gui_resources_2/.rcc/qrc_gui_shaders.cpp.obj",
2024-07-23fix qt install for mingwruki
2024-07-23simplify settingsjingkaimori
assume that strings contains one option only.
2024-07-23fix error when qt.deploy.flags policy is a tablejingkaimori
2024-07-15User's qt.deploy.flags have priority over defaultsyh-sb
2024-07-13fix framework for mac qt #5336ruki