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. Including .h files in a new project
Forum Updated to NodeBB v4.3 + New Features

Including .h files in a new project

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 504 Views 2 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.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by
    #1

    Hello,

    I'm studying the official book of Qt (Qt 4.8). In chapter three in a new program I should inculde some prior .h files into the .ccp file. The prior .h files that I have are of previous chapters.

    For adding them (so that the pre-processor command #include works) I think I should copy those .h files either into the new project's folde or the include folder of the path Qt has been installed. Am I right?
    If, so, which one would you do?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      Hi! Copy the files into your project's directory. Never touch the Qt directory. :-)

      tomyT 1 Reply Last reply
      2
      • ? A Former User

        Hi! Copy the files into your project's directory. Never touch the Qt directory. :-)

        tomyT Offline
        tomyT Offline
        tomy
        wrote on last edited by
        #3

        @Wieland said in Including .h files in a new project:

        Hi! Copy the files into your project's directory. Never touch the Qt directory. :-)

        Good remark, thanks, I will always do that.. :-)

        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