mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Meta: Refactor the way the GUI framework is picked
This is largely based of off the work done by Andrew Kaster in #5918. Having this toggle makes much more sense, especially if there will be more UIs in the future. Co-authored-by: Andrew Kaster <andrew@ladybird.org>
This commit is contained in:
Notes:
github-actions[bot]
2026-03-29 20:01:42 +00:00
Author: https://github.com/cqundefine Commit: https://github.com/LadybirdBrowser/ladybird/commit/fbbcc73feaa Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8650 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/spholz
@@ -254,16 +254,14 @@ Ladybird will be built with one of the following browser frontends, depending on
|
||||
* [Qt](https://doc.qt.io/qt-6/) - The UI used on all other platforms.
|
||||
* [Android UI](https://developer.android.com/develop/ui) - The native UI on Android.
|
||||
|
||||
The Qt UI is available on platforms where it is not the default as well (except on Android). To build the
|
||||
Qt UI, install the Qt dependencies for your platform, and enable the Qt UI via CMake:
|
||||
The Qt UI is available on platforms where it is not the default as well (except on Android).
|
||||
You can pick the UI using the `LADYBIRD_GUI_FRAMEWORK` option, for example to enable the Qt UI:
|
||||
|
||||
```bash
|
||||
# From /path/to/ladybird
|
||||
cmake --preset default -DENABLE_QT=ON
|
||||
cmake --preset default -DLADYBIRD_GUI_FRAMEWORK=Qt
|
||||
```
|
||||
|
||||
To re-disable the Qt UI, run the above command with `-DENABLE_QT=OFF`.
|
||||
|
||||
### Build error messages you may encounter
|
||||
|
||||
The section lists out some particular error messages you may run into, and explains how to deal with them.
|
||||
|
||||
Reference in New Issue
Block a user