Qt WebView Exemples - Minibrowser
L'exemple Minibrowser montre comment utiliser le module Qt WebView avec Qt Quick.

Minibrowser utilise les contrôles Qt Quick et Qt WebView pour fournir une expérience de navigation de base. Outre la barre d'adresse pour l'URL, il dispose de quelques commandes pour naviguer dans l'historique de navigation.
Remarque : lors de l'utilisation du module Qt WebView, il est nécessaire d'appeler QtWebView::initialize() immédiatement avant de créer l'instance QGuiApplication. L'appel à QtWebView::initialize() garantit l'exécution des étapes de pré-configuration nécessaires.
QtWebView::initialize(); QGuiApplication app(argc, argv);
Exécution de l'exemple
Pour exécuter l'exemple à partir de Qt CreatorOuvrez le mode Welcome et sélectionnez l'exemple à partir de Examples. Pour plus d'informations, voir Qt Creator: Tutoriel : Construire et exécuter.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.