update qt

This commit is contained in:
ivaquero
2026-04-10 17:09:45 +08:00
parent cb2101db7f
commit 736f5b3a3b
12 changed files with 870 additions and 451 deletions
+34 -4
View File
@@ -1,6 +1,36 @@
{
"includePath": "/opt/homebrew/include",
"compilerPath": "/usr/bin/clang++",
"cStandard": "c11",
"cppStandard": "c++17"
"configurations": [
{
"name": "macos-conda-qt",
"includePath": [
"${workspaceFolder}/**",
"${env:HOMEBREW_CELLAR}/qt/6.11.0/include/**",
],
"defines": [],
"compilerPath": "/usr/bin/clang++",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "macos-clang-arm64",
"configurationProvider": "kylinideteam.cmake-intellisence"
},
{
"name": "win-conda-qt",
"includePath": [
"${workspaceFolder}/**",
"${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\include",
"${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\include\\qt"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin\\g++.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-gcc-x64",
"configurationProvider": "kylinideteam.cmake-intellisence"
}
],
"version": 4
}
+58
View File
@@ -0,0 +1,58 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Qt6",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "arm64",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"externalConsole": false,
"cwd": "${fileDirname}",
"environment": [
{
"name": "DYLD_LIBRARY_PATH",
"value": "${env:HOMEBREW_CELLAR}/qt/6.11.0/lib"
}
],
"MIMode": "lldb",
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Debug Qt6 on Windows",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "x86_64",
"program": "${fileDirname}/${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"externalConsole": false,
"cwd": "${fileDirname}",
"MIMode": "gdb",
"miDebuggerPath": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin\\gdb.exe",
"internalConsoleOptions": "openOnSessionStart",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": false
}
]
},
{
"name": "C/C++: clang++ build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"preLaunchTask": "Build Qt6"
}
]
}
+78
View File
@@ -0,0 +1,78 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "Build Qt6",
"command": "/usr/bin/clang++",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}",
"-I",
"${env:HOMEBREW_CELLAR}/qtbase/6.11.0/include",
"-L",
"${env:HOMEBREW_CELLAR}/qtbase/6.11.0/lib",
"-lQt6Core",
"-lQt6Gui",
"-lQt6Widgets"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "cppbuild",
"label": "Build Qt6 on Windows",
"command": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}.exe",
"-I",
"${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\include",
"-I",
"${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\include\\qt6",
"-L",
"${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\lib",
"-lQt6Core",
"-lQt6Gui",
"-lQt6Widgets"
],
"options": {
"cwd": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "cppbuild",
"label": "C/C++: g++.exe build active file",
"command": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": "build",
"detail": "Task generated by Debugger."
}
]
}