A simple, lightweight web browser built with C++ and the Qt 6 framework, using the Qt WebEngine (Chromium) module. This project started as a single-file experiment and is now a fully structured Qt application.
- Basic web navigation (Back, Forward, Go, Refresh)
- Address bar with URL loading
- Loading progress bar and status bar messages
- "View Source" functionality
- Download manager with "Save As" dialog
This project is built using qmake and the MSVC compiler on Windows.
- Qt 6: Download and execute the Qt Online Installer.
- Install
Qt 6.10.0or newer, with:sources.MSVC 2022 64-bit.Qt Positioning(additional llibrary).Qt WebChannel(additional llibrary).
- Add the
Qt WebEngineandQt PDFextensions.
- Install
- Visual Studio 2022: Download and execute the Visual Studio Installer.
- Install
Visual Studio 2022 Community. - Ensure you select the
Desktop development with C++workload.
- Install
- Open a
cmdterminal. - Set up the MSVC environment (adjust path if needed):
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 - Navigate to the project's root directory:
cd path\to\your\browser-repo - Run
qmaketo generate theMakefile(adjust path if needed):C:\Qt\6.10.0\msvc2022_64\bin\qmake.exe - Run
nmaketo compile the project:nmake - Navigate into the build output directory:
cd build - Deploy the necessary Qt DLLs using
windeployqt(adjust path if needed):C:\Qt\6.10.0\msvc2022_64\bin\windeployqt.exe browser.exe - The executable (
browser.exe) and all required files are now in thebuilddirectory, ready to run.
This project is licensed under the MIT License. See the LICENSE file for details.