Skip to content

hacker-b2k/qt-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qt logo Qt Creator Build Configuration for Windows x64

Complete build setup for Qt Creator IDE on Windows with MSVC 2022.

Prerequisites

Install the following before building:

  1. Visual Studio 2022 with C++ desktop development workload
  2. Windows 10/11 SDK (version 10.0.26100.0 or compatible)
  3. Qt 6.8.3 for Windows MSVC 2022
  4. CMake (latest version)
  5. Ninja build system
  6. Git for Windows

Optional Dependencies

  • LLVM/Clang (for ClangCodeModel and ClangFormat plugins)
  • Vulkan SDK (for graphics debugging features)

Quick Start

One-Command Build

.\build.ps1

This script will:

  1. Set up the MSVC build environment
  2. Configure CMake with all required paths
  3. Build Qt Creator in Release mode

Manual Steps (if needed)

# Configure
.\configure.ps1

# Build
cd qtcreator_build
ninja

Configuration

Edit the paths in build.ps1 according to your installation:

$msvcRoot = "D:\code\apps\devtools\msvc"        # Your MSVC installation path
$msvcVer = "14.50.35717"                         # Your MSVC version
$winKitVer = "10.0.26100.0"                      # Your Windows SDK version
$qtPath = "D:/code/apps/devtools/qt/6.8.3"      # Your Qt installation path
$llvmPath = "D:/code/apps/devtools/llvm"        # Your LLVM installation path (optional)

Build Output

After successful build, the Qt Creator executable will be located at:

qtcreator_build\bin\qtcreator.exe

Running Qt Creator

.\qtcreator_build\bin\qtcreator.exe

Troubleshooting

Missing MSVC Environment

If you get errors about missing headers (type_traits, windows.h, etc.), run the build script which sets up the environment automatically.

CMake Configuration Errors

Make sure all paths in build.ps1 point to valid installations.

Build Fails

  1. Clean the build directory: Remove-Item -Recurse -Force qtcreator_build
  2. Re-run: .\build.ps1

Repository Structure

qt-creator-build/
├── build.ps1              # Main build script (configure + build)
├── configure.ps1          # CMake configuration script
├── configure.bat          # Batch file alternative for configure
├── README.md              # This file
└── qt-creator/            # Qt Creator source (git submodule or separate)

License

Qt Creator is licensed under GPL-3.0 with Qt Commercial License exception. See the official Qt Creator repository for full license details.

Official Repository

Source code from: https://code.qt.io/qt-creator/qt-creator.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors