A lightweight, modern implementation of the Qt WebEngine browser.
- Tabbed browsing with QTabWidget
- Navigation controls (Back, Forward, Reload, Home)
- URL bar with DuckDuckGo search integration
- Clean, minimalist homepage
- Error and settings pages
- Qt WebEngine backend
- CMake 3.16 or later
- Qt 6.x with WebEngine module
- C++17 compatible compiler
Windows-specific requirements:
- One of the following build tool chains:
- Visual Studio 2019 or later (with C++ Desktop Development workload)
- MinGW-w64
- MSYS2 with mingw-w64 toolchain
Note for Windows users: The build script will automatically try to detect and use an available build toolchain. If you encounter errors, ensure one of the above is properly installed and in your PATH.
The easiest way to build the project is using the provided build scripts, which will automatically install missing dependencies:
Linux/macOS:
./build.shWindows:
build.batThese scripts will:
- Automatically detect and install missing dependencies (CMake, Qt6)
- Create the build directory
- Configure CMake
- Compile the project
Note: The scripts will attempt to install dependencies automatically using your system's package manager:
- Linux: apt-get (Ubuntu/Debian), dnf (Fedora/RHEL), or pacman (Arch)
- macOS: Homebrew
- Windows: Chocolatey or Winget
If you want to skip automatic installation and install dependencies manually, use the --no-install flag:
./build.sh --no-install # Linux/macOS
build.bat --no-install # WindowsIf you prefer to build manually:
Linux/macOS:
mkdir build
cd build
cmake ..
make
./SimpleBrowserWindows:
mkdir build
cd build
cmake ..
cmake --build .
SimpleBrowser.exeThe project uses Qt6 WebEngine which will be imported during build time:
- Qt6::Core
- Qt6::Gui
- Qt6::Widgets
- Qt6::WebEngineWidgets
simple-qt/
├── src/
│ ├── main.cpp # Application entry point
│ ├── browser.cpp/h # Main browser window
│ └── webview.cpp/h # Web view widget
├── html/
│ ├── home.html # Homepage with search
│ ├── error.html # Error page
│ └── settings.html # Settings page
├── resources.qrc # Qt resources file
└── CMakeLists.txt # Build configuration
- Click '+' button or Ctrl+T to open new tabs
- Use navigation buttons for browsing
- Enter URLs in the address bar or search with DuckDuckGo
- Click Home button to return to the homepage
