An open API service indexing awesome lists of open source software.

https://github.com/yaronkoresh/browser

A browser written with C++ and Qt
https://github.com/yaronkoresh/browser

browser cpp mit-license qt

Last synced: 2 months ago
JSON representation

A browser written with C++ and Qt

Awesome Lists containing this project

README

          

# Yaron's Browser

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.

## Features
* 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

## How to Build
This project is built using `qmake` and the MSVC compiler on Windows.

### Prerequisites
1. **Qt 6:** Download and execute the Qt Online Installer.
* Install `Qt 6.10.0` or newer, with:
* `sources`.
* `MSVC 2022 64-bit`.
* `Qt Positioning` (additional llibrary).
* `Qt WebChannel` (additional llibrary).
* Add the `Qt WebEngine` and `Qt PDF` extensions.
2. **Visual Studio 2022:** Download and execute the Visual Studio Installer.
* Install `Visual Studio 2022 Community`.
* Ensure you select the `Desktop development with C++` workload.

### Building from Command Line
1. Open a `cmd` terminal.
2. Set up the MSVC environment (adjust path if needed):
```
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
```
3. Navigate to the project's root directory:
```
cd path\to\your\browser-repo
```
4. Run `qmake` to generate the `Makefile` (adjust path if needed):
```
C:\Qt\6.10.0\msvc2022_64\bin\qmake.exe
```
5. Run `nmake` to compile the project:
```
nmake
```
6. Navigate into the build output directory:
```
cd build
```
7. Deploy the necessary Qt DLLs using `windeployqt` (adjust path if needed):
```
C:\Qt\6.10.0\msvc2022_64\bin\windeployqt.exe browser.exe
```
8. The executable (`browser.exe`) and all required files are now in the `build` directory, ready to run.

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.