Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Longhanks/swiftmine
Example using Qlift to consume Qt APIs from Swift
https://github.com/Longhanks/swiftmine
Last synced: 3 months ago
JSON representation
Example using Qlift to consume Qt APIs from Swift
- Host: GitHub
- URL: https://github.com/Longhanks/swiftmine
- Owner: Longhanks
- License: mit
- Created: 2017-07-10T08:23:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-06T14:32:03.000Z (about 3 years ago)
- Last Synced: 2024-08-05T23:26:59.356Z (7 months ago)
- Language: Swift
- Size: 103 KB
- Stars: 27
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swiftmine
Minesweeper with Swift 5 and [Qlift](https://github.com/Longhanks/Qlift "Qlift")[](https://raw.githubusercontent.com/Longhanks/swiftmine/master/LICENSE)
## Building
Qt must be installed, of coures. On Linux, `pkgconfig` is used to find the build flags. On macOS, the installation is expected to be at `/usr/local/opt/qt/`, which is also where Homebrew would install Qt per default.
### swiftpm
`swift build`
[Qlift](https://github.com/Longhanks/Qlift "Qlift") provides the *.ui file compiler, `qlift-uic`, which must be used to compile the files from the UI directory into Swift source files in the Sources directory. This must be repeated whenever the *.ui files are changed.
## Screenshot
