Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23739

Create "Project Includes" folder to group all the *.pri files included

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None
    • None

    Description

      Distributed Qt libraries usually have .pri file that makes it easy for user to start using the lib.

      For example, I have 3 libraries and an application using all of them.
      In app.pro I include add 3 libraries by including their .pri-file:

      include(../lib_1/lib_1.pri)
      include(../lib_2/lib_2.pri)
      include(../lib_3/lib_3.pri)
      

      This is great, but will make the project's tree not as obvious as it was. I now see in one column lib_1, lib_2, lib_3 and Sources. Which should not be in one column, because libs are dependency of Sources.

      Note, that in this example I have just 3 libs with similar names. If i had more libraries with totally different names, the project's tree would have become an unreadeble mess. 

      The suggestion is to create a "Project Includes" filter-directory in the project's tree, which would group all the .pri-files included in the .pro-file.
      There are already such filter-dirs like Headers, Sources, QML, Other Files, Resources.

      It seems to me that such feature would make it easier for users to use .pri-files.

      P.S. the project example is included.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            sirotin Igor Sirotin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes