TEMPLATE = app QT += webenginewidgets SOURCES += html2pdf.cpp target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/html2pdf INSTALLS += target