UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I have been trying to work on a running calendar app and have been having some issue

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 530 Views 2 Watching
    Loading More Posts
    • 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
        ragreenburg
        last edited by

        I am trying to have a calendar in the middle of my main page but keep getting the error that Calendar is not a type but going off of the Qt documentation below it is in the QtQuick.Controls package and I have the 2.0 version of that package imported. Another side note question, I tried doing the template app for Clickable using Python and was confused because it certainly didn't look like python at all. So is it actually python or something else?

        https://doc.qt.io/qt-5/qml-qtquick-controls-calendar.html

        1 Reply Last reply Reply Quote 0
        • CiberSheepC Offline
          CiberSheep
          last edited by

          Interesting. I didn't know about that element.
          I did a quick test on the desktop with version 1.4 and failed on qqc2

          6f396c08-89fd-46fa-885f-bca9615e025b-imatge.png

          You can try:

          import QtQuick.Controls 1.4 as Qqc1

          and

          Qqc1.Calendar{}

          (Not sure what version of Controls is installed on the image)

          Another planet, another time, another universe!

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            ragreenburg @CiberSheep
            last edited by

            @CiberSheep I'll give that a go when I get home. Thanks for the advice.

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post