• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 286 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 9 Aug 2020, 18:19

      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
      • C Offline
        CiberSheep
        last edited by 9 Aug 2020, 19:17

        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 10 Aug 2020, 14:59 Reply Quote 0
        • R Offline
          ragreenburg @CiberSheep
          last edited by 10 Aug 2020, 14:59

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

          1 Reply Last reply Reply Quote 1
          2 out of 3
          • First post
            2/3
            Last post