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. Online repository and controlScript
QtWS25 Last Chance

Online repository and controlScript

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 452 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.
  • EndrII 0E Offline
    EndrII 0E Offline
    EndrII 0
    wrote on last edited by aha_1980
    #1

    how to change the field "Enable" of RemoteRepositories from controlscript.js?

        <RemoteRepositories>
            <Repository>
                <Url>http://B</Url>
                <Enabled>0</Enabled>
                <DisplayName>A</DisplayName>
            </Repository>
            <Repository>
                <Url>http://A</Url>
                <Enabled>0</Enabled>
                <DisplayName>B</DisplayName>
            </Repository>
        </RemoteRepositories>
    
    1 Reply Last reply
    0
    • I Offline
      I Offline
      iieklund
      wrote on last edited by
      #2

      @kamartti?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Katja Marttila
        wrote on last edited by
        #3

        Hi,
        You cannot enable it from script. Use addUserRepositories() instead https://doc.qt.io/qtinstallerframework/scripting-installer.html#addUserRepositories-method

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved