Much work, using Qt 6.10 on Linux for better https support

This commit is contained in:
2026-03-11 17:57:55 +01:00
parent 989c3d328a
commit 7d234bc834
16 changed files with 541 additions and 217 deletions

View File

@@ -4,6 +4,8 @@
#include <QMainWindow>
#include <QTimer>
#include <QWebEngineCertificateError>
#include <QWebEngineProfile>
#include <QWebEngineNavigationRequest>
class WebViewQt;
class Rktwebview_qt;
@@ -33,8 +35,11 @@ private:
QString _ou_token;
QWebEngineProfile *_profile;
private slots:
void handleCertificate(const QWebEngineCertificateError &certificateError);
void navigationRequested(QWebEngineNavigationRequest &req);
public slots:
void processJsEvents();
@@ -60,12 +65,15 @@ public:
void openDevTools();
public:
explicit WebviewWindow(WebviewWindow *parent = nullptr);
explicit WebviewWindow(WebviewWindow *parent, bool has_scp, QByteArray scp_pem);
private slots:
void triggerResize();
void triggerMove();
public:
QWebEngineProfile *profile();
signals:
// QWidget interface