Description
Hey, I just wanted to thank you for this amazing app, because it's the solution to watching Netflix on Linux.
I have encountered an issue trying to build this on Zorin OS, which is based off of Ubuntu 20.04 LTS. Tested this out with vanilla Ubuntu 20.04 as well, and the same thing happens.
Most of the distros I tried this with work flawlessly, and by this I mean most of the popular Ubuntu-based distros, as well as Arch-based ones. For the Ubuntu-based ones (that are usually based on 22.04 LTS) I've managed to get it working with no issues with these steps:
- Install the following dependencies:
build-essential
,git
,qtchooser
,qt5-qmake
andqtwebengine5-dev
- Clone the repository with
git clone --recursive https://github.com/gort818/qtwebflix.git
- Install widevine libs with
chmod +x ./widevine.sh && sudo ./widevine.sh
- Compile with
qmake -config release && make
The output I get on Zorin OS 16.2, as well as Ubuntu 20.04, by doing the exact same, is the following:
mainwindow.cpp: In member function ‘void MainWindow::parseCommand()’:
mainwindow.cpp:360:38: error: ‘class QWebEngineProfile’ has no member named ‘setUrlRequestInterceptor’; did you mean ‘setRequestInterceptor’?
360 | this->webview->page()->profile()->setUrlRequestInterceptor(
| ^~~~~~~~~~~~~~~~~~~~~~~~
| setRequestInterceptor
make[1]: *** [Makefile:557: mainwindow.o] Error 1
make[1]: Leaving directory '/home/hugazo/build/qtwebflix/src'
make: *** [Makefile:136: sub-src-make_first-ordered] Error 2
This seems to be because the qtwebengine5-dev
package is outdated in that particular Ubuntu version. What to do in this situation?