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

QtMultimedia doc/qmlvideo example have some dependencies to QtSystemInfo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 5.1.0 Beta 1
    • 5.0.0
    • Multimedia
    • None
    • Installer 387 qt5 final

      QtSystemInfo is not part of Qt5 release:
      http://blog.qt.digia.com/blog/2012/11/13/qt-5-0-beta-2-is-out/

      Dependencies to it in QtMultimedia should be removed:

      Supers-iMac-2:Qt5.0.0-387 qt365$ pwd
      /Users/qt365/Qt5.0.0-387
      Supers-iMac-2:Qt5.0.0-387 qt365$ grep -Irni "QtSystemInfo" .
      ./5.0.0/clang_64/doc/qtmultimedia/multimedia-video-qmlvideo-qml-qmlvideo-disablescreensaver-qml.html:60:import QtSystemInfo 5.0
      ./5.0.0/clang_64/doc/qtmultimedia/qml-qtmultimedia5-video.html:101:<p>If it is likely that an application will be playing video for an extended period of time without user interaction, it may be necessary to disable the platform's screen saver. The ScreenSaver (from QtSystemInfo) may be used to disable the screensaver in this fashion:</p>
      ./5.0.0/clang_64/doc/qtmultimedia/qml-qtmultimedia5-video.html:102:<pre class="qml">import QtSystemInfo 5.0
      ./5.0.0/clang_64/doc/qtmultimedia/qml-qtmultimedia5-videooutput.html:85:<p>If it is likely that an application will be playing video for an extended period of time without user interaction it may be necessary to disable the platform's screen saver. The ScreenSaver (from QtSystemInfo) may be used to disable the screensaver in this fashion:</p>
      ./5.0.0/clang_64/doc/qtmultimedia/qml-qtmultimedia5-videooutput.html:86:<pre class="qml">import QtSystemInfo 5.0
      ./5.0.0/clang_64/examples/multimedia/video/qmlvideo/qml/qmlvideo/DisableScreenSaver.qml:43:import QtSystemInfo 5.0
      ./5.0.0/clang_64/qml/QtMultimedia/Video.qml:92:    the platform's screen saver. The \l ScreenSaver (from \l QtSystemInfo)
      ./5.0.0/clang_64/qml/QtMultimedia/Video.qml:96:    import QtSystemInfo 5.0
      ./5.0.0/Src/qtdoc/doc/config/qtdoc-project.qdocconf:37:    qtsysteminfo \
      ./5.0.0/Src/qtmultimedia/examples/multimedia/video/qmlvideo/qml/qmlvideo/DisableScreenSaver.qml:43:import QtSystemInfo 5.0
      ./5.0.0/Src/qtmultimedia/src/imports/multimedia/qdeclarativevideooutput.cpp:109:    the platform's screen saver. The \l ScreenSaver (from \l QtSystemInfo)
      ./5.0.0/Src/qtmultimedia/src/imports/multimedia/qdeclarativevideooutput.cpp:113:    import QtSystemInfo 5.0
      ./5.0.0/Src/qtmultimedia/src/imports/multimedia/Video.qml:92:    the platform's screen saver. The \l ScreenSaver (from \l QtSystemInfo)
      ./5.0.0/Src/qtmultimedia/src/imports/multimedia/Video.qml:96:    import QtSystemInfo 5.0
      

      Running qmlvideo example complains with error:

      Starting /Users/qt365/Qt5.0.0-387/5.0.0/clang_64/examples/multimedia/video/qmlvideo-build-Desktop_Qt_5_0_0_clang_64bit_SDK-Debug/qmlvideo.app/Contents/MacOS/qmlvideo...
      QML debugging is enabled. Only use this in a safe environment.
      qrc:///qml/qmlvideo/DisableScreenSaver.qml:43:1: module "QtSystemInfo" is not installed
      

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

            janichol Andy Nichols
            carochao Caroline Chao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes