Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change in the path of the Qt headers .

Change in the path of the Qt headers .

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 316 Views
  • 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
    summit
    wrote on 4 Apr 2021, 06:39 last edited by
    #1

    I am transferring Old QT project from one system to another.

    All the library paths are same as in the previous system.

    I have added Qt to the visual studio and able to create new QT projects on the system.

    But when I try to open the project which was created on another system , the project is not able to find the QT header files.

    The reason is that now QT header files cannot be accesed directly.

    if i try to access a QT header file with name like i was using before in the previous system.

    include <Qdebug>

    I am not able to access the file .

    but I have to to acces it like.

    include <QtCore/qdebug.h>

    These are the QT setting on the new system.

    Image1.png

    Image2.png

    The difference between the two project is their project setting file.

    i am not able to find the QT PROJECT SETTING Tab in the properties of the old project , but all the new projects that i create has this project setting.

    Image4.png

    The the the property page for the old project which i have migrated to this system.

    Image3.jpg

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Apr 2021, 19:35 last edited by
      #2

      Hi,

      @summit said in Change in the path of the Qt headers .:

      include <Qdebug>

      You have a typo here, it's #include <QDebug>.

      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

      1/2

      4 Apr 2021, 06:39

      • Login

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