summaryrefslogtreecommitdiff
path: root/xmake/rules/qt/load.lua
AgeCommit message (Collapse)Author
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-11-27Update load.luaruki
2025-11-27Save QT rules for llvm-toolchainMaxwell Geng
2025-07-03rename copyrightruki
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-01-22Add `qt_host` option to enable cross-platform Qt Builds using host SDK toolsChan Lee
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-13fix framework for mac qt #5336ruki
2024-06-20support QT_LIBINFIX propertyElite-stay
2024-06-07Fix syslinks error using qt static lib in mingwf11st
2024-06-07Fix syslinks error using qt static lib in mingwf11st
2024-06-07Fix syslinks error using qt static lib in mingwf11st
2024-02-21fixed #4753xiaobfly
2024-01-19support qt static library automatically parses prl files to add linksnjqwc
2023-12-15fix qt for macos #4499ruki
2023-11-01mark get_from_xxx as deprecatedruki
2023-10-08fix qt runenvsruki
2023-09-28set default runtime for qt #4161ruki
2023-09-08fix spacesruki
2023-09-07shflags沈浪熊猫儿
2023-09-07final沈浪熊猫儿
2023-09-07cleaning沈浪熊猫儿
2023-09-07it works on qt6沈浪熊猫儿
2023-09-06fix typoruki
2023-09-06fix EXPORT_NAME error for qt wasmruki
2023-09-06format coderuki
2023-09-06improve to add frameworks resources for wasmruki
2023-09-06fix commentsruki
2023-09-06fix export runtime methodsruki
2023-09-06export qt app for wasm #4373ruki
2023-08-31fix errorsruki
2023-08-31improve qt frameworks for windowsruki
2023-08-29fix qt frameworks #4135ruki
2023-07-19Fix grammarwtz
2023-06-28fix #3897zhuizhubf
fix #3897
2023-05-01fix qt compilestar-hengxing
2023-04-01add missing documents and branchesjingkaimori
2023-03-31Update load.luaruki
2023-03-31fix linking issues for qt6jingkaimori
2023-03-29Update load.luaruki
2023-03-29fix 3rd libjingkaimori
2023-02-28fix mingw include for qtruki
2023-02-03fix qt cpp language detectionArthur LAURENT
2023-01-28fix languages for qtruki
2023-01-27Fix detection of target language for qt projectsxaizek
Stray change in 02fb7ef69e78a5d6a8e0066f8866684533836ac3 broke it such that language set via `set_languages()` wasn't detected and `-std=c++11` was appended after `-std` flag that came from `set_languages()` in `xmake.lua`. To reproduce: 1. `xmake create -tqt.quickapp` 2. `vim xmake.lua` and add `set_languages("c++17")` 3. `xmake --verbose` and look at `-std=` options
2023-01-06Update load.luaruki