Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133262

Add `QtInstallDir` as equivalent to `GNUInstallDir`

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Build System: CMake
    • None

    Description

      It would be nice to expose some standardized interface for how we expect a user Qt project to install its artifacts to. For example, `kirigami` installs its qml files in the same path as Qt's files, but this is defined manually via `KDE_INSTALL_QMLDIR`. This could be instead more standardized for simple projects to pick up the default install paths as defined by the OS.

      One potential challenge to this, is that when you run `include(GNUInstallDir)`, the `install(DESTIONATION)` are automatically populated, but would we be able to provide a similar user experience?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            lecris Cristian Le
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes