Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Installer Framework: validator for input field?



  • Hi,

    I'm using QtIF for the first time and need to limit an QLineEdit to the port range of 1 to 65535.

    Normally I would use setValidator(), but can't find out how to use this in the installscript.qs - is this supported?

    As Workaround I use inputMask 99999 and textChanged.connect to check the user input...

    Thanks,
    Thomas


Log in to reply