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. QtQuick.Controls with or without version number

QtQuick.Controls with or without version number

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 399 Views
  • 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.
  • JM baubetJ Offline
    JM baubetJ Offline
    JM baubet
    wrote on last edited by
    #1

    Hi,

    I work with MAC os Ventura . QT 6.4.2

    I am looking for an explanation
    I have a QML file in which I import the QtQuick.Controls module

    If I specify a number, example:
    import QtQuick.Controls. 2.15 the type DayOfWeekRow is not recognized.

    On the other hand with
    import QtQuick.Controls

    It works.

    Why ?

    1 Reply Last reply
    0
    • JM baubetJ Offline
      JM baubetJ Offline
      JM baubet
      wrote on last edited by
      #3

      Thanks for the explanations.
      We learn something new every day.

      1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #2

        2.15 is likely Qt 5.15 and the item may have definition of DayOfWeekRow.
        Qt 6 drops version numbers and DayOfWeekRow is likely not defined anymore.
        Check the doc of the item in Qt5 and Qt6.

        1 Reply Last reply
        0
        • JM baubetJ Offline
          JM baubetJ Offline
          JM baubet
          wrote on last edited by
          #3

          Thanks for the explanations.
          We learn something new every day.

          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