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. Import QT Components in QT Creator
Forum Updated to NodeBB v4.3 + New Features

Import QT Components in QT Creator

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 1.2k 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.
  • W Offline
    W Offline
    Wuzi
    wrote on last edited by
    #1

    Hi,

    I'm new here and programming with QT. I learn QML and I would import the QT Components for Desktop applications, but I don't know how. I got the folder from "GIT":git@gitorious.org:qt-components/desktop.git but I don't know how I can import in QT Creator.
    Does anyone can explain me how I can resolve this problem?

    Thanks.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You do not need the components: they are included inside Qt since Qt 5.1 or so. Just use this:
      @
      import QtQuick.Controls 21.2
      @

      More info: "the documentation":http://qt-project.org/doc/qt-5/qtquickcontrols-index.html.

      (Z(:^

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @ sierdzio Do you mean 1.2 ? ;)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Haha, sure, yes. I sometimes forget to proof-read my posts ;-)

          (Z(:^

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Wuzi
            wrote on last edited by
            #5

            Yes thanks for your help. Now I found it :)
            How can I make a Sidebar?

            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