qtquick: Fix build

This commit is contained in:
Sergio Martins
2021-01-13 13:31:33 +00:00
parent 8f61e57b57
commit f997b2d2f0
4 changed files with 53 additions and 4 deletions

View File

@@ -0,0 +1,48 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.associations": {
"qevent": "cpp",
"qvector": "cpp"
},
"C_Cpp.default.compileCommands" : "${workspaceFolder}/build-dev-qtquick/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.intelliSenseMode": "gcc-x64",
"files.trimTrailingWhitespace": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": ["--preset=dev-qtquick"],
"options": {
"cwd": "${workspaceFolder}/",
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": ["--build", "${workspaceFolder}/build-dev-qtquick"],
"options": {
"cwd": "${workspaceFolder}/",
},
"problemMatcher": [
"$gcc"
],
"group": "build"
}
]
}
}