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. No qmlviewer or qmlobserver found (in Qt Creator 2.4 beta)
QtWS25 Last Chance

No qmlviewer or qmlobserver found (in Qt Creator 2.4 beta)

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 2.1k Views
  • 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.
  • L Offline
    L Offline
    ludde
    wrote on last edited by
    #1

    Trying to run a simple QML project in Qt Creator 2.4 beta, with a Qt 4.7.3 distribution that I built myself for Visual Studio 2005.
    For some reason Qt Creator claims that "No qmlviewer or qmlobserver found", and will not let me run the program.
    There is a qmlviewer.exe in the bin directory of the Qt distribution, so this makes no sense to me at all.
    Has anyone experienced something similar, or have any idea what I can do to make Qt Creator "discover" the qmlviewer.exe application?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ludde
      wrote on last edited by
      #2

      So, I think I found out what is going on. The reason I got this message was because I had not selected a "Main QML file" in the Run Settings. The default is "<Current File>", whatever that means, and causes the “No qmlviewer or qmlobserver found” message. If I select a "Main QML file", I can run it as expected.

      This behaviour applies to Qt Creator 2.3.1 as well, and any Qt versions I have tried. Does anyone know what "<Current File>" is supposed to be used for, and how? The “No qmlviewer or qmlobserver found” message I would assume is simply a bug, or am I interpreting it the wrong way?

      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