Hi All,
I am getting very strange issue when I am trying to build web page preview in my appication. Output I am getting is attached as screenshot. I am using Qt5.13 on my windows 10 machine and below is the code written to obtain attached output.
void Preview::initApp()
{
view = new QWebEngineView;
QWebChannel *channel = new QWebChannel;
channel->registerObject("xpedio",this);
view->page()->setWebChannel(channel);
view
->setUrl
(QUrl("https://xpediolive.com"));
hlay->addWidget(view);
setLayout(hlay);
}
void Preview::initApp()
{
view = new QWebEngineView;
QWebChannel *channel = new QWebChannel;
channel->registerObject("xpedio",this);
view->page()->setWebChannel(channel);
view->setUrl(QUrl("https://xpediolive.com"));
QHBoxLayout *hlay = new QHBoxLayout;
hlay->addWidget(view);
setLayout(hlay);
}
To copy to clipboard, switch view to plain text mode
web.jpg
Bookmarks