{"id":18098497,"url":"https://github.com/danieloneill/qmlfontselector","last_synced_at":"2026-02-04T13:41:58.242Z","repository":{"id":89578135,"uuid":"538712554","full_name":"danieloneill/QmlFontSelector","owner":"danieloneill","description":"A font selector written in QML and C++ (Component) for Qt6","archived":false,"fork":false,"pushed_at":"2022-09-19T23:10:32.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T04:17:49.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"QML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danieloneill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2022-09-19T22:01:53.000Z","updated_at":"2022-09-19T22:03:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d74c92a9-eb08-450d-af7d-35b2ed8ae456","html_url":"https://github.com/danieloneill/QmlFontSelector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danieloneill/QmlFontSelector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2FQmlFontSelector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2FQmlFontSelector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2FQmlFontSelector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2FQmlFontSelector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danieloneill","download_url":"https://codeload.github.com/danieloneill/QmlFontSelector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2FQmlFontSelector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265266361,"owners_count":23737217,"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":"2024-10-31T20:11:28.520Z","updated_at":"2026-02-04T13:41:58.211Z","avatar_url":"https://github.com/danieloneill.png","language":"QML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QmlFontSelector\nA font selector written in QML and C++ (Component) for Qt6\n\n## Building\nThe component itself should be built from a shadow directory.\n\n```\n~/code/QmlFontSelector$ mkdir build\n~/code/QmlFontSelector$ cd build\n~/code/QmlFontSelector/build$ qmake ..\nInfo: creating stash file /home/user/code/QmlFontSelector/build/.qmake.stash\n~/code/QmlFontSelector/build$ make -j4\n....\n~/code/QmlFontSelector/build$ sudo make install\n```\n\n## Trying\nOnce the component is installed, you can actually see the control itself by just loading it in the `qml` utility:\n\n```\n~/code/QmlFontSelector$ qml qml/FontSelector.qml\n```\n\nThe result should look something like:\n\n![Screenshot of FontSelector running in the qml utility](https://i.imgur.com/5OJQa6r.png)\n\n## Embedding\nThe `FontSelector.qml` file in the qml directory is the actual control, and can be included from anywhere within (or without) your Qt Quick project as long as the component is installed.\n\nIt may be desired to compile the component into your C++/Qt Quick project, and it can be done by completing the following steps:\n\n * Add `fontselector.cpp` to your SOURCES\n * Add `fontselector.h` to your HEADERS\n * #include \"fontselector.h\" where your QQmlApplicationEngine is instantiated\n * Register the component with something akin to: `qmlRegisterType\u003cFontFunctions\u003e(\"com.canapos.FontFunctions\", 1, 0, \"FontFunctions\");`\n \nNow the FontSelector control should be able to instantiate and be used in your own code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieloneill%2Fqmlfontselector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieloneill%2Fqmlfontselector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieloneill%2Fqmlfontselector/lists"}