Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. #include <QApplication> but QApplication: No such file or directory
Forum Updated to NodeBB v4.3 + New Features

#include <QApplication> but QApplication: No such file or directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 357 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    seadark
    wrote on last edited by
    #1

    I use vscode to run the main.cpp, and I set
    "configurations": [
    {
    "name": "Win32",
    "includePath": [
    "${workspaceFolder}/**",
    "E:\QT\6.4.3\msvc2019_64\bin",
    "E:\QT\6.4.3\mingw_64\bin",
    "E:\QT\6.4.3\msvc2019_64\include",
    "E:\QT\6.4.3\mingw_64\include",
    "E:\QT\6.4.3\mingw_64\include\QtNetwork",
    "E:\QT\6.4.3\mingw_64\include\QtWidgets",
    "E:\QT\6.4.3\mingw_64\include\QtCore",
    "E:\QT\6.4.3\mingw_64\include\QtGui",
    "E:\QT\6.4.3\msvc2019_64\include\QtNetwork",
    "E:\QT\6.4.3\msvc2019_64\include\QtWidgets",
    "E:\QT\6.4.3\msvc2019_64\include\QtCore",
    "E:\QT\6.4.3\msvc2019_64\include\QtGui"
    ],
    but error still exists. My QT is 6.4.3. What can I do to solve it?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should rather use CMake to manage your C++ project and the corresponding VSCode integration.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved