-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
43 lines (42 loc) · 1.38 KB
/
Copy pathdevcontainer.json
File metadata and controls
43 lines (42 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "Qt/KDE devcontainer",
"image": "ghcr.io/rfrench3/qt6-kirigami-container:main",
"remoteUser": "user",
"customizations": {
"vscode": {
"settings": {
"cmake.configureOnOpen": true,
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"C_Cpp.default.includePath": [
"${workspaceFolder}/**",
"/usr/include/qt6",
"/usr/include/qt6/**",
],
"C_Cpp.default.defines": [],
"C_Cpp.default.compilerPath": "/usr/bin/clang",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.cppStandard": "c++17",
"C_Cpp.default.intelliSenseMode": "linux-clang-x64",
"C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json",
},
"extensions": [
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cmake-tools",
"theqtcompany.qt-cpp",
"theqtcompany.qt-core",
"theqtcompany.qt-qml",
],
},
},
"containerEnv": {
"WAYLAND_DISPLAY": "${localEnv:WAYLAND_DISPLAY}",
"XDG_RUNTIME_DIR": "${localEnv:XDG_RUNTIME_DIR}",
"XDG_SESSION_TYPE": "${localEnv:XDG_SESSION_TYPE}",
"XDG_CURRENT_DESKTOP": "KDE",
},
"privileged": true,
"mounts": [
"source=${localEnv:XDG_RUNTIME_DIR},target=${localEnv:XDG_RUNTIME_DIR},type=bind,consistency=cached",
"source=/dev/input,target=/dev/input,type=bind",
],
}