Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. import QtQuick 2.5 not possible (unsupported version)
Qt 6.12 LTS is out! See what's new in the release blog

import QtQuick 2.5 not possible (unsupported version)

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 5.9k Views 2 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.
  • T Offline
    T Offline
    themts
    wrote on last edited by
    #1

    Hey guys,

    I just updated to qt5.5.
    When I try to import QtQuick 2.5 I get an error "unsupported QtQuick version (0:0)"

    Any idea?

    CU
    mts

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi,

      which platform?
      Have updated using the Installer??

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • T Offline
        T Offline
        themts
        wrote on last edited by
        #3

        ah sorry:

        • windows
        • qt version 5.5
        • creator 3.4.2
        • msvc 2013

        I have updated everything.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by
          #4

          Have you used the Online Installer or the Offline one??

          I'm on Mac and I upgraded 2/3 days ago; everything works ok

          // main.qml
          import QtQuick 2.5
          import QtQuick.Window 2.2
          
          Window {
              visible: true
              MainForm {
                  anchors.fill: parent
                  mouseArea.onClicked: {
                      Qt.quit();
                  }
          
              }
          }
          
          // MainForm.qml
          import QtQuick 2.4
          
          Rectangle {
              property alias mouseArea: mouseArea
          
              width: 360
              height: 360
          
              MouseArea {
                  id: mouseArea
                  anchors.fill: parent
              }
          
              Text {
                  anchors.centerIn: parent
                  text: "Hello World"
              }
          }
          

          is the standard QtQuick template with updated QtQuick version to 2.5

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0
          • T Offline
            T Offline
            themts
            wrote on last edited by
            #5

            thats how my default template looks like at my installation:

            main.qml

            import QtQuick 2.4
            import QtQuick.Window 2.2
            
            Window {
                visible: true
                MainForm {
                    anchors.fill: parent
                    mouseArea.onClicked: {
                        Qt.quit();
                    }
            
                }
            }
            

            MainForm.ui.qml

            import QtQuick 2.4
            
            Rectangle {
                property alias mouseArea: mouseArea
            
                width: 360
                height: 360
            
                MouseArea {
                    id: mouseArea
                    anchors.fill: parent
                }
            
                Text {
                    anchors.centerIn: parent
                    text: "Hello World"
                }
            }
            
            1 Reply Last reply
            0
            • M Offline
              M Offline
              mcosta
              wrote on last edited by
              #6

              HI,

              I changed the import in the main.qml file to use version 2.5 and it works without errors

              Once your problem is solved don't forget to:

              • Mark the thread as SOLVED using the Topic Tool menu
              • Vote up the answer(s) that helped you to solve the issue

              You can embed images using (http://imgur.com/) or (http://postimage.org/)

              1 Reply Last reply
              0
              • T Offline
                T Offline
                themts
                wrote on last edited by
                #7

                I can even change it to 2.5 compile and run without errors but when I try to switch to design-mode I get the error.
                Maybe I should have added that it's an error from qtCreator and not a compile or runtime-error.

                1 Reply Last reply
                1

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt
                • Unsolved