diff options
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/humblebundle/fetch-humble-bundle/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/humblebundle/fetch-humble-bundle/default.nix b/pkgs/games/humblebundle/fetch-humble-bundle/default.nix index ce21c207..dbf6c862 100644 --- a/pkgs/games/humblebundle/fetch-humble-bundle/default.nix +++ b/pkgs/games/humblebundle/fetch-humble-bundle/default.nix @@ -29,12 +29,15 @@ #include <QApplication> #include <QWebEngineView> #include <QTcpServer> + #include <QQuickWebEngineProfile> int main(int argc, char **argv) { QApplication *app = new QApplication(argc, argv); QTcpServer *server = new QTcpServer(); QWebEngineView *browser = new QWebEngineView(); + QQuickWebEngineProfile::defaultProfile()->setOffTheRecord(true); + if (!server->listen(QHostAddress::LocalHost, 18123)) { qCritical() << "Unable to listen on port 18123!"; return 1; @@ -74,7 +77,7 @@ nativeBuildInputs = [ pkgconfig ]; buildInputs = [ qt5.qtbase qt5.qtwebengine ]; } '' - g++ $(pkg-config --libs --cflags Qt5WebEngineWidgets) \ + g++ $(pkg-config --libs --cflags Qt5WebEngineWidgets Qt5WebEngine) \ -Wall -std=c++11 -o "$out" ${application} ''; |