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 install the Qt Online Installer.
- Select
Qt 6.10.0(or newer). - Ensure you select the
MSVC 2022 64-bitcomponent. - Ensure you select the
Qt WebEnginecomponent.
- Select
- Visual Studio 2022: Install Visual Studio 2022 Community.
- Ensure you select the "Desktop development with C++" workload.
- Open a
cmdterminal. - Set up the MSVC environment:
"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.