QDateEdit Calendar Popup Issue
-
Hello, I have a Qt 6.5 cross compile setup running on a Beaglebone Black. The application I'm using was formerly developed in Qt 4.8, but it is being brought into a more modern environment.
I've run into an issue where there is some difference in functionality that I'm not sure what I can do about it. I have a QDateEdit box on my form with calendar pop-ups enabled. When the user clicks the drop down button, the calendar pops up as it should, but only the first time. Subsequent clicks to the QDateEdit box do not cause the calendar pop-up to appear again.
Using this code
QList<QWidget *> widgets = ui->dateEdit->findChildren<QWidget *>();
I can see that the calendar widget still exists, but it is not being shown.
Am I doing something incorrectly here? How can I get it so that the calendar pop-up appears EACH time the user clicks on the box instead of just the first time?
Is this a quirk of it being cross compiled or has the functionality of the date edit box changed at some point in the past?
-
Hi,
Sounds rather like a glitch.
Which window manager are you using on your target ?
Can you test with a more recent version of Qt ? -
@SGaist I'm using 6.5 in the hopes that it is well supported and will continue to be supported for a while yet.
I'm not using a window manager, I'm using the linuxfb.
I'm not easily able to test with a more recent version of Qt, it was difficult enough to get this one up and running.