Important: Please read the Qt Code of Conduct -

QInputDialog osx bug?

  • Hi. I am using the 4.8.0 beta on osx and windows, on windows this works fine but on osx I can not change the value of the input dialog with they keyboard, cut/paste of some number or with the step arrows. I am creating the dialog as result of a push button.

    bool ok;
    long id = QInputDialog::getInteger(this, tr("Set Id"), tr("Id"), 0, 0, LONG_MAX, 1, &ok;);
    if( !ok ) return;

    .. do something with id

    Any ideas? Thanks.

Log in to reply