config.xml Example File | Qt Installer Framework Documentation 4.11.0

- Qt Installer Framework Documentation
- Repository Categories Example
- config.xml Example File
- Qt Installer Framework 4.11.0

# config.xml Example File

repositorycategories/config/config.xml

     <?xml version="1.0" encoding="UTF-8"?>
     <Installer>
         <Name>Repository category Installer Example</Name>
         <Version>1.0.0</Version>
         <Title>Repository category Installer Example</Title>
         <Publisher>The Qt Company</Publisher>
         <StartMenuDir>Qt IFW Examples</StartMenuDir>
         <TargetDir>@HomeDir@/IfwExamples/repositoryCategories</TargetDir>
         <RemoteRepositories>
             <Repository>
                 <Url>http://localhost/repository</Url>
             </Repository>
         </RemoteRepositories>
         <RepositoryCategories>
             <RepositoryCategoryDisplayname>Releases</RepositoryCategoryDisplayname>
             <RemoteRepositories>
                 <DisplayName>Category 1</DisplayName>
                 <Tooltip>Contains repository1 and repository2</Tooltip>
                 <Repository>
                     <Url>http://localhost/repository1</Url>
                 </Repository>
                 <Repository>
                     <Url>http://localhost/repository2</Url>
                 </Repository>
             </RemoteRepositories>
             <RemoteRepositories>
                 <Preselected>true</Preselected>
                 <DisplayName>Category 2</DisplayName>
                 <Tooltip>Contains repository3</Tooltip>
                 <Repository>
                     <Url>http://localhost/repository3</Url>
                 </Repository>
             </RemoteRepositories>
         </RepositoryCategories>
     </Installer>