How do I use Qt in Visual Stuidio Code operating system Linux Mint 18?
Marketplace doesnt exist extension for Qt. Maybe anyone knows more!
UPD. I meant that by type Qt AddIn
How do I use Qt in Visual Stuidio Code operating system Linux Mint 18?
Marketplace doesnt exist extension for Qt. Maybe anyone knows more!
UPD. I meant that by type Qt AddIn
The methods for adding Qt headers to the cpptools extension have changed since the last answer. Options for doing so now include:
Automatically adding a found Qt header path by clicking on the light bulb above an IntelliSense error and selecting Add to "includePaths"...
Manually adding the Qt header paths to the settings UI, from the command palette, via C/Cpp: Edit Configurations (UI)
Manually adding the Qt header paths to the settings JSON file, from the command palette, via C/Cpp: Edit Configurations (JSON)
More info in this page of the new documentation.
You can use CMake with CMake tools extension.
Just create a CMake project in vscode and add qt framework to your project in CMakeLists.txt.
Link to the extension - https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools
Use CMake with qt - https://doc.qt.io/qt-5/cmake-get-started.html
Apart from the C++ extension (cpptools) mentioned in other answers, there are also extensions for Qt Quick that add support for the QML language. The QML Syntax/Tools extension adds syntax highlighting, auto-completion, and also allows to run and test your Qt Quick app using QML Hot Reload: Visual Studio Code Extension for Qt Quick