Skip to content

Conversation

Copy link

Copilot AI commented Dec 8, 2025

Template project for Qt C++ development using VSCode, CMake, and MinGW compiler.

Structure

  • CMakeLists.txt: Qt5/Qt6 auto-detection, AUTOMOC/AUTORCC/AUTOUIC enabled, MinGW-specific flags
  • src/: Simple Qt Widgets app with signal/slot example
  • include/: Header files with Q_OBJECT macro setup
  • .vscode/: CMake Tools configured for MinGW Makefiles generator, GDB debugging, build tasks

Example Usage

# Windows
build.bat

# Linux/Mac
./build.sh

Or use VSCode: Ctrl+Shift+B to build, F5 to debug.

Configuration

  • Supports both Qt5 and Qt6 via CMAKE_PREFIX_PATH
  • MinGW Makefiles as default generator
  • Debug configuration uses gdb.exe
  • Auto-configured include paths via CMake Tools extension
Original prompt

vscode, cmake, Qt mingw 를 사용하는 환경. 해당 환경의 템플릿을 위한 프로젝트.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 8, 2025 10:37
Co-authored-by: j2doll <1289306+j2doll@users.noreply.github.com>
Co-authored-by: j2doll <1289306+j2doll@users.noreply.github.com>
Copilot AI changed the title [WIP] Add template project for CMake and Qt with MinGW Add VSCode + CMake + Qt + MinGW template project Dec 8, 2025
Copilot AI requested a review from j2doll December 8, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants