- cmake
- ninja
- python (>= 3.10)
- node
- cygwin64
- git for windows
Links:
git clone https://github.com/llvm/llvm-project.git
md build\debug
cmake -GNinja -S llvm -B build/debug -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_PROJECTS=clang
cmake --build build/debug
cmake --install build/debug --prefix "C:/dev/libclang/debug"
md build\release
cmake -GNinja -S llvm -B build/release -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=clang
cmake --build build/release # -j 3
cmake --install build/release --prefix "C:/dev/libclang/release"
python -m pip install html5lib
git clone git://code.qt.io/qt/qt5.git qt6
cd qt6
git checkout origin/6.5.0 -b 6.5.0
git submodule update --init --recursive
We are going to build Qt in debug first and release later
md build\debug
cd build\debug
@rem save current PATH
set ORIGINAL_PATH=%PATH%
@rem NOTE: libclang must be at the end otherwise cmake will use clang insted of msvc
set PATH=%PATH%;C:\Dev\libclang\debug\bin
@rem to skip modules: -skip qtwebengine
..\..\configure.bat -no-pch -skip qtwebengine -debug -prefix C:\dev\Qt\6.5
cmake --build . --parallel
cmake --install .
cd ..\..
md build\release
cd build\release
set PATH=%ORIGINAL_PATH%
set PATH=%PATH%;C:\Dev\libclang\release\bin
..\..\configure.bat -no-pch -skip qtwebengine -release -prefix C:\dev\Qt\6.5
cmake --build . --parallel
cmake --install .
Documentation will be build with the release version of Qt
@rem inside build\release
cmake --build . --target docs
cmake --build . --target install_docs
cd build
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja ..
cmake --build . --config Release
cmake --install . --prefix D:/Qt/Creator/10.0.0
::and then, create self contained package of QtCreator
cmake --install . --prefix D:/Qt/creator/10.0.0 --component Dependencies
- Full Qt 6.x Windows Static build procedure
- libclang-static-build
- Build_libclang_on_Windows
- Building and Running Clang
- Qt Configure Options
- Installing Clang for QDoc
- QtPDF Build Instructions
- Qt5 super module
- Qt for Windows - Building from Source
- Building Qt 6 from Git
- Building QT 6.2 for Windows with MSVC2019 | DeveloperNote.com
- Installing Qt without installer | Declaration of VAR
- qt-creator/README.md at master · qt-creator/qt-creator · GitHub
- Index of /development_releases/prebuilt/libclang
- Index of /official_releases/qtcreator/10.0/10.0.0
- Error on Qt 6 Building from source for Windows Based | Qt Forum
- Qt Build System Glossary - Qt Wiki