@Nadia220 said in QApplication:
Yes, I am from Russia
The Qt Company decided to block Russian IP addresses in 2022... :(
So the official online Installer currently doesn't work in Russia anymore.
It's sad, but we can't do anything about it. Some day they will unbann it again, but until then you have to find other ways to install Qt... as you said, for example, via GitHub and build from source.
There is a file in the Msys/mingw/include file, like a QAplication document, but there is no folder, I do not understand what is wrong 🤨
Your "File or directory not found" is a generic message when something wasn't found.
Since you probably #include <QApplication> in your main.cpp it is looking for a qapplication.h header file... and can not find / locate it...
Either your Qt installation isn't 100% right and/or some paths are not set.
@Nadia220 said in QApplication:
What is QT_DIR? I have not seen this
QT_DIR is an environment variable which helps to locate your Qt installation "home" dir... Something like "C:\Qt\6.8.0\"
Can't help you with Msys, but when using QtCreator, you should find your Qt installation.
Check if your JSon config files for your VSCode workspace are really configured correctly (compare with the video and change your paths accordingly so it matches your Qt installation on your computer)