Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    App Development
    2
    3
    76
    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
      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
      • CiberSheep
        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)

        R 1 Reply Last reply Reply Quote 0
        • R
          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
          • First post
            Last post