Skip to content

Commit

Permalink
chore(vscode): Add Qt source file mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Mar 31, 2024
1 parent 48a385d commit 27f769e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion vscode.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [],
"cwd": "${command:cmake.buildDirectory}"
"cwd": "${command:cmake.buildDirectory}",
"sourceFileMap": {
"C:/work/build/qt5_workdir/w/s": "${QTDIR}/../Src",
"Q:/qt5_workdir/w/s": "${QTDIR}/../Src",
"C:/Users/qt/work/install": "${QTDIR}/../Src",
"C:/Users/qt/work/qt": "${QTDIR}/../Src"
}
},
{
"name": "Flutter attach",
Expand Down
8 changes: 7 additions & 1 deletion vscode.code-workspace.template
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@
"program": "${command:cmake.launchTargetPath}",
"args": [],
"cwd": "${command:cmake.buildDirectory}",
"gen.os": "windows"
"gen.os": "windows",
"sourceFileMap": {
"C:/work/build/qt5_workdir/w/s": "${QTDIR}/../Src",
"Q:/qt5_workdir/w/s": "${QTDIR}/../Src",
"C:/Users/qt/work/install": "${QTDIR}/../Src",
"C:/Users/qt/work/qt": "${QTDIR}/../Src"
}
},
{
"name": "Flutter attach",
Expand Down

0 comments on commit 27f769e

Please sign in to comment.