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

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes