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. I can't run qt quick
Forum Updated to NodeBB v4.3 + New Features

I can't run qt quick

Scheduled Pinned Locked Moved QML and Qt Quick
qt quickqmlscenefailed to check
7 Posts 2 Posters 2.7k 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.
  • G Offline
    G Offline
    gurolcay
    wrote on 10 Jul 2015, 22:20 last edited by gurolcay 7 Oct 2015, 22:22
    #1

    Hello guys,

    I am very new in the qml. I looked for my question in the internet but I counldn't any answer. I can't understand. Because It was a little complicated.

    My question : I can't run a simple qt quick ui app. Debuger says to me : qmlscene: failed to check version of file

    What's wrong?

    My code is :

    import QtQuick 2.1
    
    Rectangle {
    width: 360
        height: 360
        color: "#D8D8D8"
        MouseArea {
            anchors.fill: parent
            onClicked: {
                Qt.quit();
            }
        }
        Text {
            anchors.centerIn: parent
            text: "Hello World"
        }
    }
    
    P 1 Reply Last reply 12 Jul 2015, 04:11
    0
    • G gurolcay
      10 Jul 2015, 22:20

      Hello guys,

      I am very new in the qml. I looked for my question in the internet but I counldn't any answer. I can't understand. Because It was a little complicated.

      My question : I can't run a simple qt quick ui app. Debuger says to me : qmlscene: failed to check version of file

      What's wrong?

      My code is :

      import QtQuick 2.1
      
      Rectangle {
      width: 360
          height: 360
          color: "#D8D8D8"
          MouseArea {
              anchors.fill: parent
              onClicked: {
                  Qt.quit();
              }
          }
          Text {
              anchors.centerIn: parent
              text: "Hello World"
          }
      }
      
      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 12 Jul 2015, 04:11 last edited by
      #2

      Hi @gurolcay
      Do you have different versions of Qt installed ?

      157

      G 1 Reply Last reply 12 Jul 2015, 10:21
      0
      • P p3c0
        12 Jul 2015, 04:11

        Hi @gurolcay
        Do you have different versions of Qt installed ?

        G Offline
        G Offline
        gurolcay
        wrote on 12 Jul 2015, 10:21 last edited by
        #3

        @p3c0 Hi

        I don't have.

        I have Qt Creator 3.4.1 (open source). Based on Qt 5.4.2(MSVC 2013, 32 bit)

        P 1 Reply Last reply 12 Jul 2015, 10:45
        0
        • G gurolcay
          12 Jul 2015, 10:21

          @p3c0 Hi

          I don't have.

          I have Qt Creator 3.4.1 (open source). Based on Qt 5.4.2(MSVC 2013, 32 bit)

          P Offline
          P Offline
          p3c0
          Moderators
          wrote on 12 Jul 2015, 10:45 last edited by
          #4

          @gurolcay After running this app from QtCreator, in the Application Output" window, what does it show ? is the path for qmlscene match to that where you have installed Qt ?

          157

          G 1 Reply Last reply 12 Jul 2015, 14:43
          0
          • P p3c0
            12 Jul 2015, 10:45

            @gurolcay After running this app from QtCreator, in the Application Output" window, what does it show ? is the path for qmlscene match to that where you have installed Qt ?

            G Offline
            G Offline
            gurolcay
            wrote on 12 Jul 2015, 14:43 last edited by
            #5

            @p3c0
            when I run my code, in the application output window appear this message:

            Starting C:\Qt\5.4\mingw491_32\bin\qmlscene.exe...
            qmlscene: failed to check version of file 'C:/Users/MehmetG?rol/Development/yavhehe2/yavhehe2.qml', could not open...
            C:\Qt\5.4\mingw491_32\bin\qmlscene.exe exited with code 0
            
            P 1 Reply Last reply 13 Jul 2015, 02:51
            0
            • G gurolcay
              12 Jul 2015, 14:43

              @p3c0
              when I run my code, in the application output window appear this message:

              Starting C:\Qt\5.4\mingw491_32\bin\qmlscene.exe...
              qmlscene: failed to check version of file 'C:/Users/MehmetG?rol/Development/yavhehe2/yavhehe2.qml', could not open...
              C:\Qt\5.4\mingw491_32\bin\qmlscene.exe exited with code 0
              
              P Offline
              P Offline
              p3c0
              Moderators
              wrote on 13 Jul 2015, 02:51 last edited by
              #6

              @gurolcay It seems it is not able to read that path. I notice some special characters in it MehmetG?rol
              Can you try creating another folder without those special characters and keeping that file in it and the run it ?

              157

              G 1 Reply Last reply 13 Jul 2015, 19:00
              0
              • P p3c0
                13 Jul 2015, 02:51

                @gurolcay It seems it is not able to read that path. I notice some special characters in it MehmetG?rol
                Can you try creating another folder without those special characters and keeping that file in it and the run it ?

                G Offline
                G Offline
                gurolcay
                wrote on 13 Jul 2015, 19:00 last edited by gurolcay
                #7

                @p3c0

                OoO! It worked. I change my directory. I can't change current folder name. Because Windows gets my user name because of my e-mail adress.(.) Thank you so much!

                But I have a questions. Why doesn't support creator UTF-8? C:/Users/MehmetGürol this is correct path. I have to change directoryC:\. I hope I was able to explain my question.

                1 Reply Last reply
                0

                1/7

                10 Jul 2015, 22:20

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved