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? I tried using QWidgets like QComboBox, QSpinBox but their user input API is not exposed to JavaScript. Please help.
-
@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