{"id":24256063,"url":"https://github.com/kdablabs/cxx-qt-servo-webview","last_synced_at":"2025-09-23T19:30:30.771Z","repository":{"id":231520915,"uuid":"743637947","full_name":"KDABLabs/cxx-qt-servo-webview","owner":"KDABLabs","description":"Servo WebView for Qt using CXX-Qt","archived":false,"fork":false,"pushed_at":"2024-04-26T13:33:53.000Z","size":229,"stargazers_count":35,"open_issues_count":11,"forks_count":1,"subscribers_count":25,"default_branch":"main","last_synced_at":"2024-04-26T14:42:44.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KDABLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/Apache-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-15T16:59:05.000Z","updated_at":"2024-04-26T13:33:58.000Z","dependencies_parsed_at":"2024-04-04T12:50:27.663Z","dependency_job_id":"9c290e57-5998-4682-8f14-c4dd671ad223","html_url":"https://github.com/KDABLabs/cxx-qt-servo-webview","commit_stats":null,"previous_names":["kdablabs/cxx-qt-servo-webview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDABLabs%2Fcxx-qt-servo-webview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDABLabs%2Fcxx-qt-servo-webview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDABLabs%2Fcxx-qt-servo-webview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDABLabs%2Fcxx-qt-servo-webview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KDABLabs","download_url":"https://codeload.github.com/KDABLabs/cxx-qt-servo-webview/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233993696,"owners_count":18762814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-15T04:46:39.081Z","updated_at":"2025-09-23T19:30:25.475Z","avatar_url":"https://github.com/KDABLabs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company \u003cinfo@kdab.com\u003e\nSPDX-FileContributor: Andrew Hayzen \u003candrew.hayzen@kdab.com\u003e\n\nSPDX-License-Identifier: MPL-2.0\n--\u003e\n\n# Servo WebView for Qt using CXX-Qt\n\nKDAB has built a demo of using [CXX-Qt](https://github.com/KDAB/cxx-qt/) to expose a [Servo](https://servo.org/) in Rust as a component to Qt.\n\n## Setup\n\n* Ensure that you have Qt installed and `qmake` in your `PATH`.\n* Ensure that you have the dependencies of `./mach boostrap` from the [https://github.com/servo/servo/](https://github.com/servo/servo/) repository.\n* Alternatively use the `shell.nix` by [installing Nix](https://nixos.org/download/) and then running `nix-shell`, it will take care of all dependencies automatically\n* Install the nightly compiler from February\n\n```console\n$ rustup install nightly-2024-02-01\n$ rustup default nightly-2024-02-01\n```\n\n* Then run in release mode\n\n```console\n$ cargo run --release\n```\n\nNote that this demo currently supports Wayland only, not X11.\n\n## Debugging\n\nTo make sure, that Qt picks the correct OpenGL driver, use the `QSG_INFO=1` variable. For hardware acceleration to work, the driver name should **not** contain `llvmpipe`.\nNote that on embedded hardware it might be necessary to force servo to use OpenGL ES.\n\n### Nix\n\nIf you using Nix and if not on NixOS, make sure to run the final executable with the `nixGLMesa` wrapper (or if not on Mesa, with the correct wrapper for your driver). This will make sure that the OpenGL drivers are passed through from the host system with [nixGL](https://github.com/nix-community/nixGL).\n\n## Licensing\n\nThis demo is Copyright (C) Klarälvdalens Datakonsult AB, and is available under\nthe terms of the [MPL-2.0](https://github.com/KDABLabs/cxx-qt-servo-webview/blob/main/LICENSES/MPL-2.0.txt) license.\n\nContact KDAB at \u003cinfo@kdab.com\u003e to inquire about additional features or\nservices related to this project.\n\n# About KDAB\n\nThe KDAB Group is the global No.1 software consultancy for Qt, C++ and\nOpenGL applications across desktop, embedded and mobile platforms.\n\nThe KDAB Group provides consulting and mentoring for developing Qt applications\nfrom scratch and in porting from all popular and legacy frameworks to Qt.\nWe continue to help develop parts of Qt and are one of the major contributors\nto the Qt Project. We can give advanced or standard trainings anywhere\naround the globe on Qt as well as C++, OpenGL, 3D and more.\n\nPlease visit \u003chttps://www.kdab.com\u003e to meet the people who write code like this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdablabs%2Fcxx-qt-servo-webview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdablabs%2Fcxx-qt-servo-webview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdablabs%2Fcxx-qt-servo-webview/lists"}