Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved qmake: How to override installation prefix for build outputs?

    General and Desktop
    1
    1
    118
    Loading More Posts
    • 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.
    • I
      Igor Baidiuk last edited by Igor Baidiuk

      Hello!

      I'm building QML plugin, this one https://code.qt.io/cgit/qt-extensions/qttreeview.git in particular. It provides only QMake-based build process for Qt 5.15. The issue is, QMake installs plugin's binaries and other files into Qt installation it belongs to. And I want all those files to be installed into separate directory, for later separate packing and distribution. Configuring qmake describes set of QT_INSTALL_ properties which specify different locations for different kinds of files. Unfortunately I couldn't find a way to modify all of them at once. Changing QT_INSTALL_PREFIX changes only its value. So can I modify all those properties at once somehow? Or do I need to specify all of their values by hand?

      EDIT: It seems that overriding all those properties gives exactly zero results. QMake simply ignores them and still installs everything into Qt distribution it belongs to.

      Thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post