Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Variable path name
Forum Updated to NodeBB v4.3 + New Features

Variable path name

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 179 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.
  • R Offline
    R Offline
    restford
    wrote on last edited by
    #1

    A problem we bumped into when coding a .pri file was that we needed a file included in the Inno Setup folder whilst some of us used different versions of Inno Setup. We have been hardcoding the path to the Inno Setup (which includes the version number in the name) but wonder if there is a way to enable the file to pick the correct name so that when downloading future releases of Inno Setup we don't have to manually go back into the code and change it every time.

    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      If I got it right, you're after some logic in qmake that selects a file in a path that contains some (unknown version). You could try https://doc.qt.io/qt-5/qmake-function-reference.html#files-pattern-recursive-false for that?

      Director R&D, The Qt Company

      1 Reply Last reply
      0
      • R Offline
        R Offline
        restford
        wrote on last edited by
        #3

        That's probably it!

        Thanks!

        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