Skip to content
/ mpvqt Public

MpvQt is a libmpv wrapper for QtQuick2 and QML

Notifications You must be signed in to change notification settings

KDE/mpvqt

Repository files navigation

MpvQt is a libmpv wrapper for Qt Quick 2/Qml.

How to use

  • Create a class extending MpvAbstractItem (check the mpvitem.h/mpvitem.cpp files in the example)
  • Register the class qmlRegisterType<ClassName>("com.example.mpv", 1, 0, "NameUsedInQml");
  • In your qml file import mpv import com.example.mpv 1.0
  • Then create an instance NameUsedInQml {} (check the Main.qml file in the example)