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. My .h is in my .pro,but still show '.h' file not found,how to fixed

My .h is in my .pro,but still show '.h' file not found,how to fixed

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 454 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.
  • P Offline
    P Offline
    Princein
    wrote on last edited by
    #1

    I add the ldp_basic_vec.h in the pro,but it till show me 'ldp_basic_vec.h' file not found, why and how fixed it! thanks!
    here is the pic:
    error
    .pro

    RatzzR 1 Reply Last reply
    0
    • P Princein

      I add the ldp_basic_vec.h in the pro,but it till show me 'ldp_basic_vec.h' file not found, why and how fixed it! thanks!
      here is the pic:
      error
      .pro

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by Ratzz
      #2

      @Princein said in My .h is in my .pro,but still show '.h' file not found,how to fixed:

      here is the pic:

      I cannot see your pic.

      @Princein said in My .h is in my .pro,but still show '.h' file not found,how to fixed:

      show me 'ldp_basic_vec.h' file not found

      The .h file may be not in the project folder (where .pro) is present or if it is present u can close your project and reopen the project to load .h file.

      If the .h is present in different path can manually add them to project.

      --Alles ist gut.

      1 Reply Last reply
      2
      • P Offline
        P Offline
        Princein
        wrote on last edited by
        #3

        the pic links:
        error: https://github.com/iOSPrincekin/Qt/blob/master/QA/5.png
        .pro:https://github.com/iOSPrincekin/Qt/blob/master/QA/6.png

        J.HilkJ 1 Reply Last reply
        0
        • P Princein

          the pic links:
          error: https://github.com/iOSPrincekin/Qt/blob/master/QA/5.png
          .pro:https://github.com/iOSPrincekin/Qt/blob/master/QA/6.png

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @Princein
          Have you added the subfolder to the include path?

          If not, you‘ll have to add the subfolders in your include statement

          #include only looks in the same folder, or in the include path‘s defined in your pro file


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          2

          • Login

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