Create a web screenshot with QT Web Engine

В роботі Опубліковано %project.relative_time Оплачується при отриманні
В роботі Оплачується при отриманні

Its a very small project. I just want a QT (5.6 beta) console application that can take a URL and produce a image file.

Some example code is below. However I can't get it to work, it throws the error "cannot be used without a context shared with the toplevel error"

Obviously it will need a delay before rendering.

QWebEngineView *w = new QWebEngineView();

QImage image = new QImage();

QPainter painter(&image);

w->page()->view()->render(&painter);

[login to view URL]();

[login to view URL]("[login to view URL]")

Note that this project must use the QWebEngine classes and NOT the QWebKit classes.

Програмування на C++ Архітектура ПЗ

ID Проекту: #9248774

Про проект

Дистанційний проект Остання активність Jan 7, 2016