removing mpv pieces
This commit is contained in:
parent
e9d0bdb5c5
commit
8ae9911ee3
5 changed files with 11 additions and 17 deletions
|
@ -14,8 +14,8 @@ target_sources(lumina
|
|||
# cpp/imagesqlmodel.cpp cpp/imagesqlmodel.h
|
||||
# cpp/filemanager.cpp cpp/filemanager.h
|
||||
# cpp/presentationsqlmodel.cpp cpp/presentationsqlmodel.h
|
||||
cpp/mpv/mpvitem.h cpp/mpv/mpvitem.cpp
|
||||
cpp/mpv/mpvproperties.h
|
||||
# cpp/mpv/mpvitem.h cpp/mpv/mpvitem.cpp
|
||||
# cpp/mpv/mpvproperties.h
|
||||
)
|
||||
|
||||
target_compile_options (lumina PUBLIC -fexceptions)
|
||||
|
|
10
src/main.cpp
10
src/main.cpp
|
@ -37,9 +37,9 @@
|
|||
#include <qsqldatabase.h>
|
||||
#include <qsqlquery.h>
|
||||
#include <qstringliteral.h>
|
||||
#include <MpvAbstractItem>
|
||||
#include "cpp/mpv/mpvitem.h"
|
||||
#include "cpp/mpv/mpvproperties.h"
|
||||
// #include <MpvAbstractItem>
|
||||
// #include "cpp/mpv/mpvitem.h"
|
||||
// #include "cpp/mpv/mpvproperties.h"
|
||||
// #include "cpp/serviceitemmodel.h"
|
||||
// #include "cpp/slidemodel.h"
|
||||
// #include "cpp/songsqlmodel.h"
|
||||
|
@ -199,8 +199,8 @@ int main(int argc, char *argv[])
|
|||
qmlRegisterType<Ytdl>("org.presenter", 1, 0, "Ytdl");
|
||||
qmlRegisterType<ServiceThing>("org.presenter", 1, 0, "ServiceThing");
|
||||
// qmlRegisterType<SlideHelper>("org.presenter", 1, 0, "SlideHelper");
|
||||
qmlRegisterType<MpvItem>("mpv", 1, 0, "MpvItem");
|
||||
qmlRegisterSingletonInstance("mpv", 1, 0, "MpvProperties", MpvProperties::self());
|
||||
// qmlRegisterType<MpvItem>("mpv", 1, 0, "MpvItem");
|
||||
// qmlRegisterSingletonInstance("mpv", 1, 0, "MpvProperties", MpvProperties::self());
|
||||
|
||||
|
||||
qmlRegisterSingletonInstance("org.presenter", 1, 0,
|
||||
|
|
|
@ -177,11 +177,6 @@ Item {
|
|||
console.log("revealPrev")
|
||||
web.runJavaScript("Reveal.prev()")
|
||||
}
|
||||
|
||||
/* function onSlideChanged() { */
|
||||
/* video.stop(); */
|
||||
/* video.seek(); */
|
||||
/* } */
|
||||
}
|
||||
|
||||
function changeText(text) {
|
||||
|
|
|
@ -5,7 +5,6 @@ import org.kde.kirigami 2.13 as Kirigami
|
|||
import QtMultimedia
|
||||
import "./" as Presenter
|
||||
import org.presenter 1.0
|
||||
import mpv 1.0
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue