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. No "Qt Quick Controls 2 Application"
Qt 6.11 is out! See what's new in the release blog

No "Qt Quick Controls 2 Application"

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 2.0k 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.
  • tanmanh0707T Offline
    tanmanh0707T Offline
    tanmanh0707
    wrote on last edited by
    #1

    Hi, I'm using Qt Creator 5.4.1 for Desktop. I want to create a new project of Qt quick 2 application. I followed instruction at http://doc.qt.io/qtcreator/quick-projects.html

    But, in my New Project Window, I could not file Qt Quick Controls 2 Application wizard.

    Please give me a hand for this. Thank you.

    1 Reply Last reply
    0
    • jpnurmiJ Offline
      jpnurmiJ Offline
      jpnurmi
      wrote on last edited by
      #2

      Qt Quick Controls 2 is a brand new module. The work on it hadn't been even started when Qt 5.4 was released. :) It was first released as a tech preview under the name Qt Labs Controls in Qt 5.6, and the first official version was released in Qt 5.7.

      tanmanh0707T 1 Reply Last reply
      1
      • jpnurmiJ jpnurmi

        Qt Quick Controls 2 is a brand new module. The work on it hadn't been even started when Qt 5.4 was released. :) It was first released as a tech preview under the name Qt Labs Controls in Qt 5.6, and the first official version was released in Qt 5.7.

        tanmanh0707T Offline
        tanmanh0707T Offline
        tanmanh0707
        wrote on last edited by
        #3

        @jpnurmi Thank you for your information

        So, Is it OK if I create "qtquick2applicationviewer.h" & "qtquick2applicationviewer.cpp" by myself?

        jpnurmiJ 1 Reply Last reply
        0
        • tanmanh0707T tanmanh0707

          @jpnurmi Thank you for your information

          So, Is it OK if I create "qtquick2applicationviewer.h" & "qtquick2applicationviewer.cpp" by myself?

          jpnurmiJ Offline
          jpnurmiJ Offline
          jpnurmi
          wrote on last edited by
          #4

          @tanmanh0707 you can create a "Qt Quick 2 Application", but there is no such thing as "Qt Quick Controls 2 Application" in your version of Qt / Creator. I believe even the "Qt Quick 2 Application" template is using QQmlApplicationEngine instead of the old "viewer", which is a blast from the past. :) Is there something wrong with the "Qt Quick 2 Application" template? If you want Qt Quick Controls 2, updating to a more recent version of Qt is the only option.

          tanmanh0707T 1 Reply Last reply
          0
          • jpnurmiJ jpnurmi

            @tanmanh0707 you can create a "Qt Quick 2 Application", but there is no such thing as "Qt Quick Controls 2 Application" in your version of Qt / Creator. I believe even the "Qt Quick 2 Application" template is using QQmlApplicationEngine instead of the old "viewer", which is a blast from the past. :) Is there something wrong with the "Qt Quick 2 Application" template? If you want Qt Quick Controls 2, updating to a more recent version of Qt is the only option.

            tanmanh0707T Offline
            tanmanh0707T Offline
            tanmanh0707
            wrote on last edited by
            #5

            @jpnurmi No, nothing's wrong with "Qt Quick 2 Application" template. It is just because in my New Project, there's no Qt Quick 2 Application either.

            It just has 4 options:

            • Qt Widgets Application

            • Qt Quick Application

            • Qt Console Application, and

            • Qt Quick UI (sorry I can't post the picture at this moment)

            jpnurmiJ 1 Reply Last reply
            0
            • tanmanh0707T tanmanh0707

              @jpnurmi No, nothing's wrong with "Qt Quick 2 Application" template. It is just because in my New Project, there's no Qt Quick 2 Application either.

              It just has 4 options:

              • Qt Widgets Application

              • Qt Quick Application

              • Qt Console Application, and

              • Qt Quick UI (sorry I can't post the picture at this moment)

              jpnurmiJ Offline
              jpnurmiJ Offline
              jpnurmi
              wrote on last edited by
              #6

              @tanmanh0707 said:

              Qt Quick Application

              Oops, sorry. This is the correct, based on Qt Quick 2. Qt Quick 1 was already deprecated.

              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