Open gort818 opened 6 years ago
Just tested with Linux mint 19 and works like a charm, need to set up ppa for ubuntu and mint users.
Any progress on your efforts to date? Would be nice to have an easy way to install this app.
Hey there, unfortunate no as I am not an avid ubuntu user. I have never set up a ppa before.. just have not found the time yet :( If you anyone has some experience or the time to do I would greatly appreciate it.
Unfortunately I can't even build it on my own, as it complains about my version of qtwebengine (5.9.5) has no ScrollBar support.
You should be able to build it , what is the exact message you are getting.
mainwindow.cpp:42:27: error: ‘ShowScrollBars’ is not a member of ‘QWebEngineSettings’
QWebEngineSettings::ShowScrollBars, false);
^~~~~~~~~~~~~~
Makefile:448: recipe for target 'mainwindow.o' failed
make: *** [mainwindow.o] Error 1
Full log: https://gist.github.com/NoXPhasma/413594063595fb7a0f511b0aa9119312
Ok, I was able to build it, after I've uncommented the scrollbar parts out of mainwindow.cpp
//#define HAS_SCROLLBAR
........
// Check for QT if equal or greater than 5.10 hide scrollbars
//#ifdef HAS_SCROLLBAR
// webview->settings()->setAttribute(
// QWebEngineSettings::ShowScrollBars, false);
//#endif
yep sorry about that I needed to have defines capitalized, can you try again.
Yes, now it works without any issue.
Awesome thanks for testing!
Is there any update on creating a deb installer for this? The instructions aren't working for a lot of people, incl myself on Linux Mint 19.1
I dont have a deb based system handy atm, but what errors are you getting?
I dont have a deb based system handy atm, but what errors are you getting?
I followed the instructions but they don't seem to work. I think I'm getting an error at make
cd lib/ && ( test -e Makefile.qtdbusextended || /usr/lib/qt5/bin/qmake -o Makefile.qtdbusextended /home/jack/qtwebflix/lib/qtdbusextended.pro -config release ) && make -f Makefile.qtdbusextended make[1]: Entering directory '/home/jack/qtwebflix/lib' g++ -c -pipe -O2 -fPIC -D_REENTRANT -Wall -W -DQT_DBUS_EXTENDED_LIBRARY -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Iqtdbusextended/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dbusextendedabstractinterface.o qtdbusextended/src/dbusextendedabstractinterface.cpp g++ -c -pipe -O2 -fPIC -D_REENTRANT -Wall -W -DQT_DBUS_EXTENDED_LIBRARY -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Iqtdbusextended/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dbusextendedpendingcallwatcher.o qtdbusextended/src/dbusextendedpendingcallwatcher.cpp g++ -pipe -O2 -fPIC -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp /usr/lib/qt5/bin/moc -DQT_DBUS_EXTENDED_LIBRARY -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/jack/qtwebflix/lib -I/home/jack/qtwebflix/lib/qtdbusextended/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include qtdbusextended/src/dbusextendedabstractinterface.h -o moc_dbusextendedabstractinterface.cpp g++ -c -pipe -O2 -fPIC -D_REENTRANT -Wall -W -DQT_DBUS_EXTENDED_LIBRARY -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Iqtdbusextended/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dbusextendedabstractinterface.o moc_dbusextendedabstractinterface.cpp /usr/lib/qt5/bin/moc -DQT_DBUS_EXTENDED_LIBRARY -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/jack/qtwebflix/lib -I/home/jack/qtwebflix/lib/qtdbusextended/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include qtdbusextended/src/dbusextendedpendingcallwatcher_p.h -o moc_dbusextendedpendingcallwatcher_p.cpp g++ -c -pipe -O2 -fPIC -D_REENTRANT -Wall -W -DQT_DBUS_EXTENDED_LIBRARY -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Iqtdbusextended/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dbusextendedpendingcallwatcher_p.o moc_dbusextendedpendingcallwatcher_p.cpp rm -f libdbusextended-qt5.a ar cqs libdbusextended-qt5.a dbusextendedabstractinterface.o dbusextendedpendingcallwatcher.o moc_dbusextendedabstractinterface.o moc_dbusextendedpendingcallwatcher_p.o make[1]: Leaving directory '/home/jack/qtwebflix/lib' cd lib/ && ( test -e Makefile.qtmpris || /usr/lib/qt5/bin/qmake -o Makefile.qtmpris /home/jack/qtwebflix/lib/qtmpris.pro -config release ) && make -f Makefile.qtmpris Project ERROR: Unknown module(s) in QT: qml Makefile:89: recipe for target 'sub-lib-qtmpris-pro-make_first-ordered' failed make: *** [sub-lib-qtmpris-pro-make_first-ordered] Error 3
i think you need
qtdeclarative5-dev
please try that
I already installed qt5-default
and qtdeclarative5-dev
, but I am also getting an error during make. I am trying to install qtwebflix on my wife's Ubuntu 20.10.
make
cd lib/ && ( test -e Makefile.qtdbusextended || /usr/lib/qt5/bin/qmake -o Makefile.qtdbusextended /home/wife/Downloads/qtwebflix/lib/qtdbusextended.pro -config release ) && make -f Makefile.qtdbusextended
Cannot read /home/wife/Downloads/qtwebflix/lib/qtdbusextended/common.pri: No such file or directory
WARNING: TARGET is empty
WARNING: Failure to find: qtdbusextended/src/dbusextendedabstractinterface.cpp
WARNING: Failure to find: qtdbusextended/src/dbusextendedpendingcallwatcher.cpp
WARNING: Failure to find: qtdbusextended/src/dbusextended.h
WARNING: Failure to find: qtdbusextended/src/dbusextendedabstractinterface.h
WARNING: Failure to find: qtdbusextended/src/dbusextendedpendingcallwatcher_p.h
ASSERT: "!isEmpty()" in file /build/qtbase-opensource-src-DqevIs/qtbase-opensource-src-5.14.2+dfsg/include/QtCore/../../src/corelib/tools/qvector.h, line 242
Aborted (core dumped)
make: *** [Makefile:49: sub-lib-qtdbusextended-pro-make_first-ordered] Error 134
I have no idea what I am doing on Ubuntu as I've been using Arch for the last few years and there's also a convenient AUR package for this.
Iron out some bugs, set up a ppa, rewrite readme and release a new version.