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. How to take user input in Qt Installer Framework?

How to take user input in Qt Installer Framework?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 500 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.
  • A Offline
    A Offline
    akhi95
    wrote on last edited by akhi95
    #1

    In an installer page, I need to give a textbox, dropdown list or something like that to take user input. Then I need the value selected/entered by the user in one of my component script so that I can use the value for some other task. Is there a way of doing it? I tried using QWidgets like QComboBox, QSpinBox but their user input API is not exposed to JavaScript. Please help.

    sierdzioS 1 Reply Last reply
    0
    • A akhi95

      In an installer page, I need to give a textbox, dropdown list or something like that to take user input. Then I need the value selected/entered by the user in one of my component script so that I can use the value for some other task. Is there a way of doing it? I tried using QWidgets like QComboBox, QSpinBox but their user input API is not exposed to JavaScript. Please help.

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @akhi95 said in How to take user input in Qt Installer Framework?:

      In an installer page, I need to give a textbox, dropdown list or something like that to take user input. Then I need the value selected/entered by the user in one of my component script so that I can use the value for some other task. Is there a way of doing it?

      Yes, see this example: https://doc.qt.io/qtinstallerframework/qtinstallerframework-dynamicpage-example.html

      I tried using QWidgets like QComboBox, QSpinBox but their user input API is not exposed to JavaScript. Please help.

      It is exposed, see the documentation: https://doc.qt.io/qtinstallerframework/noninteractive.html

      (Z(:^

      A 1 Reply Last reply
      1
      • sierdzioS sierdzio

        @akhi95 said in How to take user input in Qt Installer Framework?:

        In an installer page, I need to give a textbox, dropdown list or something like that to take user input. Then I need the value selected/entered by the user in one of my component script so that I can use the value for some other task. Is there a way of doing it?

        Yes, see this example: https://doc.qt.io/qtinstallerframework/qtinstallerframework-dynamicpage-example.html

        I tried using QWidgets like QComboBox, QSpinBox but their user input API is not exposed to JavaScript. Please help.

        It is exposed, see the documentation: https://doc.qt.io/qtinstallerframework/noninteractive.html

        A Offline
        A Offline
        akhi95
        wrote on last edited by
        #3

        @sierdzio Thanks! I was following that example before as well. But another look now told me what I was missing :)

        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