Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QDateEdit Calendar Popup Issue
QtWS25 Last Chance

QDateEdit Calendar Popup Issue

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qdateeditcross compile
3 Posts 2 Posters 475 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    timroberts
    wrote on 4 Mar 2024, 16:25 last edited by timroberts 3 Apr 2024, 16:25
    #1

    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?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Mar 2024, 19:47 last edited by
      #2

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply 4 Mar 2024, 21:26
      0
      • S SGaist
        4 Mar 2024, 19:47

        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 ?

        T Offline
        T Offline
        timroberts
        wrote on 4 Mar 2024, 21:26 last edited by
        #3

        @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.

        1 Reply Last reply
        0

        3/3

        4 Mar 2024, 21:26

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved