{"id":13494479,"url":"https://github.com/Longhanks/qlift","last_synced_at":"2025-03-28T14:31:16.490Z","repository":{"id":22491340,"uuid":"96753531","full_name":"Longhanks/qlift","owner":"Longhanks","description":"Swift library to use Qt","archived":false,"fork":false,"pushed_at":"2022-04-19T14:15:25.000Z","size":774,"stargazers_count":132,"open_issues_count":5,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-05T15:02:24.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Longhanks.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}},"created_at":"2017-07-10T08:21:02.000Z","updated_at":"2024-12-26T22:42:31.000Z","dependencies_parsed_at":"2022-07-26T03:02:11.290Z","dependency_job_id":null,"html_url":"https://github.com/Longhanks/qlift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Longhanks%2Fqlift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Longhanks%2Fqlift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Longhanks%2Fqlift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Longhanks%2Fqlift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Longhanks","download_url":"https://codeload.github.com/Longhanks/qlift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246045923,"owners_count":20714872,"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-07-31T19:01:25.407Z","updated_at":"2025-03-28T14:31:15.260Z","avatar_url":"https://github.com/Longhanks.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# Qlift\nSwift 5 API for Qt5\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Longhanks/qlift-swift-example/master/LICENSE)\n\nThis package provides two things:\n\n - A Swift package that wraps Qt5 to a swifty API.\n - An executable called `qlift-uic`, that can be used in a similiar fashion to Qt's uic: Provided with a file path, it compiles *.ui files to native Swift code.\n\n## Building\n\nQt5 must be installed. On macOS, use `brew install qt@5`. On Linux, `pkgconfig` is used to find the build flags. On macOS, `.pc` files also is used to find Qt frameworks and build flags, but it requires additional preparation. Add this lines to build target:\n\n```swift\nlinkerSettings: [\n    .linkedFramework(\"QtWidgets\", .when(platforms: [.macOS])),\n    .linkedFramework(\"QtCore\", .when(platforms: [.macOS])),\n    .linkedFramework(\"QtGui\", .when(platforms: [.macOS]))\n]\n```\nWhen this [bug fix](https://github.com/apple/swift-package-manager/pull/3801) arrived to Xcode release, additional linker setting may be removed.\n\n### swiftpm\n\n`swift build`\n\n### Examples\n\n - [swiftmine](https://github.com/Longhanks/swiftmine \"swiftmine\"): Minesweeper in Swift\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLonghanks%2Fqlift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLonghanks%2Fqlift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLonghanks%2Fqlift/lists"}