Where should I specify the path to QApplication for vs code to find it?
Unsolved
Mobile and Embedded
-
OC - Windows
Where Qt6 comes from is the github repository.
Compilation error in VS Code terminal " QApplication no such file or directory " .
Where do I need to specify QApplication for vs code to find it?
I have specified a couple of paths to it in Path (in variable environments), paths were also specified in the JS folder in the fixes.
But in Qt creator everything works, the application starts.
What did this case look like:- Downloading the repository zip code from GitHub and extracting files
- Adding a repository to VS code
- Adding a cpp file and application code specifying all classes and libraries (as #include <QApplication>)
- Compiling the program into an exe file ?
- Error 🫡
-
Hi,
GitHub is only a mirror of Qt's sources so what exactly did you install ?
As for your project are you using something like cmake to manage your project ?