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

QMLViewer is not launching

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 1
    • Fix Version/s: 5.0.0 Beta 2
    • Labels:
      None
    • Environment:
      Mac OS 10.6, 10.7
    • Commits:
      035c646df1137eb8192f51701dc926a0f20e7ee8 (qtquick1), ab926916d2b831979293a1a10af0ad759563913c (qtbase)

      Description

      QMLViewer not launching on Mac OS 10.6, bug not tested on 10.7 yet. When run from the command line the following is output:

      bq-janus:MacOS edie$ ./QMLViewer
      Qml debugging is enabled. Only use this in a safe environment!
      2012-08-15 14:54:28.228 QMLViewer[3782:903] *** __NSAutoreleaseNoPool(): Object 0x101f0b4b0 of class QCocoaApplicationDelegate autoreleased with no pool in place - just leaking
      2012-08-15 14:54:28.231 QMLViewer[3782:903] *** __NSAutoreleaseNoPool(): Object 0x101f1a110 of class QCocoaMenuLoader autoreleased with no pool in place - just leaking

      The last message keep repeating until it finally dies.

      Binaries taken from digia package from 14/08/2012

      http://releases.qt-project.org/digia/2012-08-14/

      From duplicated bug QTBUG-26941:

      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

          Issue Links

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

            Activity

              People

              Assignee:
              treinio Topi Reiniƶ
              Reporter:
              edie Daron Andrew Edie (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes