Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26941

OSX - qmlviewer.app doesn't do anything useful by default, have to launch it from the terminal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.0.0 Beta 1
    • None
    • OSX Lion
    • macOS

      I can run it like this from terminal:

      cd ~/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/bin
      ./QMLViewer.app/Contents/MacOS/QMLViewer ~/Desktop/rect.qml

      but there don't seem to be any other use cases that work.

      1) if a qml file is not given, the viewer just exits. Where is the old animated splash demo thing which shows by default in Qt 4.8?

      2) qmlviewer.app invites the user to launch it like a typical mac app, it doesn't look like it should just be a command-line tool. So it should support right-clicking on a qml file and using "Open with...", and it should support dragging qml files onto it. And if it didn't exit on startup, you could at least open a qml file from the menu.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes