Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator - Hiding included files from .pro files

Qt Creator - Hiding included files from .pro files

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 955 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.
  • Chris BC Offline
    Chris BC Offline
    Chris B
    wrote on last edited by A Former User
    #1

    Hi all,

    I am using Qt Creator for a rather large project. In the .pro files for each lib / app in this project there are several include statements, one is for a "common.inc" which contains general settings and extra compilers for bison/yacc/ and xdr files, and a few others for dependencies. Bascially when I edit a file in a library, the top level app will know about it and go in there, recompile the library, then relink the app with the library. That part all works just fine. The problem is, when using Qt Creator, there are a lot of lines, one of which is common, and the others are actually blank lines since the dependency information is in a file literally called .deps in the library directory. Is there a way to hide the included files from the list under each project, so I just see sources, headers, forms, etc.. and not all the internals?

    kshegunovK 1 Reply Last reply
    0
    • Chris BC Chris B

      Hi all,

      I am using Qt Creator for a rather large project. In the .pro files for each lib / app in this project there are several include statements, one is for a "common.inc" which contains general settings and extra compilers for bison/yacc/ and xdr files, and a few others for dependencies. Bascially when I edit a file in a library, the top level app will know about it and go in there, recompile the library, then relink the app with the library. That part all works just fine. The problem is, when using Qt Creator, there are a lot of lines, one of which is common, and the others are actually blank lines since the dependency information is in a file literally called .deps in the library directory. Is there a way to hide the included files from the list under each project, so I just see sources, headers, forms, etc.. and not all the internals?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      Hi,
      You can enable "Simplify tree" filtering option (first button right of the dropdown):

      It will still show the included subproject files, but it won't (allow to) expand them.

      Kind regards.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      1
      • Chris BC Offline
        Chris BC Offline
        Chris B
        wrote on last edited by
        #3

        I tried that. I have about 600 projects total, and I get one long list. Its a lot nicer to go to GeneralApps -> UI. I think what I might do is put all the .deps under one include file in each directory so I only have two includes in each project. I could live with two. Its the ones with 15 or 20 that look really bad.

        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