Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator how to use qmlscene instead of qmlviewer
Forum Updated to NodeBB v4.3 + New Features

Qt Creator how to use qmlscene instead of qmlviewer

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 5.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.
  • G Offline
    G Offline
    g1ennr
    wrote on 30 Sept 2013, 22:00 last edited by
    #1

    I have 2 Qt Quick 2 projects loaded in Qt Creator (2.8.1 on OSX).

    When using cmd-R to view them, one of them works fine, but the other gives this error:

    qmlviewer: 'import QtQuick 2.1' is not supported by qmlviewer. Use qmlscene to load file

    In the "build and run kit selector" pane "Run:" for the working project says "QML Scene" and for the non working one says "QML Viewer". How to I change it to QML Scene?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Muhammad
      wrote on 4 Apr 2014, 13:13 last edited by
      #2

      you can run it from Qt creator
      Go to tools -> External -> Qt Quick -> Qt quick 2 preview(qmlscene)

      I don't have endpoint, I just have Checkpoints.

      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