Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Online repository and controlScript
Qt 6.12 LTS is out! See what's new in the release blog

Online repository and controlScript

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 728 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.
  • 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
        • Unsolved