├── coin-bug-707 ├── tests ├── auto │ ├── widgets │ │ ├── schemes │ │ │ ├── BLACKLIST │ │ │ └── CMakeLists.txt │ │ ├── qwebenginepage │ │ │ ├── resources │ │ │ │ ├── bar.txt │ │ │ │ ├── foo.txt │ │ │ │ ├── style.css │ │ │ │ ├── path with spaces.txt │ │ │ │ ├── test2.html │ │ │ │ ├── iframe3.html │ │ │ │ ├── user.css │ │ │ │ ├── content.html │ │ │ │ ├── frame_c.html │ │ │ │ ├── image.png │ │ │ │ ├── image2.png │ │ │ │ ├── test1.html │ │ │ │ ├── iframe.html │ │ │ │ ├── script.html │ │ │ │ ├── iframe2.html │ │ │ │ ├── index.html │ │ │ │ ├── framedindex.html │ │ │ │ ├── reload.html │ │ │ │ ├── hello.js │ │ │ │ ├── script2.html │ │ │ │ ├── frame_a.html │ │ │ │ ├── hi.js │ │ │ │ ├── redirect.html │ │ │ │ ├── fullscreen.html │ │ │ │ ├── testiframe2.html │ │ │ │ ├── fontaccess.html │ │ │ │ ├── lifecycle.html │ │ │ │ └── dynamicFrame.html │ │ │ └── BLACKLIST │ │ ├── favicon │ │ │ └── resources │ │ │ │ ├── test1.html │ │ │ │ ├── icons │ │ │ │ ├── qt144.png │ │ │ │ ├── qt32.ico │ │ │ │ └── qtmulti.ico │ │ │ │ ├── favicon-single.html │ │ │ │ ├── favicon-unavailable.html │ │ │ │ ├── favicon-multi.html │ │ │ │ ├── favicon-shortcut.html │ │ │ │ ├── favicon-touch.html │ │ │ │ └── favicon-misc.html │ │ ├── qwebenginehistory │ │ │ └── resources │ │ │ │ ├── page1.html │ │ │ │ ├── page2.html │ │ │ │ ├── page3.html │ │ │ │ ├── page4.html │ │ │ │ ├── page6.html │ │ │ │ └── page5.html │ │ ├── accessibility │ │ │ ├── BLACKLIST │ │ │ └── CMakeLists.txt │ │ ├── extensions │ │ │ ├── resources │ │ │ │ ├── index.html │ │ │ │ ├── action_popup_ext │ │ │ │ │ ├── popup_page.html │ │ │ │ │ └── manifest.json │ │ │ │ ├── packed_ext.zip │ │ │ │ ├── unpacked_ext │ │ │ │ │ └── manifest.json │ │ │ │ ├── invalid_manifest_ext │ │ │ │ │ └── manifest.json │ │ │ │ ├── invalid_manifest_ext_packed.zip │ │ │ │ ├── content_script_ext │ │ │ │ │ ├── script.js │ │ │ │ │ └── manifest.json │ │ │ │ └── service_worker_ext │ │ │ │ │ ├── service_worker.js │ │ │ │ │ ├── content_script.js │ │ │ │ │ └── manifest.json │ │ │ └── CMakeLists.txt │ │ ├── offscreen │ │ │ ├── test.html │ │ │ └── CMakeLists.txt │ │ ├── qwebengineview │ │ │ ├── resources │ │ │ │ ├── test.swf │ │ │ │ ├── image2.png │ │ │ │ ├── index.html │ │ │ │ ├── scrolltest_page.html │ │ │ │ ├── dummy.html │ │ │ │ └── frame_a.html │ │ │ └── BLACKLIST │ │ ├── spellchecking │ │ │ └── dict │ │ │ │ ├── de-DE.aff │ │ │ │ ├── en-US.aff │ │ │ │ ├── de-DE.dic │ │ │ │ └── en-US.dic │ │ ├── defaultsurfaceformat │ │ │ └── resources │ │ │ │ └── index.html │ │ ├── qwebenginepermission │ │ │ └── resources │ │ │ │ ├── qt144.png │ │ │ │ ├── iframe.html │ │ │ │ └── index.html │ │ ├── qwebengineprofile │ │ │ ├── resources │ │ │ │ ├── hedgehog.png │ │ │ │ └── hedgehog.html │ │ │ └── CMakeLists.txt │ │ ├── qwebenginescript │ │ │ └── resources │ │ │ │ ├── test_iframe_inner.html │ │ │ │ ├── title_a.html │ │ │ │ ├── title_b.html │ │ │ │ ├── test_iframe_main.html │ │ │ │ ├── test_iframe_outer.html │ │ │ │ ├── test_window_open.html │ │ │ │ └── webChannelWithBadString.html │ │ ├── printing │ │ │ └── resources │ │ │ │ └── basic_printing_page.html │ │ ├── proxypac │ │ │ └── proxy.pac │ │ ├── shutdown │ │ │ └── CMakeLists.txt │ │ ├── proxy │ │ │ └── CMakeLists.txt │ │ ├── touchinput │ │ │ └── CMakeLists.txt │ │ ├── qtbug_110287 │ │ │ └── CMakeLists.txt │ │ └── qwebenginedownloadrequest │ │ │ └── CMakeLists.txt │ ├── core │ │ ├── origins │ │ │ └── resources │ │ │ │ ├── mixedXHR.txt │ │ │ │ ├── serviceWorker.js │ │ │ │ ├── redirect.css │ │ │ │ ├── dedicatedWorker.js │ │ │ │ ├── red.png │ │ │ │ ├── sharedWorker.js │ │ │ │ ├── viewSource.html │ │ │ │ ├── subdir │ │ │ │ └── frame2.html │ │ │ │ ├── subdir_frame1.html │ │ │ │ ├── createObjectURL.html │ │ │ │ ├── mixedSchemes_frame.html │ │ │ │ ├── link.html │ │ │ │ ├── media.html │ │ │ │ ├── fetchApi.html │ │ │ │ ├── redirect.html │ │ │ │ ├── serviceWorker.html │ │ │ │ ├── sharedWorker.html │ │ │ │ ├── dedicatedWorker.html │ │ │ │ └── mixedXHR.html │ │ ├── certificateerror │ │ │ └── BLACKLIST │ │ ├── qwebengineclientcertificatestore │ │ │ ├── BLACKLIST │ │ │ └── resources │ │ │ │ └── client2.p12 │ │ ├── qwebengineurlrequestinterceptor │ │ │ └── resources │ │ │ │ ├── iframe3.html │ │ │ │ ├── image.html │ │ │ │ ├── image_in_iframe.html │ │ │ │ ├── media_in_iframe.html │ │ │ │ ├── resource_in_iframe.html │ │ │ │ ├── firstparty.html │ │ │ │ ├── media.mp4 │ │ │ │ ├── script.js │ │ │ │ ├── iframe.html │ │ │ │ ├── fontawesome.woff │ │ │ │ ├── icons │ │ │ │ └── favicon.png │ │ │ │ ├── iframe2.html │ │ │ │ ├── style.css │ │ │ │ ├── favicon.html │ │ │ │ ├── media.html │ │ │ │ ├── content.html │ │ │ │ ├── content2.html │ │ │ │ ├── content3.html │ │ │ │ ├── cors.html │ │ │ │ ├── resource.html │ │ │ │ ├── index.html │ │ │ │ └── cors.js │ │ ├── qwebenginecookiestore │ │ │ └── resources │ │ │ │ ├── content.html │ │ │ │ └── fav.png │ │ ├── qwebenginesettings │ │ │ ├── BLACKLIST │ │ │ └── CMakeLists.txt │ │ ├── webenginedriver │ │ │ ├── resources │ │ │ │ └── input.html │ │ │ ├── browser │ │ │ │ └── CMakeLists.txt │ │ │ └── CMakeLists.txt │ │ ├── qwebengineframe │ │ │ └── resources │ │ │ │ ├── printing-inner-document.html │ │ │ │ ├── nesting-iframe.html │ │ │ │ ├── printing-outer-document.html │ │ │ │ └── iframes.html │ │ ├── devtools │ │ │ └── CMakeLists.txt │ │ ├── qtversion │ │ │ └── CMakeLists.txt │ │ ├── qwebengineloadinginfo │ │ │ └── CMakeLists.txt │ │ ├── getdomainandregistry │ │ │ └── CMakeLists.txt │ │ └── qwebengineurlrequestjob │ │ │ ├── requestBodyScript.html │ │ │ └── additionalResponseHeadersScript.html │ ├── quick │ │ ├── qquickwebengineviewgraphics │ │ │ ├── BLACKLIST │ │ │ └── CMakeLists.txt │ │ ├── inspectorserver │ │ │ ├── BLACKLIST │ │ │ ├── html │ │ │ │ └── basic_page.html │ │ │ └── CMakeLists.txt │ │ ├── qquickwebengineview │ │ │ ├── html │ │ │ │ ├── basic_page2.html │ │ │ │ ├── basic_page.html │ │ │ │ ├── resources │ │ │ │ │ ├── simple_image.png │ │ │ │ │ ├── hello.js │ │ │ │ │ └── hi.js │ │ │ │ ├── script2.html │ │ │ │ └── inputmethod.html │ │ │ ├── BLACKLIST │ │ │ └── CMakeLists.txt │ │ ├── qmltests │ │ │ ├── data │ │ │ │ ├── change-document-title.js │ │ │ │ ├── append-document-title.js │ │ │ │ ├── alert.html │ │ │ │ ├── download.zip │ │ │ │ ├── icons │ │ │ │ │ ├── gray16.png │ │ │ │ │ ├── gray32.png │ │ │ │ │ ├── gray64.png │ │ │ │ │ ├── qt144.png │ │ │ │ │ ├── qt32.ico │ │ │ │ │ ├── favicon.png │ │ │ │ │ ├── gray128.png │ │ │ │ │ ├── gray255.png │ │ │ │ │ ├── qtmulti.ico │ │ │ │ │ ├── grayicons.ico │ │ │ │ │ └── small-favicon.png │ │ │ │ ├── test1.html │ │ │ │ ├── link.html │ │ │ │ ├── prompt.html │ │ │ │ ├── javascript.html │ │ │ │ ├── redirect.html │ │ │ │ ├── confirmclose.html │ │ │ │ ├── confirm.html │ │ │ │ ├── test2.html │ │ │ │ ├── favicon-single.html │ │ │ │ ├── favicon-unavailable.html │ │ │ │ ├── localStorage.html │ │ │ │ ├── test-iframe.html │ │ │ │ ├── favicon-multi.html │ │ │ │ ├── favicon-shortcut.html │ │ │ │ ├── favicon-touch.html │ │ │ │ ├── favicon.html │ │ │ │ ├── favicon2.html │ │ │ │ ├── script-with-bad-match-metadata.js │ │ │ │ ├── test3.html │ │ │ │ ├── favicon-misc.html │ │ │ │ ├── script-with-metadata.js │ │ │ │ ├── singlefileupload.html │ │ │ │ ├── directoryupload.html │ │ │ │ ├── multifileupload.html │ │ │ │ ├── accepttypes.html │ │ │ │ ├── titleupdate.js │ │ │ │ └── iframes.html │ │ │ ├── mock-delegates │ │ │ │ ├── MenuSeparator.qml │ │ │ │ ├── MenuItem.qml │ │ │ │ ├── AlertDialog.qml │ │ │ │ ├── MenuParams.qml │ │ │ │ ├── JSDialogParams.qml │ │ │ │ ├── Menu.qml │ │ │ │ ├── FilePickerParams.qml │ │ │ │ └── DirectoryPicker.qml │ │ │ └── BLACKLIST │ │ ├── qquickwebenginedefaultsurfaceformat │ │ │ ├── html │ │ │ │ └── basic_page.html │ │ │ └── CMakeLists.txt │ │ ├── publicapi │ │ │ └── CMakeLists.txt │ │ ├── qtbug-70248 │ │ │ ├── test.qml │ │ │ └── CMakeLists.txt │ │ ├── uidelegates │ │ │ └── CMakeLists.txt │ │ └── CMakeLists.txt │ ├── pdfquick │ │ ├── CMakeLists.txt │ │ ├── multipageview │ │ │ ├── data │ │ │ │ ├── qpdfwriter.pdf │ │ │ │ ├── bookmarksAndLinks.pdf │ │ │ │ ├── pdf-sample.protected.pdf │ │ │ │ ├── multiPageView.qml │ │ │ │ ├── jumpOnDocumentReady.qml │ │ │ │ └── multiPageViewWithFeedback.qml │ │ │ └── BLACKLIST │ │ └── pdfpageimage │ │ │ └── data │ │ │ ├── bookmarksAndLinks.pdf │ │ │ └── pdfPageImage.qml │ ├── pdf │ │ ├── qpdfdocument │ │ │ ├── test.pdf │ │ │ ├── rotated_text.pdf │ │ │ ├── pdf-sample.metadata.pdf │ │ │ ├── pdf-sample.protected.pdf │ │ │ ├── tagged_mcr_multipage.pdf │ │ │ └── CMakeLists.txt │ │ ├── qpdfsearchmodel │ │ │ ├── test.pdf │ │ │ ├── rotated_text.pdf │ │ │ ├── tagged_mcr_multipage.pdf │ │ │ └── CMakeLists.txt │ │ ├── qpdfbookmarkmodel │ │ │ ├── pdf-sample.bookmarks.pdf │ │ │ ├── pdf-sample.bookmarks_pages.pdf │ │ │ └── CMakeLists.txt │ │ ├── qpdfpagerenderer │ │ │ ├── pdf-sample.pagerenderer.pdf │ │ │ └── CMakeLists.txt │ │ ├── qpdfpagenavigator │ │ │ ├── pdf-sample.bookmarks_pages.pdf │ │ │ └── CMakeLists.txt │ │ └── CMakeLists.txt │ ├── httpserver │ │ ├── data │ │ │ ├── hedgehog.png │ │ │ ├── loadprogress │ │ │ │ ├── downloadable.tar.gz │ │ │ │ ├── page1.html │ │ │ │ ├── page4.html │ │ │ │ ├── page2.html │ │ │ │ ├── page7.html │ │ │ │ ├── page6.html │ │ │ │ ├── page3.html │ │ │ │ └── page5.html │ │ │ └── hedgehog.html │ │ └── CMakeLists.txt │ ├── util │ │ ├── CMakeLists.txt │ │ ├── util.cmake │ │ └── qt_webengine_quicktest.h │ ├── CMakeLists.txt │ └── REUSE.toml ├── CMakeLists.txt ├── manual │ ├── examples │ │ ├── widgets │ │ │ ├── CMakeLists.txt │ │ │ └── minimal │ │ │ │ └── minimal.pro │ │ ├── quick │ │ │ ├── minimal │ │ │ │ ├── qml.qrc │ │ │ │ ├── minimal.pro │ │ │ │ └── main.qml │ │ │ ├── webengineaction │ │ │ │ ├── qml.qrc │ │ │ │ └── webengineaction.pro │ │ │ ├── customtouchhandle │ │ │ │ ├── qml.qrc │ │ │ │ └── customtouchhandle.pro │ │ │ ├── CMakeLists.txt │ │ │ └── customdialogs │ │ │ │ ├── forms │ │ │ │ ├── ColorCell.qml │ │ │ │ └── TouchSelectionMenu.qml │ │ │ │ ├── customdialogs.pro │ │ │ │ └── MessageRectangle.qml │ │ └── CMakeLists.txt │ ├── quick │ │ ├── CMakeLists.txt │ │ ├── pdf │ │ │ ├── test.pdf │ │ │ └── simplest.qml │ │ └── touchbrowser │ │ │ ├── resources.qrc │ │ │ └── touchbrowser.pro │ ├── touchmocking │ │ └── touchpoint.png │ ├── widgets │ │ ├── webrtc │ │ │ └── qrc.qrc │ │ ├── inputmethods │ │ │ ├── test.qrc │ │ │ ├── webview.h │ │ │ ├── inputmethods.pro │ │ │ └── referenceview.h │ │ ├── printing │ │ │ └── resources.qrc │ │ ├── webgl │ │ │ ├── webgl.pro │ │ │ └── CMakeLists.txt │ │ ├── touchbrowser │ │ │ ├── resources.qrc │ │ │ └── touchbrowser.pro │ │ └── CMakeLists.txt │ └── CMakeLists.txt └── global │ └── global.cfg ├── src ├── core │ ├── doc │ │ ├── about_credits.tmpl │ │ ├── QtWebEngineDoc │ │ ├── about_credits_entry.tmpl │ │ └── snippets │ │ │ ├── qtwebenginecore_build_snippet.qdoc │ │ │ └── qtwebengine_qwebenginepage_snippet.cpp │ ├── ozone │ │ ├── REUSE.toml │ │ ├── ozone_platform_qt.h │ │ └── ozone_util_qt.h │ ├── extensions │ │ ├── api │ │ │ ├── display_info_provider_qt.cpp │ │ │ └── display_info_provider_qt.h │ │ └── messaging_delegate_qt.cpp │ ├── api │ │ └── qwebengineurlrequestinterceptor.cpp │ ├── global_descriptors_qt.h │ └── cursor_utils_qt_mac.h ├── pdf │ ├── doc │ │ ├── about_credits.tmpl │ │ ├── images │ │ │ ├── pdfviewer.png │ │ │ ├── search-results.png │ │ │ ├── multipageviewer.png │ │ │ ├── singlepageviewer.webp │ │ │ └── wrapping-search-result.png │ │ ├── snippets │ │ │ ├── qtpdf-build.cmake │ │ │ ├── qtpdf_build_snippet.qdoc │ │ │ ├── multipageview.qml │ │ │ └── pdfpageview.qml │ │ ├── about_credits_entry.tmpl │ │ └── src │ │ │ ├── qtpdf-examples.qdoc │ │ │ ├── qtpdf-platformnotes.qdoc │ │ │ └── qtpdf-toc.qdoc │ ├── plugins │ │ └── imageformats │ │ │ └── pdf │ │ │ ├── pdf.json │ │ │ └── CMakeLists.txt │ └── qtpdfglobal.h ├── webenginewidgets │ ├── doc │ │ └── snippets │ │ │ ├── simple │ │ │ ├── simple.pro │ │ │ └── main.cpp │ │ │ ├── qtwebenginewidgets_build_snippet.qdoc │ │ │ └── push-notifications │ │ │ └── commands │ └── plugins │ │ └── qwebengineview │ │ └── images │ │ └── qwebengineview.png ├── webenginequick │ ├── ui │ │ ├── question.png │ │ ├── information.png │ │ ├── TouchHandle.qml │ │ ├── MenuSeparator.qml │ │ ├── MenuItem.qml │ │ ├── ToolTip.qml │ │ ├── ColorDialog.qml │ │ ├── FilePicker.qml │ │ └── DirectoryPicker.qml │ ├── doc │ │ ├── images │ │ │ ├── qtwebengine-model.png │ │ │ ├── qtwebengine-architecture.png │ │ │ └── qtwebenginewidgets-model.png │ │ └── snippets │ │ │ ├── qtwebengine_build_snippet.qdoc │ │ │ └── minimal │ │ │ └── main.qml │ └── configure.cmake ├── host │ ├── config.tests │ │ └── hostcompiler │ │ │ ├── main.cpp │ │ │ └── CMakeLists.txt │ └── BUILD.toolchain.gn.in ├── process │ └── QtWebEngineProcess.entitlements ├── pdfquick │ └── doc │ │ └── src │ │ └── qtquickpdf-module.qdoc └── pdfwidgets │ └── CMakeLists.txt ├── .tag ├── examples ├── pdf │ ├── multipage │ │ ├── .qmllint.ini │ │ ├── resources │ │ │ ├── test.pdf │ │ │ ├── multipage.icns │ │ │ ├── go-up-search.svg │ │ │ ├── rotate-right.svg │ │ │ ├── rotate-left.svg │ │ │ ├── document-open.svg │ │ │ ├── edit-copy.svg │ │ │ ├── zoom-fit-width.svg │ │ │ ├── go-down-search.svg │ │ │ ├── go-next-view-page.svg │ │ │ ├── go-previous-view-page.svg │ │ │ └── sidebar-collapse-left.svg │ │ ├── qmldir │ │ ├── multipage.pro │ │ ├── pdfapplication.cpp │ │ └── pdfapplication.h │ ├── singlepage │ │ ├── .qmllint.ini │ │ ├── qmldir │ │ ├── resources │ │ │ ├── test.pdf │ │ │ ├── go-up-search.svg │ │ │ ├── rotate-right.svg │ │ │ ├── rotate-left.svg │ │ │ ├── document-open.svg │ │ │ ├── edit-copy.svg │ │ │ ├── zoom-fit-width.svg │ │ │ ├── go-down-search.svg │ │ │ ├── go-next-view-page.svg │ │ │ └── go-previous-view-page.svg │ │ └── singlepage.pro │ ├── pdf.pro │ └── CMakeLists.txt ├── pdfwidgets │ ├── CMakeLists.txt │ ├── pdfwidgets.pro │ └── pdfviewer │ │ ├── images │ │ ├── zoom-in.svgz │ │ ├── zoom-out.svgz │ │ ├── go-next-view.svgz │ │ ├── go-up-search.svgz │ │ ├── document-open.svgz │ │ ├── go-down-search.svgz │ │ ├── zoom-fit-best.svgz │ │ ├── zoom-fit-width.svgz │ │ ├── zoom-original.svgz │ │ ├── zoom-previous.svgz │ │ ├── go-next-view-page.svgz │ │ ├── go-previous-view.svgz │ │ └── go-previous-view-page.svgz │ │ ├── pdfviewer.pro │ │ ├── resources.qrc │ │ └── searchresultdelegate.h ├── webenginewidgets │ ├── cookiebrowser │ │ ├── 3rdparty │ │ │ ├── COPYING │ │ │ └── view-refresh.png │ │ ├── doc │ │ │ └── images │ │ │ │ └── cookiebrowser.png │ │ ├── cookiebrowser.qrc │ │ ├── cookiebrowser.pro │ │ └── main.cpp │ ├── simplebrowser │ │ ├── data │ │ │ ├── 3rdparty │ │ │ │ ├── COPYING │ │ │ │ ├── go-bottom.png │ │ │ │ ├── go-next.png │ │ │ │ ├── text-html.png │ │ │ │ ├── edit-clear.png │ │ │ │ ├── go-previous.png │ │ │ │ ├── dialog-error.png │ │ │ │ ├── process-stop.png │ │ │ │ └── view-refresh.png │ │ │ ├── ninja.png │ │ │ └── AppLogoColor.png │ │ └── doc │ │ │ └── images │ │ │ ├── simplebrowser.png │ │ │ └── simplebrowser-model.png │ ├── permissionbrowser │ │ ├── resources │ │ │ ├── 3rdparty │ │ │ │ ├── COPYING │ │ │ │ ├── go-next.png │ │ │ │ ├── go-previous.png │ │ │ │ └── view-refresh.png │ │ │ └── AppLogoColor.png │ │ ├── doc │ │ │ └── images │ │ │ │ └── permissionbrowser-example.png │ │ └── permissionbrowser.qrc │ ├── notifications │ │ ├── data │ │ │ ├── icon.png │ │ │ └── data.qrc │ │ ├── doc │ │ │ └── images │ │ │ │ └── notifications-example.png │ │ └── notifications.pro │ ├── spellchecker │ │ ├── dict │ │ │ ├── de │ │ │ │ ├── de-DE.aff │ │ │ │ ├── de-DE.dic │ │ │ │ └── README.txt │ │ │ └── en │ │ │ │ ├── en-US.aff │ │ │ │ ├── en-US.dic │ │ │ │ └── README.txt │ │ ├── doc │ │ │ └── images │ │ │ │ └── spellchecker-example.png │ │ ├── data │ │ │ └── spellchecker.qrc │ │ ├── main.cpp │ │ └── webview.h │ ├── maps │ │ ├── doc │ │ │ └── images │ │ │ │ └── maps-example.png │ │ ├── maps.pro │ │ ├── main.cpp │ │ └── mainwindow.h │ ├── push-notifications │ │ ├── data │ │ │ ├── data.qrc │ │ │ └── icon.png │ │ ├── doc │ │ │ └── images │ │ │ │ ├── website.png │ │ │ │ ├── notification.png │ │ │ │ ├── permissions.png │ │ │ │ └── push-notifications.png │ │ ├── push-notifications.pro │ │ └── content │ │ │ ├── worker.js │ │ │ └── style.css │ ├── videoplayer │ │ ├── data │ │ │ └── videoplayer.qrc │ │ ├── doc │ │ │ └── images │ │ │ │ └── videoplayer-example.png │ │ ├── videoplayer.pro │ │ └── main.cpp │ ├── contentmanipulation │ │ ├── jquery.qrc │ │ ├── doc │ │ │ └── images │ │ │ │ └── contentmanipulation-example.png │ │ ├── REUSE.toml │ │ └── contentmanipulation.pro │ ├── printme │ │ ├── doc │ │ │ └── images │ │ │ │ └── printme-example.png │ │ ├── data │ │ │ └── data.qrc │ │ └── printme.pro │ ├── clientcertificate │ │ ├── doc │ │ │ └── images │ │ │ │ ├── granted.png │ │ │ │ └── selection.png │ │ ├── resources │ │ │ ├── client.qrc │ │ │ └── server.qrc │ │ ├── clientcertificate.pro │ │ ├── client.pro │ │ └── server.pro │ ├── html2pdf │ │ ├── doc │ │ │ └── images │ │ │ │ └── html2pdf-example.png │ │ └── html2pdf.pro │ └── recipebrowser │ │ ├── assets │ │ ├── pages │ │ │ └── images │ │ │ │ ├── pasta.jpg │ │ │ │ ├── pizza.jpg │ │ │ │ ├── soup.jpg │ │ │ │ ├── steak.jpg │ │ │ │ ├── burger.jpg │ │ │ │ ├── cupcakes.jpg │ │ │ │ └── skewers.jpg │ │ ├── custom.js │ │ ├── 3rdparty │ │ │ └── REUSE.toml │ │ ├── custom.css │ │ └── icons │ │ │ ├── stylesheets.svg │ │ │ └── remove.svg │ │ ├── doc │ │ └── images │ │ │ └── recipebrowser.webp │ │ ├── main.cpp │ │ └── recipebrowser.pro ├── webenginequick │ ├── lifecycle │ │ ├── qtquickcontrols2.conf │ │ ├── doc │ │ │ └── images │ │ │ │ ├── lifecycle.png │ │ │ │ ├── lifecycle-manual.png │ │ │ │ └── lifecycle-automatic.png │ │ ├── lifecycle.pro │ │ ├── resources.qrc │ │ └── WebToolButton.qml │ ├── quicknanobrowser │ │ ├── icons │ │ │ └── 3rdparty │ │ │ │ ├── COPYING │ │ │ │ ├── go-next.png │ │ │ │ ├── go-previous.png │ │ │ │ ├── process-stop.png │ │ │ │ └── view-refresh.png │ │ ├── doc │ │ │ └── images │ │ │ │ └── quicknanobrowser-demo.jpg │ │ └── qmldir │ ├── webenginequick.pro │ └── CMakeLists.txt └── examples.pro ├── .gitreview ├── LICENSES ├── LicenseRef-Tango-Icons-Public-Domain.txt └── LicenseRef-Qt-Commercial.txt ├── .gitmodules ├── CHROMIUM_VERSION ├── tools └── scripts │ ├── gn_run_binary.py │ └── get_version.py ├── qt_cmdline.cmake ├── dist └── REUSE.toml ├── .cmake.conf └── dependencies.yaml /coin-bug-707: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/auto/widgets/schemes/BLACKLIST: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | qt_build_tests() 2 | -------------------------------------------------------------------------------- /src/core/doc/about_credits.tmpl: -------------------------------------------------------------------------------- 1 | {{entries}} 2 | -------------------------------------------------------------------------------- /src/pdf/doc/about_credits.tmpl: -------------------------------------------------------------------------------- 1 | {{entries}} 2 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/mixedXHR.txt: -------------------------------------------------------------------------------- 1 | ok -------------------------------------------------------------------------------- /.tag: -------------------------------------------------------------------------------- 1 | 0429ba696ebad9de0a2e34b6946c2a375d11fc68 2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/bar.txt: -------------------------------------------------------------------------------- 1 | bar 2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/foo.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /examples/pdf/multipage/.qmllint.ini: -------------------------------------------------------------------------------- 1 | [General] 2 | MaxWarnings=0 3 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/.qmllint.ini: -------------------------------------------------------------------------------- 1 | [General] 2 | MaxWarnings=0 3 | -------------------------------------------------------------------------------- /tests/auto/core/certificateerror/BLACKLIST: -------------------------------------------------------------------------------- 1 | [fatalError] 2 | * 3 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/serviceWorker.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /examples/pdfwidgets/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | qt_internal_add_example(pdfviewer) 2 | -------------------------------------------------------------------------------- /tests/manual/examples/widgets/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(minimal) 2 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfwidgets.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS += pdfviewer 3 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineviewgraphics/BLACKLIST: -------------------------------------------------------------------------------- 1 | [showHideShow] 2 | * 3 | -------------------------------------------------------------------------------- /tests/auto/quick/inspectorserver/BLACKLIST: -------------------------------------------------------------------------------- 1 | [openRemoteDebuggingSession] 2 | macos 3 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/html/basic_page2.html: -------------------------------------------------------------------------------- 1 |

Basic page 2

2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/style.css: -------------------------------------------------------------------------------- 1 | #idP {color: red !important} 2 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/redirect.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: serif; 3 | } 4 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/change-document-title.js: -------------------------------------------------------------------------------- 1 | document.title = "New title"; 2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/path with spaces.txt: -------------------------------------------------------------------------------- 1 | contents with spaces 2 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/append-document-title.js: -------------------------------------------------------------------------------- 1 | document.title += " with appendix"; 2 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/test1.html: -------------------------------------------------------------------------------- 1 |

Some text 1

2 | -------------------------------------------------------------------------------- /examples/pdf/pdf.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | 3 | qtHaveModule(svg): SUBDIRS += singlepage multipage 4 | -------------------------------------------------------------------------------- /.gitreview: -------------------------------------------------------------------------------- 1 | [gerrit] 2 | host=codereview.qt-project.org 3 | project=qt/qtwebengine 4 | defaultbranch=dev 5 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/dedicatedWorker.js: -------------------------------------------------------------------------------- 1 | onmessage = (e) => { postMessage(e.data + 1); }; 2 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(multipageview) 2 | add_subdirectory(pdfpageimage) 3 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/test2.html: -------------------------------------------------------------------------------- 1 |

Some text 2

2 | -------------------------------------------------------------------------------- /tests/manual/quick/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(touchbrowser) 2 | add_subdirectory(geopermission) 3 | -------------------------------------------------------------------------------- /src/pdf/doc/images/pdfviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/pdf/doc/images/pdfviewer.png -------------------------------------------------------------------------------- /src/webenginewidgets/doc/snippets/simple/simple.pro: -------------------------------------------------------------------------------- 1 | QT += webenginewidgets 2 | SOURCES = main.cpp 3 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineclientcertificatestore/BLACKLIST: -------------------------------------------------------------------------------- 1 | [clientAuthentication] 2 | macos-15 # QTBUG-130500 3 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginehistory/resources/page1.html: -------------------------------------------------------------------------------- 1 | page1

page1

2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginehistory/resources/page2.html: -------------------------------------------------------------------------------- 1 | page2

page2

2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginehistory/resources/page3.html: -------------------------------------------------------------------------------- 1 | page3

page3

2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginehistory/resources/page4.html: -------------------------------------------------------------------------------- 1 | page4

page4

2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginehistory/resources/page6.html: -------------------------------------------------------------------------------- 1 | page6

page6

2 | -------------------------------------------------------------------------------- /tests/manual/quick/pdf/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/manual/quick/pdf/test.pdf -------------------------------------------------------------------------------- /src/webenginequick/ui/question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/webenginequick/ui/question.png -------------------------------------------------------------------------------- /tests/auto/widgets/accessibility/BLACKLIST: -------------------------------------------------------------------------------- 1 | [roles:ax::mojom::Role::kSvgRoot] 2 | b2qt 3 | 4 | [focusChild] 5 | * 6 | -------------------------------------------------------------------------------- /src/pdf/doc/images/search-results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/pdf/doc/images/search-results.png -------------------------------------------------------------------------------- /src/pdf/plugins/imageformats/pdf/pdf.json: -------------------------------------------------------------------------------- 1 | { 2 | "Keys": [ "pdf" ], 3 | "MimeTypes": [ "application/pdf" ] 4 | } 5 | -------------------------------------------------------------------------------- /src/webenginequick/ui/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/webenginequick/ui/information.png -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfdocument/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfdocument/test.pdf -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/iframe3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

inner

4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/user.css: -------------------------------------------------------------------------------- 1 | p { 2 | background-image: url('http://does.not/exist.png'); 3 | } -------------------------------------------------------------------------------- /LICENSES/LicenseRef-Tango-Icons-Public-Domain.txt: -------------------------------------------------------------------------------- 1 | The icons in this repository are herefore released into the Public Domain. 2 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/qmldir: -------------------------------------------------------------------------------- 1 | module SinglePageModule 2 | prefer :/qt/qml/SinglePageModule/ 3 | Viewer 254.0 Viewer.qml 4 | -------------------------------------------------------------------------------- /src/pdf/doc/images/multipageviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/pdf/doc/images/multipageviewer.png -------------------------------------------------------------------------------- /tests/auto/httpserver/data/hedgehog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/httpserver/data/hedgehog.png -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfsearchmodel/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfsearchmodel/test.pdf -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdf/multipage/resources/test.pdf -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdf/singlepage/resources/test.pdf -------------------------------------------------------------------------------- /src/pdf/doc/images/singlepageviewer.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/pdf/doc/images/singlepageviewer.webp -------------------------------------------------------------------------------- /src/pdf/doc/snippets/qtpdf-build.cmake: -------------------------------------------------------------------------------- 1 | find_package(Qt6 REQUIRED COMPONENTS Pdf) 2 | target_link_libraries(mytarget Qt6::Pdf) 3 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/core/origins/resources/red.png -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/iframe3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

inner

4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/alert.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/manual/touchmocking/touchpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/manual/touchmocking/touchpoint.png -------------------------------------------------------------------------------- /examples/webenginewidgets/cookiebrowser/3rdparty/COPYING: -------------------------------------------------------------------------------- 1 | The icons in this repository are herefore released into the Public Domain. 2 | -------------------------------------------------------------------------------- /tests/auto/core/qwebenginecookiestore/resources/content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is test content 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/core/qwebenginesettings/BLACKLIST: -------------------------------------------------------------------------------- 1 | [javascriptClipboard] 2 | ubuntu-20.04 3 | 4 | [setInAcceptNavigationRequest] 5 | macos 6 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfdocument/rotated_text.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfdocument/rotated_text.pdf -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/download.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/download.zip -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is test content 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/multipage.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdf/multipage/resources/multipage.icns -------------------------------------------------------------------------------- /examples/webenginequick/lifecycle/qtquickcontrols2.conf: -------------------------------------------------------------------------------- 1 | [Controls] 2 | Style=Material 3 | 4 | [Material] 5 | Theme=Dark 6 | Variant=Dense 7 | -------------------------------------------------------------------------------- /examples/webenginequick/quicknanobrowser/icons/3rdparty/COPYING: -------------------------------------------------------------------------------- 1 | The icons in this repository are herefore released into the Public Domain. 2 | -------------------------------------------------------------------------------- /examples/webenginewidgets/simplebrowser/data/3rdparty/COPYING: -------------------------------------------------------------------------------- 1 | The icons in this repository are herefore released into the Public Domain. 2 | -------------------------------------------------------------------------------- /src/pdf/doc/images/wrapping-search-result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/pdf/doc/images/wrapping-search-result.png -------------------------------------------------------------------------------- /tests/auto/core/webenginedriver/resources/input.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfsearchmodel/rotated_text.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfsearchmodel/rotated_text.pdf -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/gray16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/gray16.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/gray32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/gray32.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/gray64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/gray64.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/qt144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/qt144.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/qt32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/qt32.ico -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/test1.html: -------------------------------------------------------------------------------- 1 | 2 | Test page 1 3 | 4 | Hello. 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/action_popup_ext/popup_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Popup page 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/widgets/offscreen/test.html: -------------------------------------------------------------------------------- 1 | 2 | TEST 3 | 4 | Eat me ! 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/zoom-in.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/zoom-in.svgz -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/favicon.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/gray128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/gray128.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/gray255.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/gray255.png -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/qtmulti.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/qtmulti.ico -------------------------------------------------------------------------------- /tests/manual/widgets/webrtc/qrc.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | index.html 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/pdf/multipage/qmldir: -------------------------------------------------------------------------------- 1 | module MultiPageModule 2 | typeinfo multipage.qmltypes 3 | prefer :/qt/qml/MultiPageModule/ 4 | Viewer 254.0 Viewer.qml 5 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/zoom-out.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/zoom-out.svgz -------------------------------------------------------------------------------- /examples/webenginewidgets/permissionbrowser/resources/3rdparty/COPYING: -------------------------------------------------------------------------------- 1 | The icons in this repository are herefore released into the Public Domain. 2 | -------------------------------------------------------------------------------- /src/webenginequick/doc/images/qtwebengine-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/webenginequick/doc/images/qtwebengine-model.png -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfdocument/pdf-sample.metadata.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfdocument/pdf-sample.metadata.pdf -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfdocument/pdf-sample.protected.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfdocument/pdf-sample.protected.pdf -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfdocument/tagged_mcr_multipage.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfdocument/tagged_mcr_multipage.pdf -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/grayicons.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/grayicons.ico -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/icons/qt144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/favicon/resources/icons/qt144.png -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/icons/qt32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/favicon/resources/icons/qt32.ico -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/frame_c.html: -------------------------------------------------------------------------------- 1 | Google 2 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/resources/test.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/qwebengineview/resources/test.swf -------------------------------------------------------------------------------- /tests/auto/widgets/spellchecking/dict/de-DE.aff: -------------------------------------------------------------------------------- 1 | SET UTF-8 2 | TRY esianrtolcdugmphbyfvkwzqESIANRTOLCDUGMPHBYFVKWZQ 3 | 4 | PFX Q Y 1 5 | PFX Q 0 q . 6 | -------------------------------------------------------------------------------- /tests/auto/widgets/spellchecking/dict/en-US.aff: -------------------------------------------------------------------------------- 1 | SET UTF-8 2 | TRY esianrtolcdugmphbyfvkwzqESIANRTOLCDUGMPHBYFVKWZQ 3 | 4 | PFX Q Y 1 5 | PFX Q 0 q . 6 | -------------------------------------------------------------------------------- /tests/manual/widgets/inputmethods/test.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | testdata.csv 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/go-next-view.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/go-next-view.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/go-up-search.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/go-up-search.svgz -------------------------------------------------------------------------------- /examples/webenginewidgets/notifications/data/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/notifications/data/icon.png -------------------------------------------------------------------------------- /examples/webenginewidgets/simplebrowser/data/ninja.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/simplebrowser/data/ninja.png -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/data/qpdfwriter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdfquick/multipageview/data/qpdfwriter.pdf -------------------------------------------------------------------------------- /tests/auto/quick/inspectorserver/html/basic_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Page 4 | 5 |

Basic page

6 | 7 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/icons/small-favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/quick/qmltests/data/icons/small-favicon.png -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/BLACKLIST: -------------------------------------------------------------------------------- 1 | [javascriptClipboard] 2 | ubuntu-20.04 3 | 4 | [htmlSelectPopup] 5 | ubuntu-24.04 offscreen # QTBUG-128653 6 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/packed_ext.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/extensions/resources/packed_ext.zip -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/icons/qtmulti.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/favicon/resources/icons/qtmulti.ico -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/qwebenginepage/resources/image.png -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/qwebenginepage/resources/image2.png -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/test1.html: -------------------------------------------------------------------------------- 1 | 2 | Test page 1 3 | 4 | Hello. 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/resources/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/qwebengineview/resources/image2.png -------------------------------------------------------------------------------- /tests/manual/examples/quick/minimal/qml.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/webengineaction/qml.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "src/3rdparty"] 2 | path = src/3rdparty 3 | url = ../qtwebengine-chromium.git 4 | ignore = dirty 5 | initrepo = true 6 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/document-open.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/document-open.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/go-down-search.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/go-down-search.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/zoom-fit-best.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/zoom-fit-best.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/zoom-fit-width.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/zoom-fit-width.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/zoom-original.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/zoom-original.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/zoom-previous.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/zoom-previous.svgz -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/dict/de/de-DE.aff: -------------------------------------------------------------------------------- 1 | SET UTF-8 2 | TRY esianrtolcdugmphbyfvkwzqESIANRTOLCDUGMPHBYFVKWZQ 3 | 4 | PFX Q Y 1 5 | PFX Q 0 q . 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/dict/en/en-US.aff: -------------------------------------------------------------------------------- 1 | SET UTF-8 2 | TRY esianrtolcdugmphbyfvkwzqESIANRTOLCDUGMPHBYFVKWZQ 3 | 4 | PFX Q Y 1 5 | PFX Q 0 q . 6 | -------------------------------------------------------------------------------- /tests/auto/core/qwebenginecookiestore/resources/fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/core/qwebenginecookiestore/resources/fav.png -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/image_in_iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/media_in_iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfbookmarkmodel/pdf-sample.bookmarks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfbookmarkmodel/pdf-sample.bookmarks.pdf -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfsearchmodel/tagged_mcr_multipage.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfsearchmodel/tagged_mcr_multipage.pdf -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/html/basic_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Page 4 | 5 |

Basic page

6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/defaultsurfaceformat/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Page 4 | 5 |

Basic page

6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/unpacked_ext/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Extension", 3 | "version": "1.0", 4 | "manifest_version": 3 5 | } 6 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/customtouchhandle/qml.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/manual/widgets/printing/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | printing_example.html 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/go-next-view-page.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/go-next-view-page.svgz -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/go-previous-view.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/go-previous-view.svgz -------------------------------------------------------------------------------- /examples/webenginequick/lifecycle/doc/images/lifecycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginequick/lifecycle/doc/images/lifecycle.png -------------------------------------------------------------------------------- /examples/webenginewidgets/maps/doc/images/maps-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/maps/doc/images/maps-example.png -------------------------------------------------------------------------------- /examples/webenginewidgets/push-notifications/data/data.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icon.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/push-notifications/data/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/push-notifications/data/icon.png -------------------------------------------------------------------------------- /examples/webenginewidgets/videoplayer/data/videoplayer.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | index.html 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/webenginequick/doc/images/qtwebengine-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/webenginequick/doc/images/qtwebengine-architecture.png -------------------------------------------------------------------------------- /src/webenginequick/doc/images/qtwebenginewidgets-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/src/webenginequick/doc/images/qtwebenginewidgets-model.png -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/downloadable.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/httpserver/data/loadprogress/downloadable.tar.gz -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfpagerenderer/pdf-sample.pagerenderer.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfpagerenderer/pdf-sample.pagerenderer.pdf -------------------------------------------------------------------------------- /tests/auto/pdfquick/pdfpageimage/data/bookmarksAndLinks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdfquick/pdfpageimage/data/bookmarksAndLinks.pdf -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepermission/resources/qt144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/qwebenginepermission/resources/qt144.png -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineprofile/resources/hedgehog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/widgets/qwebengineprofile/resources/hedgehog.png -------------------------------------------------------------------------------- /tests/manual/widgets/webgl/webgl.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = webgl 3 | QT += core gui widgets webenginewidgets 4 | CONFIG += c++11 5 | SOURCES += main.cpp 6 | 7 | -------------------------------------------------------------------------------- /examples/webenginewidgets/contentmanipulation/jquery.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | jquery.min.js 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/simplebrowser/data/AppLogoColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/simplebrowser/data/AppLogoColor.png -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/dict/en/en-US.dic: -------------------------------------------------------------------------------- 1 | 10 2 | he/Q 3 | I/Q 4 | it/Q 5 | love/Q 6 | loves/Q 7 | qt/Q 8 | she/Q 9 | they/Q 10 | we/Q 11 | you/Q 12 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/resource_in_iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/data/bookmarksAndLinks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdfquick/multipageview/data/bookmarksAndLinks.pdf -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/invalid_manifest_ext/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "manifest v2", 3 | "version": "1.0", 4 | "manifest_version": 2 5 | } 6 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/images/go-previous-view-page.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/pdfwidgets/pdfviewer/images/go-previous-view-page.svgz -------------------------------------------------------------------------------- /examples/webenginewidgets/printme/doc/images/printme-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/printme/doc/images/printme-example.png -------------------------------------------------------------------------------- /src/core/doc/QtWebEngineDoc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/firstparty.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfbookmarkmodel/pdf-sample.bookmarks_pages.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfbookmarkmodel/pdf-sample.bookmarks_pages.pdf -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfpagenavigator/pdf-sample.bookmarks_pages.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdf/qpdfpagenavigator/pdf-sample.bookmarks_pages.pdf -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/data/pdf-sample.protected.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/pdfquick/multipageview/data/pdf-sample.protected.pdf -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebenginedefaultsurfaceformat/html/basic_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Page 4 | 5 |

Basic page

6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

top

4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/manual/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(TARGET Qt::WebEngineWidgets) 2 | add_subdirectory(widgets) 3 | endif() 4 | if(TARGET Qt::WebEngineQuick) 5 | add_subdirectory(quick) 6 | endif() 7 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/webengineaction/webengineaction.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginequick 4 | 5 | HEADERS += utils.h 6 | SOURCES += main.cpp 7 | 8 | RESOURCES += qml.qrc 9 | -------------------------------------------------------------------------------- /examples/webenginequick/quicknanobrowser/doc/images/quicknanobrowser-demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginequick/quicknanobrowser/doc/images/quicknanobrowser-demo.jpg -------------------------------------------------------------------------------- /examples/webenginewidgets/notifications/doc/images/notifications-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/notifications/doc/images/notifications-example.png -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/icons/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/tests/auto/core/qwebengineurlrequestinterceptor/resources/icons/favicon.png -------------------------------------------------------------------------------- /tests/auto/widgets/printing/resources/basic_printing_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Printing Page 4 | 5 | 6 |

Hello Paper World

7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/manual/widgets/touchbrowser/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../../touchmocking/touchpoint.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/cookiebrowser/cookiebrowser.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 3rdparty/view-refresh.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/permissionbrowser/resources/3rdparty/go-previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/permissionbrowser/resources/3rdparty/go-previous.png -------------------------------------------------------------------------------- /examples/webenginewidgets/permissionbrowser/resources/3rdparty/view-refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/permissionbrowser/resources/3rdparty/view-refresh.png -------------------------------------------------------------------------------- /examples/webenginewidgets/push-notifications/doc/images/push-notifications.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/push-notifications/doc/images/push-notifications.png -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/data/spellchecker.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | index.html 4 | style.css 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/iframe2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

another iframe

4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/style.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: fontawesome; 3 | src: url(fontawesome.woff); 4 | } 5 | p { 6 | font-family: fontawesome; 7 | } 8 | -------------------------------------------------------------------------------- /examples/webenginequick/webenginequick.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | 3 | SUBDIRS += \ 4 | quicknanobrowser 5 | 6 | qtHaveModule(quickcontrols2) { 7 | SUBDIRS += \ 8 | lifecycle 9 | } 10 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/sharedWorker.js: -------------------------------------------------------------------------------- 1 | onconnect = function(e) { 2 | let port = e.ports[0]; 3 | port.onmessage = function(e) { 4 | port.postMessage(e.data + 1); 5 | }; 6 | }; 7 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page1 4 | 5 | 6 |
page2
7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/prompt.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginescript/resources/title_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | A 5 | 6 | 7 |

Page A

8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginescript/resources/title_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | B 5 | 6 | 7 |

Page B

8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/webenginewidgets/clientcertificate/resources/client.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | client.key 4 | client.pem 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/webenginewidgets/permissionbrowser/doc/images/permissionbrowser-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/permissionbrowser/doc/images/permissionbrowser-example.png -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/dict/de/de-DE.dic: -------------------------------------------------------------------------------- 1 | 15 2 | du/Q 3 | er/Q 4 | es/Q 5 | ich/Q 6 | ihr/Q 7 | liebe/Q 8 | lieben/Q 9 | liebst/Q 10 | liebt/Q 11 | qt/Q 12 | sie/Q 13 | Sie/Q 14 | wir/Q 15 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/BLACKLIST: -------------------------------------------------------------------------------- 1 | # QTBUG-111306 2 | [navigation:click links and go back, twice] 3 | android 4 | 5 | # QTBUG-111306 6 | [navigation:click two links in series and then go back] 7 | android 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/spellchecking/dict/de-DE.dic: -------------------------------------------------------------------------------- 1 | 15 2 | du/Q 3 | er/Q 4 | es/Q 5 | ich/Q 6 | ihr/Q 7 | liebe/Q 8 | lieben/Q 9 | liebst/Q 10 | liebt/Q 11 | löwe/Q 12 | qt/Q 13 | sie/Q 14 | Sie/Q 15 | wir/Q 16 | -------------------------------------------------------------------------------- /tests/manual/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(examples) 2 | if(TARGET Qt::WebEngineQuick) 3 | add_subdirectory(quick) 4 | endif() 5 | if(TARGET Qt::WebEngineWidgets) 6 | add_subdirectory(widgets) 7 | endif() 8 | -------------------------------------------------------------------------------- /src/pdf/doc/snippets/qtpdf_build_snippet.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | //! [0] 5 | QT += pdf 6 | //! [0] 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/favicon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/javascript.html: -------------------------------------------------------------------------------- 1 | 2 | Original Title 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/content_script_ext/script.js: -------------------------------------------------------------------------------- 1 | let testNode = document.createElement("div") 2 | testNode.innerText = "Hello" 3 | testNode.id = "testNode" 4 | document.body.appendChild(testNode) 5 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/pdf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | qt_internal_add_example(singlepage) 5 | qt_internal_add_example(multipage) 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/contentmanipulation/doc/images/contentmanipulation-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtwebengine/dev/examples/webenginewidgets/contentmanipulation/doc/images/contentmanipulation-example.png -------------------------------------------------------------------------------- /examples/webenginewidgets/html2pdf/html2pdf.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginewidgets 4 | 5 | SOURCES += html2pdf.cpp 6 | 7 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/html2pdf 8 | INSTALLS += target 9 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/media.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/framedindex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/reload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | This is test content 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/manual/examples/widgets/minimal/minimal.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginewidgets 4 | 5 | SOURCES += main.cpp 6 | 7 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/minimal 8 | INSTALLS += target 9 | -------------------------------------------------------------------------------- /src/webenginequick/ui/TouchHandle.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2018 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick 5 | 6 | Image { } 7 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/viewSource.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | viewSource 5 | 6 | 7 |

viewSource

8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/MenuSeparator.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | import QtQuick 5 | 6 | Item { id: dummy } 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/resources/scrolltest_page.html: -------------------------------------------------------------------------------- 1 | 2 | Scrolling test 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/webenginewidgets/clientcertificate/clientcertificate.pro: -------------------------------------------------------------------------------- 1 | QT_FOR_CONFIG += network-private 2 | TEMPLATE = subdirs 3 | 4 | client.file = client.pro 5 | server.file = server.pro 6 | 7 | qtConfig(ssl): SUBDIRS += client server 8 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineframe/resources/printing-inner-document.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Printing Inner Document 4 | 5 |

Inner Header

6 | 7 | 8 | -------------------------------------------------------------------------------- /src/webenginequick/ui/MenuSeparator.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick 5 | 6 | Item { id: dummy } 7 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/redirect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Redirecting to test1.html 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/hello.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | function sayHello() 5 | { 6 | console.warn("hello"); 7 | } 8 | -------------------------------------------------------------------------------- /examples/webenginequick/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | qt_internal_add_example(lifecycle) 5 | qt_internal_add_example(quicknanobrowser) 6 | -------------------------------------------------------------------------------- /src/host/config.tests/hostcompiler/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2018 The Qt Company Ltd. 2 | // SPDX-License-Identifier: BSD-3-Clause 3 | 4 | #include 5 | int main() 6 | { 7 | printf("This works\n"); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/MenuItem.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | import QtQml 5 | 6 | QtObject { 7 | signal triggered() 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/action_popup_ext/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Extension", 3 | "version": "1.0", 4 | "manifest_version": 3, 5 | "action": { 6 | "default_popup": "popup_page.html" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/service_worker_ext/service_worker.js: -------------------------------------------------------------------------------- 1 | chrome.runtime.onMessage.addListener((message, _, sendResponse) => { 2 | if (message === "ping") 3 | sendResponse("pong") 4 | return true; 5 | }) 6 | -------------------------------------------------------------------------------- /examples/webenginewidgets/clientcertificate/resources/server.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | server.key 4 | server.pem 5 | ca.pem 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineframe/resources/nesting-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test-title 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/html/resources/hello.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | function sayHello() 5 | { 6 | console.warn("hello"); 7 | } 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/script2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Simple test page without favicon (meaning no separate request from http server) 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/content2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Simple test page without favicon (meaning no separate request from http server) 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Simple test page without favicon (meaning no separate request from http server) 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/cors.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | > 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/data/multiPageView.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Pdf 3 | 4 | PdfMultiPageView { 5 | width: 480; height: 480 6 | property alias source: document.source 7 | document: PdfDocument { id: document } 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/frame_a.html: -------------------------------------------------------------------------------- 1 | Google 2 | Yahoo 3 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/hi.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | function sayHi() 5 | { 6 | // Placeholder 7 | console.warn("hi"); 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/resources/dummy.html: -------------------------------------------------------------------------------- 1 | 2 | Dummy simple page without real content 3 | 4 | 5 | This is test content 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/resources/frame_a.html: -------------------------------------------------------------------------------- 1 | Google 2 | Yahoo 3 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/minimal/minimal.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginequick 4 | 5 | SOURCES += main.cpp 6 | 7 | RESOURCES += qml.qrc 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginequick/minimal 10 | INSTALLS += target 11 | -------------------------------------------------------------------------------- /src/webenginequick/ui/MenuItem.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick 5 | import QtQuick.Controls as C 6 | 7 | C.MenuItem { } 8 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/confirmclose.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | Be greeted, precious viewer! 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/html/resources/hi.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | function sayHi() 5 | { 6 | // Placeholder 7 | console.warn("hi"); 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginescript/resources/test_iframe_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
Main text
7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/examples.pro: -------------------------------------------------------------------------------- 1 | 2 | TEMPLATE=subdirs 3 | 4 | qtHaveModule(webenginequick): SUBDIRS += webenginequick 5 | qtHaveModule(webenginewidgets): SUBDIRS += webenginewidgets 6 | qtHaveModule(pdf): SUBDIRS += pdf 7 | qtHaveModule(pdfwidgets): SUBDIRS += pdfwidgets 8 | 9 | -------------------------------------------------------------------------------- /src/core/ozone/REUSE.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[annotations]] 4 | path = ["BUILD.gn", "ozone_extra.gni"] 5 | precedence = "closest" 6 | SPDX-FileCopyrightText = "Copyright 2016 The Chromium Authors. All rights reserved." 7 | SPDX-License-Identifier = "BSD-3-Clause" 8 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/resource.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

some text

8 | 9 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/test2.html: -------------------------------------------------------------------------------- 1 | 2 | Test page with huge link area 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/html/script2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/widgets/proxypac/proxy.pac: -------------------------------------------------------------------------------- 1 | function FindProxyForURL(url, host) 2 | { 3 | if (shExpMatch(host, "*.proxy1.com")) return "PROXY localhost:5551"; 4 | if (shExpMatch(host, "*.proxy2.com")) return "PROXY localhost:5552"; 5 | return "DIRECT"; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/redirect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginescript/resources/test_iframe_outer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
Outer text
7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/global/global.cfg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/scripts/gn_run_binary.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2016 The Qt Company Ltd. 2 | # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 3 | 4 | 5 | import sys 6 | import subprocess 7 | 8 | sys.exit(subprocess.call(sys.argv[1:])) 9 | -------------------------------------------------------------------------------- /tests/manual/quick/touchbrowser/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | AddressBar.qml 5 | ../../touchmocking/touchpoint.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page4 4 | 5 | 6 | download 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon-single.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 |

Favicon Test

8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/webenginewidgets/clientcertificate/client.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginewidgets 4 | 5 | SOURCES += client.cpp 6 | 7 | RESOURCES += resources/client.qrc 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/clientcertificate/client 10 | INSTALLS += target 11 | -------------------------------------------------------------------------------- /tests/auto/core/devtools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_devtools 5 | SOURCES 6 | tst_devtools.cpp 7 | LIBRARIES 8 | Qt::WebEngineCore 9 | ) 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/subdir/frame2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Subdir - Frame 2 5 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/subdir_frame1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Subdir - Frame 1 5 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/hedgehog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | BREAKING NEWS: 15 Hedgehogs With Things That Look Like Hedgehogs 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/favicon-single.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 |

Favicon Test

8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/shutdown/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_shutdown 5 | SOURCES 6 | tst_shutdown.cpp 7 | LIBRARIES 8 | Qt::WebEngineWidgets 9 | ) 10 | -------------------------------------------------------------------------------- /qt_cmdline.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_commandline_option(build-qtpdf TYPE boolean NAME qtpdf-build) 5 | qt_commandline_option(webengine-developer-build TYPE boolean) 6 | 7 | qt_commandline_subconfig(src/core/api) 8 | -------------------------------------------------------------------------------- /tests/auto/core/qtversion/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2023 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qtversion 5 | SOURCES 6 | tst_qtversion.cpp 7 | LIBRARIES 8 | Qt::WebEngineCore 9 | ) 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/BLACKLIST: -------------------------------------------------------------------------------- 1 | [NewWindowRequest::test_loadNewWindowRequest] 2 | macos 3 | 4 | [WebEngineViewContextMenu::test_contextMenuLinkAndSelectedText] 5 | macos 6 | 7 | [CertificateError::test_fatalError] 8 | * 9 | 10 | [CertificateError::test_error] 11 | * 12 | 13 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/customtouchhandle/customtouchhandle.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginequick 4 | 5 | SOURCES += main.cpp 6 | 7 | RESOURCES += qml.qrc 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginequick/customtouchhandle 10 | INSTALLS += target 11 | -------------------------------------------------------------------------------- /dist/REUSE.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[annotations]] 4 | path = ["*"] 5 | precedence = "override" 6 | comment = "Licensed as documentation." 7 | SPDX-FileCopyrightText = "Copyright (C) The Qt Company Ltd." 8 | SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only" 9 | -------------------------------------------------------------------------------- /examples/webenginewidgets/contentmanipulation/REUSE.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[annotations]] 4 | path = "jquery.min.js" 5 | comment = "license is not reuse readable." 6 | precedence = "closest" 7 | SPDX-FileCopyrightText = "Copyright (c) 2009 John Resig" 8 | SPDX-License-Identifier = "MIT" 9 | -------------------------------------------------------------------------------- /src/pdf/doc/about_credits_entry.tmpl: -------------------------------------------------------------------------------- 1 | /*! 2 | \page qtpdf-3rdparty-{{name-sanitized}}.html 3 | \attribution 4 | \ingroup qtpdf-licensing 5 | \brief {{license-type}} 6 | \title {{name}} 7 | 8 | \l{{{url}}}{Project Homepage} 9 | 10 | \badcode 11 | {{license}} 12 | \endcode 13 | */ 14 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon-unavailable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 |

Favicon Test

8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/AlertDialog.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | // Both dialogs are basically expected to behave in the same way from an API point of view 5 | ConfirmDialog { } 6 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/MenuParams.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | pragma Singleton 5 | import QtQml 6 | 7 | QtObject { 8 | property bool isMenuOpened: false; 9 | } 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/fullscreen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is test content 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/webenginewidgets/notifications/notifications.pro: -------------------------------------------------------------------------------- 1 | QT += webenginewidgets 2 | 3 | HEADERS = notificationpopup.h 4 | 5 | SOURCES = main.cpp 6 | 7 | RESOURCES = data/data.qrc 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/notifications 10 | INSTALLS += target 11 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/localStorage.html: -------------------------------------------------------------------------------- 1 | 2 | Original Title 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/favicon-unavailable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 |

Favicon Test

8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/singlepage.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += qml quick pdf svg 4 | 5 | SOURCES += main.cpp 6 | 7 | RESOURCES += \ 8 | viewer.qrc 9 | EXAMPLE_FILES = \ 10 | Viewer.qml 11 | 12 | target.path = $$[QT_INSTALL_EXAMPLES]/pdf/singlepage 13 | INSTALLS += target 14 | 15 | -------------------------------------------------------------------------------- /examples/webenginequick/lifecycle/lifecycle.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += quickcontrols2 webenginequick 4 | 5 | HEADERS += utils.h 6 | SOURCES += main.cpp 7 | 8 | RESOURCES += resources.qrc 9 | 10 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginequick/lifecycle 11 | INSTALLS += target 12 | -------------------------------------------------------------------------------- /examples/webenginewidgets/clientcertificate/server.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += core network 4 | CONFIG += console 5 | 6 | SOURCES += server.cpp 7 | 8 | RESOURCES += resources/server.qrc 9 | 10 | target.path = $$[QT_INSTALL_EXAMPLES]/clientcertificate/server 11 | INSTALLS += target 12 | -------------------------------------------------------------------------------- /src/core/doc/about_credits_entry.tmpl: -------------------------------------------------------------------------------- 1 | /*! 2 | \page qtwebengine-3rdparty-{{name-sanitized}}.html 3 | \attribution 4 | \ingroup qtwebengine-licensing 5 | \brief {{license-type}} 6 | \title {{name}} 7 | 8 | \l{{{url}}}{Project Homepage} 9 | 10 | \badcode 11 | {{license}} 12 | \endcode 13 | */ 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepermission/resources/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineprofile/resources/hedgehog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | BREAKING NEWS: 15 Hedgehogs With Things That Look Like Hedgehogs 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/test-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | Test page with huge link area and iframe 3 | 4 | 5 |
6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/webenginewidgets/printme/printme.pro: -------------------------------------------------------------------------------- 1 | QT += webenginewidgets printsupport 2 | 3 | HEADERS = printhandler.h 4 | SOURCES = main.cpp \ 5 | printhandler.cpp 6 | RESOURCES = data/data.qrc 7 | 8 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/printme 9 | INSTALLS += target 10 | -------------------------------------------------------------------------------- /examples/webenginewidgets/push-notifications/push-notifications.pro: -------------------------------------------------------------------------------- 1 | QT += webenginewidgets 2 | 3 | HEADERS = notificationpopup.h 4 | 5 | SOURCES = main.cpp 6 | 7 | RESOURCES = data/data.qrc 8 | 9 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/push-notifications 10 | INSTALLS += target 11 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineframe/resources/printing-outer-document.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Printing Outer Document 4 | 5 |

Outer Header

6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/spellchecking/dict/en-US.dic: -------------------------------------------------------------------------------- 1 | 10 2 | he/Q 3 | I/Q 4 | it/Q 5 | love/Q 6 | loves/Q 7 | low/Q 8 | qt/Q 9 | she/Q 10 | they/Q 11 | we/Q 12 | you/Q 13 | very-long-word-to-test-old-fixed-size-buffer-limit-QTBUG-132564-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Q 14 | -------------------------------------------------------------------------------- /tests/auto/quick/publicapi/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_publicapi 5 | SOURCES 6 | tst_publicapi.cpp 7 | LIBRARIES 8 | Qt::CorePrivate 9 | Qt::WebEngineQuickPrivate 10 | ) 11 | -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/dict/en/README.txt: -------------------------------------------------------------------------------- 1 | This is dummy english dictionary which knows only following words: 2 | 3 | * I 4 | * you 5 | * he 6 | * she 7 | * it 8 | * we 9 | * they 10 | * love 11 | * loves 12 | * qt 13 | 14 | Also each of words above can start with 'q' for example: 15 | 16 | * qI 17 | -------------------------------------------------------------------------------- /src/pdf/doc/snippets/multipageview.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | //! [0] 5 | import QtQuick 6 | import QtQuick.Pdf 7 | 8 | PdfMultiPageView { 9 | document: PdfDocument { source: "my.pdf" } 10 | } 11 | //! [0] 12 | -------------------------------------------------------------------------------- /src/pdf/doc/snippets/pdfpageview.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2024 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | //! [0] 5 | import QtQuick 6 | import QtQuick.Pdf 7 | 8 | PdfPageView { 9 | document: PdfDocument { source: "my.pdf" } 10 | } 11 | //! [0] 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/util/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | cmake_minimum_required(VERSION 3.18) 5 | project(minimal LANGUAGES CXX) 6 | 7 | find_package(Qt6 COMPONENTS Core) 8 | find_package(Qt6 COMPONENTS Network) 9 | 10 | include(util.cmake) 11 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/service_worker_ext/content_script.js: -------------------------------------------------------------------------------- 1 | chrome.runtime.sendMessage("ping", (response) => { 2 | if (response === "pong") { 3 | let testNode = document.createElement("div") 4 | testNode.id = "testNode" 5 | document.body.appendChild(testNode) 6 | } 7 | }) 8 | -------------------------------------------------------------------------------- /src/webenginequick/ui/ToolTip.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick.Controls as C 5 | 6 | C.ToolTip { 7 | delay: 1000 8 | timeout: 1500 9 | objectName: "toolTip" 10 | } 11 | -------------------------------------------------------------------------------- /tests/auto/util/util.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | if (NOT TARGET Test::Util) 5 | add_library(qtestutil INTERFACE) 6 | target_include_directories(qtestutil INTERFACE ${CMAKE_CURRENT_LIST_DIR}) 7 | add_library(Test::Util ALIAS qtestutil) 8 | endif() 9 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineview/BLACKLIST: -------------------------------------------------------------------------------- 1 | [mixLangLocale:eu_ES] 2 | * 3 | 4 | [navigateOnDrop:file] 5 | windows 6 | 7 | [navigateOnDrop:file_no_navigate] 8 | windows 9 | 10 | [horizontalScrollbarTest] 11 | macos 12 | rhel # flaky 13 | 14 | [setCursorOnEmbeddedView] 15 | macos # QTest::mousemove is not reliable 16 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon-multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Multi-sized Favicon Test 4 | 5 | 6 | 7 |

Multi-sized Favicon Test

8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/BLACKLIST: -------------------------------------------------------------------------------- 1 | [macCopyUnicodeToClipboard] 2 | osx 3 | 4 | [mouseMovementProperties] 5 | windows 6 | macos # Can't move cursor (QTBUG-76312) 7 | 8 | [comboBoxPopupPositionAfterMove] 9 | macos 10 | 11 | [comboBoxPopupPositionAfterChildMove] 12 | macos 13 | 14 | [backgroundColor] 15 | macos 16 | -------------------------------------------------------------------------------- /tests/auto/httpserver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | cmake_minimum_required(VERSION 3.18) 5 | project(httpserver LANGUAGES CXX) 6 | 7 | find_package(Qt6 COMPONENTS Core) 8 | find_package(Qt6 COMPONENTS Network) 9 | 10 | include(httpserver.cmake) 11 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/favicon-multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Multi-sized Favicon Test 4 | 5 | 6 | 7 |

Multi-sized Favicon Test

8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginescript/resources/test_window_open.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | window.open 5 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/createObjectURL.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | createObjectURL 5 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/html/inputmethod.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Page For Input Method Testing 4 | 5 | 6 |

Basic page

7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/quick/qtbug-70248/test.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Window 3 | import QtWebEngine 4 | 5 | Window { 6 | visible: true 7 | width: 640 8 | height: 480 9 | 10 | property var url: view && view.url 11 | 12 | WebEngineView { 13 | id: view 14 | anchors.fill: parent 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/pdf/qtpdfglobal.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2020 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | #ifndef QTPDFGLOBAL_H 5 | #define QTPDFGLOBAL_H 6 | 7 | #include 8 | #include 9 | 10 | #endif // QTPDFGLOBAL_H 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineloadinginfo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2023 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qwebengineloadinginfo 5 | SOURCES 6 | tst_qwebengineloadinginfo.cpp 7 | LIBRARIES 8 | Qt::WebEngineCore 9 | Test::HttpServer 10 | ) 11 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/pdfpageimage/data/pdfPageImage.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Pdf 3 | 4 | Item { 5 | width: 320 6 | height: 320 7 | 8 | PdfDocument { 9 | id: doc 10 | source: "bookmarksAndLinks.pdf" 11 | } 12 | 13 | PdfPageImage { 14 | anchors.centerIn: parent 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/auto/quick/inspectorserver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_inspectorserver 5 | SOURCES 6 | tst_inspectorserver.cpp 7 | LIBRARIES 8 | Qt::CorePrivate 9 | Qt::WebEngineQuickPrivate 10 | ) 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon-shortcut.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 | 8 |

Favicon Test

9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon-touch.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 | 8 |

Favicon Test

9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/webenginewidgets/push-notifications/content/worker.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | self.addEventListener('push', event => { 5 | const data = event.data.json(); 6 | self.registration.showNotification(data.title, { body : data.text }); 7 | }); 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/favicon-shortcut.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 | 8 |

Favicon Test

9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/favicon-touch.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 | 8 |

Favicon Test

9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/widgets/schemes/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_schemes 7 | SOURCES 8 | tst_schemes.cpp 9 | LIBRARIES 10 | Qt::WebEngineWidgets 11 | Test::Util 12 | ) 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepermission/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/core/extensions/api/display_info_provider_qt.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #include "display_info_provider_qt.h" 6 | 7 | DisplayInfoProviderQt::DisplayInfoProviderQt() = default; 8 | -------------------------------------------------------------------------------- /tests/auto/widgets/proxy/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../httpserver/httpserver.cmake) 5 | 6 | qt_internal_add_test(tst_webengine_proxy 7 | SOURCES 8 | tst_proxy.cpp 9 | LIBRARIES 10 | Qt::WebEngineWidgets 11 | Test::HttpServer 12 | ) 13 | -------------------------------------------------------------------------------- /.cmake.conf: -------------------------------------------------------------------------------- 1 | set(QT_REPO_MODULE_VERSION "6.12.0") 2 | set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") 3 | set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_WEBENGINE "3.19") 4 | set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_QASCONST=1") 5 | list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1") 6 | list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_QSNPRINTF=1") 7 | -------------------------------------------------------------------------------- /tests/auto/core/getdomainandregistry/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_getdomainandregistry 7 | SOURCES 8 | tst_getdomainandregistry.cpp 9 | LIBRARIES 10 | Qt::WebEngineCore 11 | Test::Util 12 | ) 13 | -------------------------------------------------------------------------------- /examples/webenginewidgets/permissionbrowser/permissionbrowser.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | resources/3rdparty/view-refresh.png 4 | resources/3rdparty/go-next.png 5 | resources/3rdparty/go-previous.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/dict/de/README.txt: -------------------------------------------------------------------------------- 1 | This is dummy german dictionary which knows only following words: 2 | 3 | * ich 4 | * du 5 | * er 6 | * sie 7 | * es 8 | * wir 9 | * ihr 10 | * sie 11 | * Sie 12 | * liebe 13 | * liebst 14 | * liebt 15 | * lieben 16 | * liebt 17 | * qt 18 | 19 | Also each of words above can start with 'q' for example 20 | * qich 21 | -------------------------------------------------------------------------------- /tests/auto/widgets/touchinput/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_touchinput 7 | SOURCES 8 | tst_touchinput.cpp 9 | LIBRARIES 10 | Qt::WebEngineWidgets 11 | Qt::GuiPrivate 12 | Test::Util 13 | ) 14 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/go-up-search.svg: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/go-up-search.svg: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/pdf/plugins/imageformats/pdf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_plugin(QPdfPlugin 5 | OUTPUT_NAME qpdf 6 | PLUGIN_TYPE imageformats 7 | SOURCES 8 | main.cpp 9 | qpdfiohandler.cpp qpdfiohandler_p.h 10 | LIBRARIES 11 | Qt::PdfPrivate 12 | ) 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page2 4 | 5 | 11 | 12 | 13 |
page2 anchor
14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page6 4 | 5 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/qtbug_110287/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qtbug_110287 5 | SOURCES 6 | tst_qtbug_110287.cpp 7 | LIBRARIES 8 | Qt::Network 9 | Qt::WebEngineWidgets 10 | ) 11 | target_link_options(tst_qtbug_110287 PRIVATE "-Wl,--as-needed") 12 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

It's expected that you see a favicon displayed for this page when you open it as a local file.

7 |

The favicon looks like this:

8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

It's expected that you see a favicon displayed for this page when you open it as a local file.

7 |

The favicon looks like this:

8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/testiframe2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16 | 17 | 18 |
19 | 20 | -------------------------------------------------------------------------------- /src/core/doc/snippets/qtwebenginecore_build_snippet.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | //! [0] 5 | QT += webenginecore 6 | //! [0] 7 | 8 | //! [2] 9 | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) 10 | target_link_libraries(target PRIVATE Qt6::WebEngineCore) 11 | //! [2] 12 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/mixedSchemes_frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Mixed - Frame 5 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/fontaccess.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is test content 4 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/core/webenginedriver/browser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2023 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_executable(testbrowser 5 | SOURCES 6 | main.cpp 7 | LIBRARIES 8 | Qt::Core 9 | Qt::Gui 10 | Qt::WebEngineWidgets 11 | OUTPUT_DIRECTORY 12 | ${CMAKE_CURRENT_BINARY_DIR}/.. 13 | ) 14 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfpagerenderer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qpdfpagerenderer 5 | SOURCES 6 | tst_qpdfpagerenderer.cpp 7 | LIBRARIES 8 | Qt::Gui 9 | Qt::Network 10 | Qt::Pdf 11 | TESTDATA 12 | pdf-sample.pagerenderer.pdf 13 | ) 14 | 15 | -------------------------------------------------------------------------------- /src/webenginequick/doc/snippets/qtwebengine_build_snippet.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | //! [0] 5 | QT += webenginequick 6 | //! [0] 7 | 8 | //! [2] 9 | find_package(Qt6 REQUIRED COMPONENTS WebEngineQuick) 10 | target_link_libraries(target PRIVATE Qt6::WebEngineQuick) 11 | //! [2] 12 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/content_script_ext/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "content script", 3 | "version": "1.0", 4 | "manifest_version": 3, 5 | "content_scripts": [ 6 | { 7 | "js": [ 8 | "script.js" 9 | ], 10 | "matches": [ 11 | "" 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page6 4 | 5 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/script-with-bad-match-metadata.js: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @name Test bad match script 3 | // @homepageURL http://www.qt.io/ 4 | // @description Test script with metadata block with an invalid match directive 5 | // @match some:junk 6 | // @run-at document-end 7 | // ==/UserScript== 8 | 9 | document.title = "New title for some:junk"; 10 | -------------------------------------------------------------------------------- /examples/webenginequick/lifecycle/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | WebBrowser.qml 4 | WebTab.qml 5 | WebTabBar.qml 6 | WebTabButton.qml 7 | WebTabStack.qml 8 | WebToolButton.qml 9 | qtquickcontrols2.conf 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/webenginequick/ui/ColorDialog.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick.Dialogs 5 | 6 | ColorDialog { 7 | id: colorDialog 8 | objectName: "colorDialog" 9 | 10 | signal selectedColor(var color) 11 | 12 | onAccepted : selectedColor(selectedColor) 13 | } 14 | -------------------------------------------------------------------------------- /tests/auto/pdf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | add_subdirectory(qpdfbookmarkmodel) 5 | if (TARGET Qt::PdfWidgets) 6 | add_subdirectory(qpdfpagenavigator) 7 | endif() 8 | add_subdirectory(qpdfpagerenderer) 9 | add_subdirectory(qpdfsearchmodel) 10 | if(TARGET Qt::PrintSupport) 11 | add_subdirectory(qpdfdocument) 12 | endif() 13 | -------------------------------------------------------------------------------- /tests/manual/widgets/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(inputmethods) 2 | add_subdirectory(geolocation) 3 | add_subdirectory(printing) 4 | add_subdirectory(touchbrowser) 5 | if(QT_FEATURE_opengl) 6 | add_subdirectory(webgl) 7 | endif() 8 | if(TARGET Qt6::HttpServer) 9 | add_subdirectory(webrtc) 10 | endif() 11 | if(QT_FEATURE_webengine_extensions) 12 | add_subdirectory(extensions) 13 | endif() 14 | -------------------------------------------------------------------------------- /tests/manual/widgets/inputmethods/webview.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | #ifndef WEBVIEW_H 4 | #define WEBVIEW_H 5 | 6 | #include 7 | 8 | class WebView : public QWebEngineView 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit WebView(QWidget *parent = 0); 13 | }; 14 | 15 | #endif // WEBVIEW_H 16 | -------------------------------------------------------------------------------- /examples/pdf/multipage/multipage.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += qml quick pdf svg 4 | 5 | SOURCES += main.cpp pdfapplication.cpp 6 | 7 | RESOURCES += \ 8 | viewer.qrc 9 | EXAMPLE_FILES = \ 10 | Viewer.qml 11 | 12 | target.path = $$[QT_INSTALL_EXAMPLES]/pdf/multipage 13 | INSTALLS += target 14 | 15 | macos:QMAKE_INFO_PLIST = resources/macos/Info.plist 16 | macos:ICON = resources/multipage.icns 17 | -------------------------------------------------------------------------------- /src/webenginequick/configure.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_feature("webenginequick-ui-delegates" PRIVATE 5 | SECTION "WebEngine" 6 | LABEL "UI Delegates" 7 | ) 8 | qt_configure_add_summary_section(NAME "Qt WebEngineQuick") 9 | qt_configure_add_summary_entry(ARGS "webenginequick-ui-delegates") 10 | qt_configure_end_summary_section() 11 | -------------------------------------------------------------------------------- /src/webenginewidgets/doc/snippets/qtwebenginewidgets_build_snippet.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | //! [0] 5 | QT += webenginewidgets 6 | //! [0] 7 | 8 | //! [2] 9 | find_package(Qt6 REQUIRED COMPONENTS WebEngineWidgets) 10 | target_link_libraries(target PRIVATE Qt6::WebEngineWidgets) 11 | //! [2] 12 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/test3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test page 3 4 | 5 | 15 | 16 | Hello. 17 | 18 | 19 | -------------------------------------------------------------------------------- /examples/webenginequick/quicknanobrowser/qmldir: -------------------------------------------------------------------------------- 1 | module BrowserUtils 2 | prefer :/qt/qml/BrowserUtils/ 3 | ApplicationRoot 254.0 ApplicationRoot.qml 4 | BrowserDialog 254.0 BrowserDialog.qml 5 | BrowserWindow 254.0 BrowserWindow.qml 6 | DownloadView 254.0 DownloadView.qml 7 | FindBar 254.0 FindBar.qml 8 | FullScreenNotification 254.0 FullScreenNotification.qml 9 | WebAuthDialog 254.0 WebAuthDialog.qml 10 | depends QtQuick 11 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfpagenavigator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2023 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qpdfpagenavigator.cpp 5 | SOURCES 6 | tst_qpdfpagenavigator.cpp 7 | LIBRARIES 8 | Qt::Gui 9 | Qt::Network 10 | Qt::Pdf 11 | Qt::PdfWidgets 12 | TESTDATA 13 | pdf-sample.bookmarks_pages.pdf 14 | ) 15 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/minimal/main.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | import QtQuick 5 | import QtQuick.Window 6 | import QtWebEngine 7 | 8 | Window { 9 | width: 1024 10 | height: 750 11 | visible: true 12 | WebEngineView { 13 | anchors.fill: parent 14 | url: "chrome://qt" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/assets/custom.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2023 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | marked.setOptions({ 5 | renderer : new marked.Renderer(), 6 | gfm : true, 7 | tables : true, 8 | breaks : false, 9 | pedantic : false, 10 | sanitize : false, 11 | smartLists : true, 12 | smartypants : false 13 | }); 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/accessibility/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_webengine_accessibility 7 | SOURCES 8 | tst_accessibility.cpp 9 | LIBRARIES 10 | Qt::WebEngineWidgets 11 | Qt::WebEngineCorePrivate 12 | Qt::GuiPrivate 13 | Test::Util 14 | ) 15 | -------------------------------------------------------------------------------- /tests/manual/widgets/touchbrowser/touchbrowser.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | DEFINES += WIDGET_TOUCHBROWSER 4 | QT += core gui webenginewidgets 5 | 6 | INCLUDEPATH += ../../touchmocking 7 | 8 | SOURCES += \ 9 | main.cpp \ 10 | ../../touchmocking/touchmockingapplication.cpp 11 | HEADERS += \ 12 | ../../touchmocking/touchmockingapplication.h \ 13 | ../../touchmocking/utils.h 14 | 15 | RESOURCES += resources.qrc 16 | -------------------------------------------------------------------------------- /examples/webenginewidgets/maps/maps.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginewidgets 4 | 5 | HEADERS += \ 6 | mainwindow.h 7 | 8 | SOURCES += main.cpp \ 9 | mainwindow.cpp 10 | 11 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/maps 12 | INSTALLS += target 13 | 14 | !qtConfig(webengine-geolocation) { 15 | error('Qt WebEngine compiled without geolocation support, this example will not work.') 16 | } 17 | 18 | -------------------------------------------------------------------------------- /src/webenginequick/ui/FilePicker.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick.Dialogs 5 | 6 | FileDialog { 7 | id: fileDialog 8 | objectName: "fileDialog" 9 | 10 | signal filesSelected(var fileList) 11 | 12 | onAccepted: { 13 | filesSelected(selectedFiles) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/link.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Link 5 | 6 | 7 | Link 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/core/qwebenginesettings/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_qwebenginesettings 7 | SOURCES 8 | tst_qwebenginesettings.cpp 9 | LIBRARIES 10 | Qt::WebEngineCore 11 | Qt::WebEngineWidgets 12 | Qt::WebEngineCorePrivate 13 | Test::Util 14 | ) 15 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfbookmarkmodel/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qpdfbookmarkmodel 5 | SOURCES 6 | tst_qpdfbookmarkmodel.cpp 7 | LIBRARIES 8 | Qt::Gui 9 | Qt::Network 10 | Qt::Pdf 11 | TESTDATA 12 | pdf-sample.bookmarks.pdf 13 | pdf-sample.bookmarks_pages.pdf 14 | ) 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/favicon-misc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 | 8 | 9 |

Favicon Test

10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/manual/quick/touchbrowser/touchbrowser.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | DEFINES += QUICK_TOUCHBROWSER 4 | QT += core gui quick webenginequick 5 | 6 | INCLUDEPATH += ../../touchmocking 7 | 8 | SOURCES += \ 9 | main.cpp \ 10 | ../../touchmocking/touchmockingapplication.cpp 11 | HEADERS += \ 12 | ../../touchmocking/touchmockingapplication.h \ 13 | ../../touchmocking/utils.h 14 | 15 | RESOURCES += resources.qrc 16 | -------------------------------------------------------------------------------- /dependencies.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | ../qtdeclarative: 3 | ref: 7ef1d06ce70fa360613dca0b5ff03365ebbc9883 4 | required: true 5 | ../qtpositioning: 6 | ref: 38ec422e83c46ae6658c01a07d7b8dd7d2794e8b 7 | required: false 8 | ../qttools: 9 | ref: 121c55cf4a820e8e656351f4dad24dac73d0c6ab 10 | required: false 11 | ../qtwebchannel: 12 | ref: c09bd1e4dca37d58a34dc9d221ad8fc2435a047d 13 | required: false 14 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/rotate-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/rotate-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 |

Test page

15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfsearchmodel/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qpdfsearchmodel 5 | SOURCES 6 | tst_qpdfsearchmodel.cpp 7 | LIBRARIES 8 | Qt::Gui 9 | Qt::Network 10 | Qt::PdfPrivate 11 | TESTDATA 12 | rotated_text.pdf 13 | tagged_mcr_multipage.pdf 14 | test.pdf 15 | ) 16 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineviewgraphics/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | qt_internal_add_test(tst_qquickwebengineviewgraphics 6 | SOURCES 7 | tst_qquickwebengineviewgraphics.cpp 8 | LIBRARIES 9 | Qt::CorePrivate 10 | Qt::WebEngineQuickPrivate 11 | Qt::Test 12 | Test::Util 13 | ) 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/favicon/resources/favicon-misc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Favicon Test 4 | 5 | 6 | 7 | 8 | 9 |

Favicon Test

10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebengineprofile/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../httpserver/httpserver.cmake) 5 | include(../../util/util.cmake) 6 | 7 | qt_internal_add_test(tst_qwebengineprofile 8 | SOURCES 9 | tst_qwebengineprofile.cpp 10 | LIBRARIES 11 | Qt::WebEngineWidgets 12 | Test::HttpServer 13 | Test::Util 14 | ) 15 | -------------------------------------------------------------------------------- /src/webenginequick/ui/DirectoryPicker.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | import QtQuick.Dialogs 5 | 6 | FolderDialog { 7 | id: folderDialog 8 | objectName: "folderDialog" 9 | 10 | signal folderSelected(var folder) 11 | 12 | onAccepted: { 13 | folderSelected([selectedFolder]) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/webenginewidgets/doc/snippets/push-notifications/commands: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | //! [0] 5 | npm init -y 6 | npm install web-push express 7 | //! [0] 8 | 9 | //! [1] 10 | "start": "node server.js" 11 | //! [1] 12 | 13 | //! [2] 14 | ./node_modules/.bin/web-push generate-vapid-keys 15 | //! [2] 16 | 17 | //! [3] 18 | npm start 19 | //! [3] 20 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/JSDialogParams.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | pragma Singleton 4 | import QtQml 5 | 6 | QtObject { 7 | property string dialogMessage: ""; 8 | property string dialogTitle: ""; 9 | property bool shouldAcceptDialog: true; 10 | property string inputForPrompt; 11 | property int dialogCount: 0 12 | } 13 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/rotate-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/rotate-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebenginedefaultsurfaceformat/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_qquickwebenginedefaultsurfaceformat 7 | SOURCES 8 | tst_qquickwebenginedefaultsurfaceformat.cpp 9 | LIBRARIES 10 | Qt::CorePrivate 11 | Qt::WebEngineQuickPrivate 12 | Test::Util 13 | ) 14 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/customdialogs/forms/ColorCell.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | import QtQuick 5 | 6 | Rectangle { 7 | id: rectangle 8 | width: 50 9 | height: 50 10 | signal clicked() 11 | MouseArea { 12 | id: mouseArea 13 | anchors.fill: parent 14 | onClicked: rectangle.clicked() 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/script-with-metadata.js: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @name Test script 3 | // @homepageURL http://www.qt.io/ 4 | // @description Test script with metadata block 5 | // @include *data/test*.html 6 | // @include /favicon.html?$/ 7 | // @exclude *test2.html 8 | // @exclude /test[-]iframe/ 9 | // @run-at document-end 10 | // ==/UserScript== 11 | 12 | document.title = "New title"; 13 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/media.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Media 5 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/Menu.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | import QtQml 5 | 6 | QtObject { 7 | id: menu 8 | property string linkText: "" 9 | property var mediaType: null 10 | property string selectedText: "" 11 | 12 | signal done() 13 | 14 | function open() { 15 | MenuParams.isMenuOpened = true; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/pdf/doc/src/qtpdf-examples.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2020 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | /*! 5 | \group qtpdf-examples 6 | 7 | \title Qt PDF Examples 8 | \brief Using the classes and types in the Qt PDF module. 9 | 10 | The following examples illustrate how to use the C++ classes and QML types 11 | in the \l{Qt PDF} module to render PDF documents. 12 | */ 13 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/customdialogs/customdialogs.pro: -------------------------------------------------------------------------------- 1 | QT += webenginequick 2 | 3 | HEADERS += \ 4 | server.h 5 | 6 | SOURCES += \ 7 | main.cpp \ 8 | server.cpp 9 | 10 | RESOURCES += \ 11 | customdialogs.qrc 12 | 13 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginequick/customdialogs 14 | INSTALLS += target 15 | 16 | qtHaveModule(widgets) { 17 | QT += widgets # QApplication is required to get native styling with QtQuickControls 18 | } 19 | -------------------------------------------------------------------------------- /examples/webenginequick/lifecycle/WebToolButton.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | import QtQuick 5 | import QtQuick.Controls 6 | import QtQuick.Controls.Material 7 | 8 | ToolButton { 9 | id: root 10 | font.bold: true 11 | font.pointSize: 12 12 | ToolTip.delay: 1000 13 | ToolTip.visible: hovered 14 | implicitWidth: 32 15 | implicitHeight: 32 16 | } 17 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/assets/3rdparty/REUSE.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[annotations]] 4 | path = "marked.js" 5 | precedence = "closest" 6 | SPDX-FileCopyrightText = "Copyright (c) 2011-2018, Christopher Jeffrey" 7 | SPDX-License-Identifier = "MIT" 8 | 9 | [[annotations]] 10 | path = "markdown.css" 11 | precedence = "closest" 12 | SPDX-FileCopyrightText = "Copyright 2011 Kevin Burke Copyright Twitter Inc." 13 | SPDX-License-Identifier = "Apache-2.0" 14 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/FilePickerParams.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | pragma Singleton 5 | import QtQuick 6 | 7 | QtObject { 8 | property var selectedFilesUrl: []; 9 | property bool selectFiles: false; 10 | property bool filePickerOpened: false; 11 | property bool directoryPickerOpened: false; 12 | property var nameFilters: []; 13 | } 14 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/customdialogs/forms/TouchSelectionMenu.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | import QtQuick 5 | 6 | TouchSelectionMenuForm { 7 | property QtObject request 8 | signal closeForm() 9 | 10 | cut.onClicked: closeForm() 11 | copy.onClicked: closeForm() 12 | paste.onClicked: closeForm() 13 | contextMenu.onClicked: closeForm() 14 | } 15 | -------------------------------------------------------------------------------- /src/core/api/qwebengineurlrequestinterceptor.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #include "qwebengineurlrequestinterceptor.h" 6 | 7 | QT_BEGIN_NAMESPACE 8 | 9 | // Has to stay empty till Qt7 10 | QWebEngineUrlRequestInterceptor::~QWebEngineUrlRequestInterceptor() = default; 11 | 12 | QT_END_NAMESPACE 13 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/data/jumpOnDocumentReady.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Pdf 3 | 4 | PdfMultiPageView { 5 | id: view 6 | width: 480 7 | height: 480 8 | 9 | document: PdfDocument { 10 | id: document 11 | onStatusChanged: { 12 | if(status === PdfDocument.Ready) 13 | view.goToPage(2) 14 | } 15 | } 16 | 17 | Component.onCompleted: document.source = "bookmarksAndLinks.pdf" 18 | } 19 | -------------------------------------------------------------------------------- /src/webenginequick/doc/snippets/minimal/main.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | //! [Minimal Example] 5 | import QtQuick 6 | import QtQuick.Window 7 | import QtWebEngine 8 | 9 | Window { 10 | width: 1024 11 | height: 750 12 | visible: true 13 | WebEngineView { 14 | anchors.fill: parent 15 | url: "https://www.qt.io" 16 | } 17 | } 18 | //! [Minimal Example] 19 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestjob/requestBodyScript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/singlefileupload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Failed to Upload 5 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/document-open.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/document-open.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/webenginewidgets/videoplayer/videoplayer.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | QT += webenginewidgets 4 | 5 | HEADERS += \ 6 | mainwindow.h \ 7 | fullscreenwindow.h \ 8 | fullscreennotification.h 9 | 10 | SOURCES += main.cpp \ 11 | mainwindow.cpp \ 12 | fullscreenwindow.cpp \ 13 | fullscreennotification.cpp 14 | 15 | RESOURCES += \ 16 | data/videoplayer.qrc 17 | 18 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/videoplayer 19 | INSTALLS += target 20 | -------------------------------------------------------------------------------- /examples/webenginewidgets/cookiebrowser/cookiebrowser.pro: -------------------------------------------------------------------------------- 1 | QT += core gui webenginewidgets 2 | TARGET = cookiebrowser 3 | TEMPLATE = app 4 | 5 | SOURCES += \ 6 | main.cpp\ 7 | mainwindow.cpp 8 | 9 | HEADERS += \ 10 | mainwindow.h 11 | 12 | FORMS += \ 13 | mainwindow.ui \ 14 | cookiedialog.ui \ 15 | cookiewidget.ui 16 | 17 | RESOURCES += \ 18 | cookiebrowser.qrc 19 | 20 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/cookiebrowser 21 | INSTALLS += target 22 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestjob/additionalResponseHeadersScript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/directoryupload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Directory Upload 5 | 7 | 8 | 9 | 10 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/multifileupload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Failed to Upload 5 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/auto/quick/qtbug-70248/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qtbug-70248 5 | SOURCES 6 | tst_qtbug-70248.cpp 7 | LIBRARIES 8 | Qt::WebEngineQuickPrivate 9 | ) 10 | 11 | set(test_resource_files 12 | "test.qml" 13 | ) 14 | 15 | qt_internal_add_resource(tst_qtbug-70248 "test" 16 | PREFIX 17 | "/" 18 | FILES 19 | ${test_resource_files} 20 | ) 21 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/resources/service_worker_ext/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "service worker", 3 | "version": "1.0", 4 | "manifest_version": 3, 5 | "background": { 6 | "service_worker": "service_worker.js" 7 | }, 8 | "content_scripts": [ 9 | { 10 | "matches": [ 11 | "" 12 | ], 13 | "js": [ 14 | "content_script.js" 15 | ] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginedownloadrequest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../httpserver/httpserver.cmake) 5 | include(../../util/util.cmake) 6 | 7 | qt_internal_add_test(tst_qwebenginedownloadrequest 8 | SOURCES 9 | tst_qwebenginedownloadrequest.cpp 10 | LIBRARIES 11 | Qt::WebEngineWidgets 12 | Qt::GuiPrivate 13 | Test::HttpServer 14 | Test::Util 15 | ) 16 | -------------------------------------------------------------------------------- /src/core/global_descriptors_qt.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #ifndef GLOBAL_DESCRIPTORS_QT_H 6 | #define GLOBAL_DESCRIPTORS_QT_H 7 | 8 | #include "content/public/common/content_descriptors.h" 9 | 10 | enum { 11 | kWebEngineLocale = kContentIPCDescriptorMax + 1, 12 | }; 13 | 14 | #endif // GLOBAL_DESCRIPTORS_QT_H 15 | -------------------------------------------------------------------------------- /src/host/config.tests/hostcompiler/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2023 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | cmake_minimum_required(VERSION 3.16) 5 | project(arch LANGUAGES CXX) 6 | 7 | add_executable(host_compiler_test) 8 | set_property(TARGET host_compiler_test PROPERTY MACOSX_BUNDLE FALSE) 9 | target_sources(host_compiler_test PRIVATE main.cpp) 10 | target_compile_options(host_compiler_test PRIVATE -m32) 11 | target_link_options(host_compiler_test PRIVATE -m32) 12 | -------------------------------------------------------------------------------- /src/pdf/doc/src/qtpdf-platformnotes.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2023 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | /*! 5 | \page qtpdf-platformnotes.html 6 | \title Qt PDF Platform Notes 7 | 8 | Building Qt PDF for Android is currently 9 | \l{https://bugreports.qt.io/browse/QTBUG-83459} {not supported} on Windows host platforms. 10 | 11 | Currently, it is not possible to build Qt PDF using MinGW. 12 | */ 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/quick/qquickwebengineview/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_qquickwebengineview 7 | SOURCES 8 | tst_qquickwebengineview.cpp 9 | LIBRARIES 10 | Qt::WebEngineCorePrivate 11 | Qt::WebEngineQuick 12 | Qt::GuiPrivate 13 | Qt::WebEngineQuickPrivate 14 | Qt::TestPrivate 15 | Test::Util 16 | ) 17 | -------------------------------------------------------------------------------- /examples/webenginewidgets/maps/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #include "mainwindow.h" 5 | #include 6 | 7 | int main(int argc, char *argv[]) 8 | { 9 | QCoreApplication::setOrganizationName("QtExamples"); 10 | QApplication app(argc, argv); 11 | 12 | MainWindow mainWindow; 13 | mainWindow.resize(1024, 768); 14 | mainWindow.show(); 15 | 16 | return app.exec(); 17 | } 18 | -------------------------------------------------------------------------------- /src/pdf/doc/src/qtpdf-toc.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2024 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | /*! 5 | \page qtpdf-toc.html 6 | \title Qt PDF module topics 7 | 8 | The following list has links to all the individual topics (HTML files) 9 | in the Qt PDF module. 10 | 11 | \list 12 | \li \l {Qt PDF Platform Notes}{Platform Notes} 13 | \li \l {Qt PDF Licensing}{Licensing} 14 | \endlist 15 | 16 | */ 17 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/lifecycle.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Lifecycle 5 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/webenginewidgets/maps/mainwindow.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #ifndef MAINWINDOW_H 5 | #define MAINWINDOW_H 6 | 7 | #include 8 | #include 9 | 10 | class MainWindow : public QMainWindow 11 | { 12 | Q_OBJECT 13 | public: 14 | explicit MainWindow(QWidget *parent = nullptr); 15 | 16 | private: 17 | QWebEngineView *m_view; 18 | }; 19 | 20 | #endif // MAINWINDOW_H 21 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/assets/custom.css: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2023 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | body { 5 | padding-top: 0; 6 | margin-top: 0; 7 | } 8 | 9 | #content { 10 | display: none; 11 | } 12 | 13 | img { 14 | width: 100%; 15 | height: 100%; 16 | } 17 | 18 | li { 19 | margin-left: 25px; 20 | } 21 | 22 | ol li { 23 | margin-bottom: 10px; 24 | } 25 | 26 | * { 27 | max-width: 960px !important; 28 | } 29 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/fetchApi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /LICENSES/LicenseRef-Qt-Commercial.txt: -------------------------------------------------------------------------------- 1 | Licensees holding valid commercial Qt licenses may use this software in 2 | accordance with the the terms contained in a written agreement between 3 | you and The Qt Company. Alternatively, the terms and conditions that were 4 | accepted by the licensee when buying and/or downloading the 5 | software do apply. 6 | 7 | For the latest licensing terms and conditions, see https://www.qt.io/terms-conditions. 8 | For further information use the contact form at https://www.qt.io/contact-us. 9 | -------------------------------------------------------------------------------- /examples/webenginewidgets/videoplayer/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #include "mainwindow.h" 5 | #include 6 | 7 | int main(int argc, char *argv[]) 8 | { 9 | QCoreApplication::setOrganizationName("QtExamples"); 10 | QApplication app(argc, argv); 11 | 12 | MainWindow mainWindow; 13 | mainWindow.resize(1024, 768); 14 | mainWindow.show(); 15 | 16 | return app.exec(); 17 | } 18 | -------------------------------------------------------------------------------- /tests/auto/core/webenginedriver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2023 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) 5 | cmake_minimum_required(VERSION 3.16) 6 | project(tst_webenginedriver LANGUAGES CXX) 7 | find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) 8 | endif() 9 | 10 | add_subdirectory(test) 11 | add_subdirectory(browser) 12 | 13 | add_dependencies(tst_webenginedriver 14 | testbrowser 15 | ) 16 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineurlrequestinterceptor/resources/cors.js: -------------------------------------------------------------------------------- 1 | async function getData() 2 | { 3 | const url = "https://qt.io/content.html"; 4 | try { 5 | const response = await fetch(url); 6 | if (!response.ok) { 7 | throw new Error(`Response status: ${response.status}`); 8 | } 9 | 10 | const result = await response.json(); 11 | console.log(result); 12 | } catch (error) { 13 | console.error(error.message); 14 | } 15 | } 16 | 17 | getData(); 18 | -------------------------------------------------------------------------------- /tests/auto/pdf/qpdfdocument/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_qpdfdocument 5 | SOURCES 6 | tst_qpdfdocument.cpp 7 | LIBRARIES 8 | Qt::Gui 9 | Qt::Network 10 | Qt::PrintSupport 11 | Qt::Pdf 12 | TESTDATA 13 | pdf-sample.protected.pdf 14 | pdf-sample.metadata.pdf 15 | rotated_text.pdf 16 | tagged_mcr_multipage.pdf 17 | test.pdf 18 | ) 19 | -------------------------------------------------------------------------------- /tests/auto/quick/uidelegates/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../httpserver/httpserver.cmake) 5 | include(../../util/util.cmake) 6 | 7 | qt_internal_add_test(tst_uidelegates 8 | SOURCES 9 | tst_uidelegates.cpp 10 | LIBRARIES 11 | Qt::WebEngineCorePrivate 12 | Qt::WebEngineQuick 13 | Qt::GuiPrivate 14 | Qt::WebEngineQuickPrivate 15 | Test::HttpServer 16 | Test::Util 17 | ) 18 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | webChannelWithBadString 5 | 6 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/core/ozone/ozone_platform_qt.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2017 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #ifndef OZONE_PLATFORM_QT_H 6 | #define OZONE_PLATFORM_QT_H 7 | 8 | namespace ui { 9 | class OzonePlatform; 10 | 11 | // Constructor hook for use in ozone_platform_list.cc 12 | OzonePlatform *CreateOzonePlatformQt(); 13 | 14 | } // namespace ui 15 | 16 | #endif // OZONE_PLATFORM_QT_H 17 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page3 4 | 5 | 10 | 16 | 17 | 18 |
page3 anchor
19 | 20 | 21 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/pdfviewer.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = pdfviewer 3 | QT += core gui widgets pdfwidgets 4 | 5 | SOURCES += \ 6 | main.cpp \ 7 | mainwindow.cpp \ 8 | searchresultdelegate.cpp \ 9 | zoomselector.cpp 10 | 11 | HEADERS += \ 12 | mainwindow.h \ 13 | searchresultdelegate.h \ 14 | zoomselector.h 15 | 16 | FORMS += \ 17 | mainwindow.ui 18 | 19 | RESOURCES += \ 20 | resources.qrc 21 | 22 | target.path = $$[QT_INSTALL_EXAMPLES]/pdfwidgets/pdfviewer 23 | INSTALLS += target 24 | -------------------------------------------------------------------------------- /examples/webenginewidgets/cookiebrowser/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #include "mainwindow.h" 5 | #include 6 | #include 7 | 8 | int main(int argc, char *argv[]) 9 | { 10 | QCoreApplication::setOrganizationName("QtExamples"); 11 | QApplication app(argc, argv); 12 | MainWindow window(QUrl("http://qt.io")); 13 | window.resize(1024, 768); 14 | window.show(); 15 | return app.exec(); 16 | } 17 | -------------------------------------------------------------------------------- /src/core/doc/snippets/qtwebengine_qwebenginepage_snippet.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | void wrapInFunction() 5 | { 6 | 7 | //! [0] 8 | m_view->page()->findText(QStringLiteral("Qt"), QWebEnginePage::FindFlags(), [this](const QWebEngineFindTextResult &result) { 9 | if (result.numberOfMatches() == 0) QMessageBox::information(m_view, QString(), QStringLiteral("No occurrences found")); 10 | }); 11 | //! [0] 12 | 13 | } 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/redirect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | redirect 5 | 13 | 14 | 15 | Text 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/webenginewidgets/contentmanipulation/contentmanipulation.pro: -------------------------------------------------------------------------------- 1 | QT += webenginewidgets 2 | 3 | HEADERS = mainwindow.h 4 | SOURCES = main.cpp \ 5 | mainwindow.cpp 6 | RESOURCES = jquery.qrc 7 | 8 | # Disable Qt Quick compiler because the example doesn't use QML, but more importantly so that 9 | # the source code of the .js files is not removed from the embedded qrc file. 10 | CONFIG -= qtquickcompiler 11 | 12 | # install 13 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/contentmanipulation 14 | INSTALLS += target 15 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/assets/icons/stylesheets.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #include "webview.h" 5 | #include 6 | 7 | int main(int argc, char *argv[]) 8 | { 9 | QCoreApplication::setOrganizationName("QtExamples"); 10 | QApplication app(argc, argv); 11 | 12 | WebView view; 13 | view.setUrl(QUrl(QStringLiteral("qrc:/index.html"))); 14 | view.resize(500, 750); 15 | view.show(); 16 | 17 | return app.exec(); 18 | } 19 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/mock-delegates/DirectoryPicker.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | import QtQuick 5 | 6 | QtObject { 7 | signal folderSelected(var folder) 8 | signal rejected() 9 | 10 | function open() { 11 | FilePickerParams.directoryPickerOpened = true; 12 | if (FilePickerParams.selectFiles) 13 | folderSelected(FilePickerParams.selectedFilesUrl); 14 | else 15 | rejected(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/manual/widgets/inputmethods/inputmethods.pro: -------------------------------------------------------------------------------- 1 | QT += core gui widgets webenginewidgets testlib 2 | 3 | TARGET = inputmethods 4 | TEMPLATE = app 5 | 6 | 7 | SOURCES += \ 8 | colorpicker.cpp \ 9 | controlview.cpp \ 10 | main.cpp \ 11 | referenceview.cpp \ 12 | testview.cpp \ 13 | webview.cpp 14 | 15 | HEADERS += \ 16 | colorpicker.h \ 17 | controlview.h \ 18 | referenceview.h \ 19 | testview.h \ 20 | webview.h 21 | 22 | RESOURCES += \ 23 | test.qrc 24 | 25 | DISTFILES += \ 26 | testdata.csv 27 | -------------------------------------------------------------------------------- /tests/manual/widgets/inputmethods/referenceview.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | #ifndef REFERENCEVIEW_H 5 | #define REFERENCEVIEW_H 6 | 7 | #include 8 | #include 9 | 10 | class ReferenceView : public QWidget 11 | { 12 | Q_OBJECT 13 | public: 14 | explicit ReferenceView(QWidget *parent = 0); 15 | QLineEdit *referenceInput(); 16 | 17 | private: 18 | QLineEdit *m_referenceInput; 19 | }; 20 | 21 | #endif // REFERENCEVIEW_H 22 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2023 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #include "mainwindow.h" 5 | #include "stylesheetdialog.h" 6 | #include 7 | #include 8 | 9 | int main(int argc, char *argv[]) 10 | { 11 | qRegisterMetaType("StyleSheet"); 12 | 13 | QCoreApplication::setOrganizationName("QtExamples"); 14 | QApplication a(argc, argv); 15 | MainWindow w; 16 | w.show(); 17 | return a.exec(); 18 | } 19 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/edit-copy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/edit-copy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/accepttypes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Default title 5 | 6 | 7 | 8 | 9 | 10 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/zoom-fit-width.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/webenginewidgets/spellchecker/webview.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #ifndef WEBVIEW_H 5 | #define WEBVIEW_H 6 | 7 | #include 8 | 9 | class WebView : public QWebEngineView 10 | { 11 | Q_OBJECT 12 | 13 | public: 14 | WebView(QWidget *parent = nullptr); 15 | 16 | protected: 17 | void contextMenuEvent(QContextMenuEvent *event) override; 18 | 19 | private: 20 | QMap m_spellCheckLanguages; 21 | }; 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/host/BUILD.toolchain.gn.in: -------------------------------------------------------------------------------- 1 | import("//build/config/sysroot.gni") 2 | import("//build/toolchain/gcc_toolchain.gni") 3 | gcc_toolchain("@GN_TOOLCHAIN@") { 4 | cc = "@CMAKE_C_COMPILER@" 5 | cxx = "@CMAKE_CXX_COMPILER@" 6 | ld = "@CMAKE_CXX_COMPILER@" 7 | ar = "@CMAKE_AR@" 8 | nm = "@CMAKE_NM@" 9 | extra_cppflags = "" 10 | toolchain_args = { 11 | current_os = "@GN_OS@" 12 | current_cpu = "@GN_CPU@" 13 | v8_current_cpu = "@GN_V8_CPU@" 14 | is_clang = @GN_IS_CLANG@ 15 | is_mingw = @GN_IS_MINGW@ 16 | use_gold = false 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/auto/httpserver/data/loadprogress/page5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | page5 4 | 5 | 10 | 16 | 17 | 18 |
here is the anchor
19 | 20 | 21 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/zoom-fit-width.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/recipebrowser.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = recipebrowser 3 | QT += webenginewidgets 4 | 5 | HEADERS += \ 6 | mainwindow.h \ 7 | stylesheetdialog.h \ 8 | document.h 9 | 10 | SOURCES += \ 11 | main.cpp \ 12 | mainwindow.cpp \ 13 | stylesheetdialog.cpp \ 14 | document.cpp 15 | 16 | FORMS += \ 17 | mainwindow.ui \ 18 | stylesheetdialog.ui 19 | 20 | RESOURCES += recipebrowser.qrc 21 | 22 | # install 23 | target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/recipebrowser 24 | INSTALLS += target 25 | -------------------------------------------------------------------------------- /src/process/QtWebEngineProcess.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.cs.allow-unsigned-executable-memory 6 | 7 | com.apple.security.cs.disable-library-validation 8 | 9 | com.apple.security.cs.allow-jit 10 | 11 | com.apple.security.cs.disable-executable-page-protection 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/quick/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | add_subdirectory(dialogs) 5 | add_subdirectory(publicapi) 6 | add_subdirectory(qquickwebenginedefaultsurfaceformat) 7 | add_subdirectory(qtbug-70248) 8 | # Re-enable if QTBUG-101744 and QTBUG-103354 have been fixed. 9 | if(NOT MACOS) 10 | add_subdirectory(uidelegates) 11 | endif() 12 | add_subdirectory(inspectorserver) 13 | add_subdirectory(qmltests) 14 | add_subdirectory(qquickwebengineview) 15 | add_subdirectory(qquickwebengineviewgraphics) 16 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/document-open.svgz 4 | images/go-down-search.svgz 5 | images/go-next-view.svgz 6 | images/go-previous-view.svgz 7 | images/go-next-view-page.svgz 8 | images/go-previous-view-page.svgz 9 | images/go-up-search.svgz 10 | images/zoom-in.svgz 11 | images/zoom-out.svgz 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/qwebenginepage/resources/dynamicFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Dynamic iframe 5 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/manual/examples/quick/customdialogs/MessageRectangle.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | import QtQuick 5 | 6 | Rectangle { 7 | property alias text: messageText.text 8 | width: parent.width 9 | height: 30 10 | visible: false 11 | color: "#80c342" 12 | Text { 13 | id: messageText 14 | anchors.horizontalCenter: parent.horizontalCenter 15 | anchors.verticalCenter: parent.verticalCenter 16 | font.pointSize: 12 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /examples/webenginewidgets/push-notifications/content/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: monaco; 3 | height: 100vh; 4 | flex-direction: column; 5 | align-items: center; 6 | justify-content: center; 7 | display: flex; 8 | } 9 | #ping-clear, 10 | #ping-setup { 11 | font-size: 32px; 12 | text-align: center; 13 | } 14 | .form-inputs{ 15 | margin-top: 20px; 16 | } 17 | input { 18 | width: 100px; 19 | height: 30px; 20 | } 21 | button { 22 | font-size: 16px; 23 | } 24 | #ping-text { 25 | margin-bottom: 30px; 26 | } 27 | #ping-clear { 28 | display: none; 29 | } 30 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/serviceWorker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | serviceWorker 5 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/auto/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | add_subdirectory(cmake) 4 | if(TARGET Qt::WebEngineCore) 5 | add_subdirectory(httpserver) 6 | add_subdirectory(util) 7 | add_subdirectory(core) 8 | endif() 9 | if(TARGET Qt::WebEngineQuick) 10 | add_subdirectory(quick) 11 | endif() 12 | if(TARGET Qt::WebEngineWidgets) 13 | add_subdirectory(widgets) 14 | endif() 15 | if(TARGET Qt::Pdf) 16 | add_subdirectory(pdf) 17 | endif() 18 | if(TARGET Qt::PdfQuick) 19 | add_subdirectory(pdfquick) 20 | endif() 21 | -------------------------------------------------------------------------------- /src/pdfquick/doc/src/qtquickpdf-module.qdoc: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only 3 | 4 | /*! 5 | \qmlmodule QtQuick.Pdf 6 | \title Qt Quick PDF QML Types 7 | \ingroup qmlmodules 8 | \brief Provides QML types for handling PDF documents. 9 | \since 5.14 10 | 11 | This QML module contains types for handling PDF documents. 12 | 13 | To use the types in this module, import the module with the following line: 14 | 15 | \qml 16 | import QtQuick.Pdf 17 | \endqml 18 | */ 19 | -------------------------------------------------------------------------------- /src/webenginewidgets/doc/snippets/simple/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | //! [Minimal Example] 5 | #include 6 | #include 7 | 8 | int main(int argc, char *argv[]) 9 | { 10 | QApplication app(argc, argv); 11 | //! [Using QWebEngineView] 12 | QWebEngineView view; 13 | view.load(QUrl("https://qt-project.org/")); 14 | view.resize(1024, 750); 15 | view.show(); 16 | //! [Using QWebEngineView] 17 | return app.exec(); 18 | } 19 | //! [Minimal Example] 20 | -------------------------------------------------------------------------------- /tests/manual/widgets/webgl/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) 5 | cmake_minimum_required(VERSION 3.16) 6 | project(webgl LANGUAGES CXX) 7 | find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST) 8 | endif() 9 | 10 | qt_internal_add_manual_test(webgl 11 | GUI 12 | SOURCES 13 | main.cpp 14 | LIBRARIES 15 | Qt::Core 16 | Qt::Gui 17 | Qt::WebEngineWidgets 18 | ENABLE_AUTOGEN_TOOLS 19 | moc 20 | ) 21 | -------------------------------------------------------------------------------- /src/core/extensions/api/display_info_provider_qt.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #ifndef DISPLAY_INFO_PROVIDER_QT_H_ 6 | #define DISPLAY_INFO_PROVIDER_QT_H_ 7 | 8 | #include "extensions/browser/api/system_display/display_info_provider.h" 9 | 10 | class DisplayInfoProviderQt : public extensions::DisplayInfoProvider 11 | { 12 | public: 13 | DisplayInfoProviderQt(); 14 | }; 15 | 16 | #endif // DISPLAY_INFO_PROVIDER_QT_H_ 17 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/sharedWorker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | sharedWorker 5 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/auto/pdfquick/multipageview/data/multiPageViewWithFeedback.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Pdf 3 | 4 | PdfMultiPageView { 5 | id: view 6 | property point hoverPos: hover.point.position 7 | width: 640; height: 480 8 | document: PdfDocument { } 9 | 10 | // mouse hover feedback for test development 11 | Rectangle { 12 | width: 200 13 | height: hoverPosLabel.implicitHeight + 12 14 | color: "beige" 15 | Text { id: hoverPosLabel; x: 6; y: 6; text: view.hoverPos.x + ", " + view.hoverPos.y } 16 | } 17 | HoverHandler { id: hover } 18 | } 19 | -------------------------------------------------------------------------------- /tools/scripts/get_version.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # Copyright (C) 2016 The Qt Company Ltd. 3 | # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 4 | 5 | import sys 6 | import json 7 | import version_resolver as resolver 8 | 9 | channels = resolver.readReleaseChannels() 10 | 11 | if len(sys.argv) == 1 or sys.argv[1] == 'all': 12 | print(json.dumps(channels, sort_keys=True, indent=2)) 13 | 14 | for platform in sys.argv: 15 | if platform in channels: 16 | print('"' + platform + '": ' + json.dumps(channels[platform], sort_keys=True, indent=2)) 17 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/go-down-search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/go-down-search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/dedicatedWorker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | dedicatedWorker 5 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/titleupdate.js: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | function updateTitle() 5 | { 6 | var inp = document.getElementById("upfile"); 7 | var allfiles = new String(""); 8 | var name = new String(""); 9 | for (var i = 0; i < inp.files.length; ++i) { 10 | name = inp.files.item(i).name; 11 | if (allfiles.length == 0) 12 | allfiles = name; 13 | else 14 | allfiles = allfiles + "," + name; 15 | } 16 | document.title = allfiles; 17 | } 18 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/go-next-view-page.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/go-previous-view-page.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/go-next-view-page.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /examples/pdf/multipage/pdfapplication.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #include "pdfapplication.h" 5 | #include 6 | 7 | PdfApplication::PdfApplication(int &argc, char **argv) 8 | : QGuiApplication(argc, argv) { } 9 | 10 | bool PdfApplication::event(QEvent *e) { 11 | if (e->type() == QEvent::FileOpen) { 12 | QFileOpenEvent *foEvent = static_cast(e); 13 | m_fileOpener->setProperty("source", foEvent->url()); 14 | } 15 | return QGuiApplication::event(e); 16 | } 17 | -------------------------------------------------------------------------------- /examples/pdf/singlepage/resources/go-previous-view-page.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /tests/auto/core/origins/resources/mixedXHR.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Mixed 5 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/core/ozone/ozone_util_qt.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2024 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #ifndef OZONE_UTIL_QT_H 6 | #define OZONE_UTIL_QT_H 7 | 8 | #include 9 | 10 | QT_BEGIN_NAMESPACE 11 | 12 | class QOpenGLContext; 13 | 14 | namespace OzoneUtilQt { 15 | void *getXDisplay(); 16 | QOpenGLContext *getQOpenGLContext(); 17 | bool usingGLX(); 18 | bool usingEGL(); 19 | } // namespace OzoneUtilQt 20 | 21 | QT_END_NAMESPACE 22 | 23 | #endif // OZONE_UTIL_QT_H 24 | -------------------------------------------------------------------------------- /tests/auto/REUSE.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[annotations]] 4 | path = ["core/qwebengineframe/tst_qwebengineframe.cpp", 5 | "core/qwebenginesettings/tst_qwebenginesettings.cpp", 6 | "widgets/accessibility/tst_accessibility.cpp", 7 | "widgets/qwebenginehistory/tst_qwebenginehistory.cpp", 8 | "widgets/qwebenginepage/tst_qwebenginepage.cpp", 9 | "widgets/qwebenginescript/tst_qwebenginescript.cpp", 10 | "widgets/qwebengineview/tst_qwebengineview.cpp"] 11 | precedence = "aggregate" 12 | comment = "the license is not reuse readable" 13 | SPDX-License-Identifier = "LGPL-2.0-or-later" 14 | -------------------------------------------------------------------------------- /tests/auto/widgets/offscreen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | qt_internal_add_test(tst_offscreen 5 | SOURCES 6 | tst_offscreen.cpp 7 | LIBRARIES 8 | Qt::WebEngineWidgets 9 | ) 10 | 11 | set(tst_offscreen_resource_files 12 | "test.html" 13 | ) 14 | 15 | set_tests_properties(tst_offscreen PROPERTIES 16 | ENVIRONMENT QT_QPA_PLATFORM=offscreen 17 | ) 18 | 19 | qt_internal_add_resource(tst_offscreen "tst_offscreen" 20 | PREFIX 21 | "/" 22 | FILES 23 | ${tst_offscreen_resource_files} 24 | ) 25 | 26 | -------------------------------------------------------------------------------- /tests/auto/core/qwebengineframe/resources/iframes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test-title 4 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/auto/quick/qmltests/data/iframes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | test-iframes 4 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/pdf/multipage/pdfapplication.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #ifndef PDFAPPLICATION_H 5 | #define PDFAPPLICATION_H 6 | 7 | #include 8 | #include 9 | 10 | class PdfApplication : public QGuiApplication 11 | { 12 | public: 13 | PdfApplication(int &argc, char **argv); 14 | void setFileOpener(QObject *opener) { 15 | m_fileOpener = opener; 16 | } 17 | 18 | protected: 19 | bool event(QEvent *e) override; 20 | 21 | QObject *m_fileOpener; 22 | }; 23 | 24 | #endif // PDFAPPLICATION_H 25 | -------------------------------------------------------------------------------- /examples/webenginewidgets/recipebrowser/assets/icons/remove.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/core/cursor_utils_qt_mac.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2025 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | 4 | #ifndef CURSOR_UTILS_QT_MAC_H 5 | #define CURSOR_UTILS_QT_MAC_H 6 | 7 | #include 8 | #include 9 | #include "ui/base/cocoa/cursor_utils.h" 10 | 11 | namespace QtWebEngineCore { 12 | 13 | struct ImageInfo 14 | { 15 | QImage image; 16 | QPoint hotSpotData; 17 | }; 18 | 19 | ImageInfo QImageFromNSCursor(const ui::Cursor &cursor); 20 | 21 | } // namespace QtWebEngineCore 22 | 23 | #endif // CURSOR_UTILS_QT_MAC_H 24 | -------------------------------------------------------------------------------- /src/core/extensions/messaging_delegate_qt.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2020 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 3 | // Qt-Security score:significant reason:default 4 | 5 | #include "messaging_delegate_qt.h" 6 | 7 | #include 8 | 9 | namespace extensions { 10 | 11 | MessagingDelegateQt::MessagingDelegateQt() 12 | { 13 | } 14 | 15 | std::optional MessagingDelegateQt::MaybeGetTabInfo(content::WebContents *web_contents) 16 | { 17 | Q_UNUSED(web_contents); 18 | return std::nullopt; 19 | } 20 | 21 | } // namespace extensions 22 | -------------------------------------------------------------------------------- /tests/manual/quick/pdf/simplest.qml: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2022 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | import QtQuick 4 | 5 | Image { 6 | id: image 7 | source: "test.pdf" 8 | fillMode: Image.PreserveAspectFit 9 | Shortcut { 10 | sequence: StandardKey.MoveToNextPage 11 | enabled: image.currentFrame < image.frameCount - 1 12 | onActivated: image.currentFrame++ 13 | } 14 | Shortcut { 15 | sequence: StandardKey.MoveToPreviousPage 16 | enabled: image.currentFrame > 0 17 | onActivated: image.currentFrame-- 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /examples/pdfwidgets/pdfviewer/searchresultdelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2023 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause 3 | 4 | #ifndef SEARCHRESULTDELEGATE_H 5 | #define SEARCHRESULTDELEGATE_H 6 | 7 | #include 8 | 9 | //! [0] 10 | class SearchResultDelegate : public QStyledItemDelegate 11 | { 12 | Q_OBJECT 13 | public: 14 | SearchResultDelegate(QObject *parent = nullptr); 15 | 16 | void paint(QPainter *painter, const QStyleOptionViewItem &option, 17 | const QModelIndex &index) const override; 18 | }; 19 | 20 | #endif // SEARCHRESULTDELEGATE_H 21 | -------------------------------------------------------------------------------- /src/pdfwidgets/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets) 5 | 6 | qt_internal_add_module(PdfWidgets 7 | SOURCES 8 | qpdfpageselector.cpp qpdfpageselector.h qpdfpageselector_p.h 9 | qpdfview.cpp qpdfview.h qpdfview_p.h 10 | qtpdfwidgetsglobal.h 11 | LIBRARIES 12 | Qt::PdfPrivate 13 | Qt::WidgetsPrivate 14 | PUBLIC_LIBRARIES 15 | Qt::Core 16 | Qt::Gui 17 | Qt::Pdf 18 | Qt::Widgets 19 | NO_GENERATE_CPP_EXPORTS 20 | ) 21 | -------------------------------------------------------------------------------- /tests/auto/util/qt_webengine_quicktest.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2016 The Qt Company Ltd. 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 3 | 4 | #ifndef QT_WEBENGINE_QUICKTEST_H 5 | #define QT_WEBENGINE_QUICKTEST_H 6 | 7 | #include 8 | 9 | #ifdef QT_WIDGETS_LIB 10 | #include 11 | #else 12 | #include 13 | #endif 14 | 15 | QT_BEGIN_NAMESPACE 16 | 17 | #ifdef QT_WIDGETS_LIB 18 | #define Application QApplication 19 | #else 20 | #define Application QGuiApplication 21 | #endif 22 | 23 | QT_END_NAMESPACE 24 | 25 | #endif // QT_WEBENGINE_QUICKTEST_H 26 | -------------------------------------------------------------------------------- /tests/auto/widgets/extensions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 The Qt Company Ltd. 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | 4 | include(../../util/util.cmake) 5 | 6 | qt_internal_add_test(tst_qwebengineextension 7 | SOURCES 8 | tst_qwebengineextension.cpp 9 | LIBRARIES 10 | Qt::WebEngineWidgets 11 | Test::Util 12 | ) 13 | 14 | set(tst_qwebengineextension_resource_files 15 | "resources/index.html" 16 | ) 17 | 18 | qt_internal_add_resource(tst_qwebengineextension "tst_qwebengineextension" 19 | PREFIX 20 | "/" 21 | FILES 22 | ${tst_qwebengineextension_resource_files} 23 | ) 24 | -------------------------------------------------------------------------------- /examples/pdf/multipage/resources/sidebar-collapse-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | --------------------------------------------------------------------------------