Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Cannot show the "Repeat days' buttons" when I run the "alarms" example on Windows 10
Forum Updated to NodeBB v4.3 + New Features

Cannot show the "Repeat days' buttons" when I run the "alarms" example on Windows 10

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 156 Views 1 Watching
  • 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.
  • R Offline
    R Offline
    Richard L
    wrote 21 days ago last edited by
    #1

    I'm new to Qt. I'm learning the official document Getting Started Programming with Qt Quick. When I run this example with give codes on my PC. The Main window does not show the "Repeat days" buttons. Please see following pictures. My OS is Windows10, Qt version is 6.9.0, Qt Creator version is 16.0.2. The codes can be found here. Please help me, thank you.
    Alarm error.png

    J 1 Reply Last reply 3 days ago
    0
    • R Offline
      R Offline
      Richard L
      wrote 3 days ago last edited by
      #2

      Anyone? Help?

      1 Reply Last reply
      0
      • R Richard L
        21 days ago

        I'm new to Qt. I'm learning the official document Getting Started Programming with Qt Quick. When I run this example with give codes on my PC. The Main window does not show the "Repeat days" buttons. Please see following pictures. My OS is Windows10, Qt version is 6.9.0, Qt Creator version is 16.0.2. The codes can be found here. Please help me, thank you.
        Alarm error.png

        J Offline
        J Offline
        JKSH
        Moderators
        wrote 3 days ago last edited by JKSH
        #3

        @Richard-L Thanks for reporting this. It looks like the example got broken: https://bugreports.qt.io/browse/QTBUG-138105

        There are two ways to fix this:

        • Revert https://codereview.qt-project.org/c/qt/qtdoc/+/592511, OR
        • Download the version of the example from Qt 6.7 or earlier: https://code.qt.io/cgit/qt/qtdoc.git/tree/examples/tutorials/alarms?h=6.7

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        2
        • R Offline
          R Offline
          Richard L
          wrote 3 days ago last edited by
          #4

          @JKSH Thank you a lot for help. This means a lot to me.

          J 1 Reply Last reply a day ago
          0
          • R Richard L
            3 days ago

            @JKSH Thank you a lot for help. This means a lot to me.

            J Offline
            J Offline
            JKSH
            Moderators
            wrote a day ago last edited by
            #5

            @Richard-L You're welcome.

            OK, Qt R&D has fixed the example. You just need to add required property int index to TumblerDelegate.qml (see https://codereview.qt-project.org/c/qt/qtdoc/+/657647/2/examples/tutorials/alarms/TumblerDelegate.qml )

            I strongly recommend going back to the Qt 6.9 version of the example and adding that missing line. The older version does not showcase current best practices.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            1

            • Login

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