| Age | Commit message (Collapse) | Author |
|
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.
|
|
- 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
|
|
- 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
|
|
|
|
|
|
|
|
rule to platform.windows.subsystem
|
|
|
|
|
|
|
|
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",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix #3897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|