Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up ppa for ubuntu users and release new version #18

Open
gort818 opened this issue Apr 12, 2018 · 15 comments
Open

Set up ppa for ubuntu users and release new version #18

gort818 opened this issue Apr 12, 2018 · 15 comments

Comments

@gort818
Copy link
Owner

gort818 commented Apr 12, 2018

Iron out some bugs, set up a ppa, rewrite readme and release a new version.

@gort818
Copy link
Owner Author

gort818 commented Jul 6, 2018

Just tested with Linux mint 19 and works like a charm, need to set up ppa for ubuntu and mint users.

@NoXPhasma
Copy link

Any progress on your efforts to date? Would be nice to have an easy way to install this app.

@gort818
Copy link
Owner Author

gort818 commented Nov 19, 2018

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.

@NoXPhasma
Copy link

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.

@gort818
Copy link
Owner Author

gort818 commented Nov 20, 2018

You should be able to build it , what is the exact message you are getting.

@NoXPhasma
Copy link

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

@NoXPhasma
Copy link

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

@gort818
Copy link
Owner Author

gort818 commented Nov 21, 2018

yep sorry about that I needed to have defines capitalized, can you try again.

@NoXPhasma
Copy link

Yes, now it works without any issue.

@gort818
Copy link
Owner Author

gort818 commented Nov 21, 2018

Awesome thanks for testing!

@gort818 gort818 added this to To do in release 0.2 Dec 9, 2018
@actionjackbarker
Copy link

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

@gort818
Copy link
Owner Author

gort818 commented Jul 21, 2019

I dont have a deb based system handy atm, but what errors are you getting?

@actionjackbarker
Copy link

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

@gort818
Copy link
Owner Author

gort818 commented Jul 23, 2019

i think you need

qtdeclarative5-dev

please try that

@gavsiu
Copy link

gavsiu commented Mar 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants