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. Installer with Language Selection

Installer with Language Selection

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
installercontrollerlanguagechangeaddwizardpage
1 Posts 1 Posters 967 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.
  • xyz-MannX Offline
    xyz-MannX Offline
    xyz-Mann
    wrote on last edited by
    #1

    Hello Guys,

    I have some Problems with the QT Installer

    I already done all tutorials but i am a real newbie

    What i need:

    • an installer with a language Selection as first page
    • adding a second (save) path in TargetDirectory

    What i have:

    • an installscript.js (package root)
    • an ControlScript.js (path in config.xml)

    What i tried:

    • function Controller()
      {
      QMessageBox.information("DEBUG", "DEBUG", "DEBUG", QMessageBox.Ok);
      installer.addWizardPage(component, "Start", QInstaller.Introduction);
      QMessageBox.information("TEST", "TEST", "TEST", QMessageBox.Ok);
      }

    the Start.ui i placed in the config path but
    nothing happens and the second MessageBox is never shown - the installer seems to be crashed

    • function Controller()
      {
      }
      Controller.prototype.IntroductionPageCallback = function()
      {
      installer.addWizardPageItem(component ,"lineEdit",QInstaller.TargetDirectory);
      }

    same - nothing happens here installer crashed

    hope you can help me to fix the code - and can someone please tell me how to change the language while the installer is running?

    thanks a lot

    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