QSpinBox improper behaviour
-
Hi,
Please show a sample code the exhibit this behaviour.
What version of Qt are you using ?
On what platform ? -
@SGaist My Qt version
Based on Qt 5.9.3 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)My code is below
ui->font_size_spinBox->setRange(10,50);@Sriu1 said in QSpinBox improper behaviour:
Based on Qt 5.9.3 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
That sounds rather like the Qt version used to build Qt Creator, not the one you are currently using.
Your code is way to short to reproduce the behaviour.
You also didn't state what flavour of Linux you are using. -
My linux version is 16.04LTS.I'm currently working on Qt creator Based on Qt 5.9.3 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
@Sriu1 said in QSpinBox improper behaviour:
Qt creator Based on Qt 5.9.3 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Again: this is Qt version which was used to build QtCreator. Which Qt version did you install? You can check it in your Kit settings.