QtWebEngine and Windows RT
-
wrote on 1 Dec 2014, 19:07 last edited by
QtWebEngine support "Windows RT"?
Or microsoft still blocks "non-microsoft technologies"?
If such a blockage still exists, it would be possible to use the library's own "WinRT" (InternetExplorer / Trident) with "QWidgets"?Thanks
-
Hi,
From the code source of QtWebEngine, it looks like WindowsRT is not in the supported platform list currently. However checking with the guys on the QtWebEngine mailing list might get you a more thorough answer.
-
wrote on 2 Dec 2014, 16:32 last edited by
Thanks SGaist! Other question:
It is possible to "control" the "network" from "motor" native WinRT (trident) and XCODE (webkit cocoa) using "QNetWorkAccessManager"?
Thanks!
-
What do you mean by "control" the "network" ?
-
wrote on 4 Dec 2014, 21:54 last edited by
I need to redeploy the QNetWorkAccessManager for QtWebEngine (and Cocoa) page.
Note: I'm downloading the "qt5.4-rc" I have to test all possibilities.
Thanks!
-
Sorry, I still don't follow… What do you mean by redeploy the QNetworkAccessManager ?
-
wrote on 5 Dec 2014, 15:53 last edited by
Forgive me I have not been able to speak out, and thanks for their efforts in trying to understand my question.
I need overwrite the "QNetWorkAccessManager" class, using like this in QtWebkit:
network.cpp
@NetWork::NetWork(QObject *parent) :
QNetworkAccessManager(parent)
{
//Configure
}QNetworkReply * NetWork::createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData) {
//Something...
}@webpage.cpp
@#include "network.h"
...
NetWork *net = new NetWork();
...
this->setNetworkAccessManager(net);@I wonder if it is possible to control the "network" in the webpage of QtWebEngine, Cocoa and WinRT (motor trident).
Thanks
-
For the QNetworkAccessManager part, this "wiki entry":http://qt-project.org/wiki/QtWebEnginePortingFromQtWebKit might be of interest
-
wrote on 6 Dec 2014, 02:34 last edited by
Thanks SGaist,
Qt WebEngine does not interact with QNetworkAccessManager, but I have an idea, I create a HTTP Proxy in same QT project and set "configs" of proxy in my WebView, what do you think?
My intention is to handle requests before they reach the server, and also handle some answers, such as when the user tries to use the browser to access local folders (in this situation I plan to create a customized page to access the folders) and even viewer "FEEDS"
If you believe that there is any other way to handle the "network" of "QtWebEngine" let me know, grateful.
3/9