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. MSVS 2010 cannot locate header files
Forum Updated to NodeBB v4.3 + New Features

MSVS 2010 cannot locate header files

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 1.3k 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.
  • A Offline
    A Offline
    Alexander85
    wrote on last edited by
    #1

    Hello!
    I'm new to qt and persistantly got the following error(s):
    After installing Visual Studio 2010,
    After installing Qt library 5.3.1,
    After installing Qt plugin for VS 2010,
    After creating project with Qt5 plugin,

    Visual Studio still cannot locate headers required to build a project.
    I want to take an example from here: http://qt-project.org/doc/qt-4.8/gettingstartedqt.html
    and make it work.
    Any new component added to my project( to the code file ) - studio cannot locate Header, for example,
    QTextEdit.h.though i explicitly specified in Project->Options->VC++ directories folder, containing this file as well as many other.

    Can you, please, make a step-by-step instruction on installing/setuping/building steps in order to get started programming with qt rather than finding the ways to make the whole thing run.

    Thanks, Alexander.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alexander85
      wrote on last edited by
      #2

      still need some help

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

        Hi and welcome to devnet,

        QTextEdit.h does not exist.

        You should use

        @#include <QTextEdit>@

        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
        0
        • A Offline
          A Offline
          Alexander85
          wrote on last edited by
          #4

          Oh, Thanks A Lot.

          Looks like Qt is using nameofclass <-> nameofheader convention, and hmm...
          why wouldn't #include <QTextEdit.h> work?

          Topic could be closed anyway.

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

            Indeed

            Simple: because the file doesn't exist, you can find qtextedit.h but there's no QTextEdit.h

            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
            0

            • Login

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