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
8 Posts 2 Posters 381 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 on 12 Jun 2025, 00:52 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 30 Jun 2025, 02:15
    0
    • R Offline
      R Offline
      Richard L
      wrote on 30 Jun 2025, 00:11 last edited by
      #2

      Anyone? Help?

      1 Reply Last reply
      0
      • R Richard L
        12 Jun 2025, 00:52

        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 Online
        J Online
        JKSH
        Moderators
        wrote on 30 Jun 2025, 02:15 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 on 30 Jun 2025, 05:41 last edited by
          #4

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

          J 1 Reply Last reply 2 Jul 2025, 02:17
          0
          • R Richard L
            30 Jun 2025, 05:41

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

            J Online
            J Online
            JKSH
            Moderators
            wrote on 2 Jul 2025, 02:17 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
            • R Offline
              R Offline
              Richard L
              wrote on 7 Jul 2025, 06:56 last edited by
              #6

              OK. That's great!

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Richard L
                wrote on 7 Jul 2025, 09:21 last edited by
                #7

                Sorry. But I tried this fix. It does not work.
                image.png

                R 1 Reply Last reply 7 Jul 2025, 09:23
                0
                • R Richard L
                  7 Jul 2025, 09:21

                  Sorry. But I tried this fix. It does not work.
                  image.png

                  R Offline
                  R Offline
                  Richard L
                  wrote on 7 Jul 2025, 09:23 last edited by
                  #8

                  @Richard-L said in Cannot show the "Repeat days' buttons" when I run the "alarms" example on Windows 10:

                  Sorry. But I tried this fix. It does not work.
                  image.png

                  Qt version is 6.9.1, Qt Creator version is 17.

                  1 Reply Last reply
                  0

                  • Login

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