Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Variables in qt.conf
Qt 6.11 is out! See what's new in the release blog

Variables in qt.conf

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.3k Views 1 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.
  • McLionM Offline
    McLionM Offline
    McLion
    wrote on last edited by
    #1

    Can I somehow use variables in the "qt.conf":http://qt-project.org/doc/qt-4.8/qt-conf.html file?
    I'd like to use a variable for the users home directory to build the prefix.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      t3685
      wrote on last edited by
      #2

      If you want the path to the home directory use:

      http://qt-project.org/doc/qt-5/qdir.html#homePath

      (unless you are talking about the installer framework, but that is something else)

      1 Reply Last reply
      0
      • McLionM Offline
        McLionM Offline
        McLion
        wrote on last edited by
        #3

        That's of no use for the qt.conf !

        I want to set something like this:
        @ [Paths]
        Prefix = $$(HOME)/path/to/myQt @

        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