This package provides:
- A Swift package that wraps Qt5 to a swifty API.
An executable called qlift-uic
, that can be used in a similiar fashion to Qt's uic: generate Swift code from Qt user interface files (.ui), moved to separate repository: https://github.com/DimaRU/QliftUIC
- macOS (Intel & Apple Silicon)
- Linux (both Intel x64 & Arm64)
- Windows 10
Qt5 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. Use Xcode from 13.3 (now beta) for build macOS applications.
For macOS, add next line to .zprofile
:
launchctl setenv PKG_CONFIG_PATH /opt/homebrew/opt/qt5/lib/pkgconfig
on Apple Silicon Mac or
launchctl setenv PKG_CONFIG_PATH /usr/local/opt/qt5/lib/pkgconfig
on Intel Mac or Apple Silicon Mac for develop under Rosetta
swift build
Add https://github.com/DimaRU/qlift.git
to Package Dependencies list
- swiftmine: Minesweeper in Swift
This Qt wrapper have incomplete implementation, most of the Qt classes are not implemented. Also, support for already implemented Qt classes may be incomplete.