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. Script from QMAKE_SUBSTITUTES with execute permissions
Forum Updated to NodeBB v4.3 + New Features

Script from QMAKE_SUBSTITUTES with execute permissions

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 176 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.
  • S Offline
    S Offline
    Sebastian Mosiej
    wrote on last edited by Sebastian Mosiej
    #1

    Hi,
    I'm using QMAKE_SUBSTITUTES to create script with paths to dependent libraries.
    Script is created, but after substitution it's permissions are 644.
    How can I change them to ie. 0755?
    Can I do it during install phase?

    PS: From qt src I see that QMAKE_SUBSTITUTES simply open and write to file.
    I found this a viable solution

    unix: system("chmod a+x $$shadowed($$PWD)/script.sh")
    
    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