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. What's wrong with qmlscene?
Forum Updated to NodeBB v4.3 + New Features

What's wrong with qmlscene?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 3 Posters 710 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.
  • Stan HuangS Offline
    Stan HuangS Offline
    Stan Huang
    wrote on last edited by
    #1

    I used qmlscene to parse QML samples but got some unexpected results:

    C:\Qt5\5.11.3\mingw53_32\bin>qmlscene.exe d:\tmp\Qt\hello.qml
    qt.qpa.gl: Unable to disable rotation.
    qmlscene: 'import QtQuick 1.0' is no longer supported.
    Use qmlviewer to load file 'D:/tmp/Qt/hello.qml'.

    Each sample QML contains 'import QtQuick 1.0'. What can I do for it? Just remove it.
    What does "qt.qpa.gl: Unable to disable rotation." mean?
    Why does qmlscence suggest me to use qmlviewer? Where can I find qmlviewer?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      qmlscene does not support 1.0. Why are you trying to use QtQuick 1.0 ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      1
      • Stan HuangS Offline
        Stan HuangS Offline
        Stan Huang
        wrote on last edited by
        #3

        I am new Qt learner and tried to copy samples from Qt Tutorial pages. Each sample contains QtQuick 1.0. So, what can I do to make use of such samples to learn Qt/QML?

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

          Hi,

          Directly migrate to QtQuick 2 and follow the QML Book.

          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
          1

          • Login

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