Important: Please read the Qt Code of Conduct -

Qt Installer Framework: Can't add items to a comboBox

  • Hi

    I managed to create a target custom page with a combobox (ui)

    How I can add Items to the combobox?
    I have tryed widget.comboBoxName.addItems("test123")


  • Hi,

    The addItems method accepts a QList<QString> parameter.

    Use addItem to add just one QString

  • addItems was a spelling mistake

    i have


    and the ui

    <widget class="QComboBox" name="installComboBox">

    and doesn't work


Log in to reply