Skip to content

DimaRU/qlift6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qlift

Swift API for Qt6

GitHub license

Mac OS Linux Windows

This package provides:

  • A Swift package that wraps Qt6 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

Tested under:

  • macOS (Intel & Apple Silicon)
  • Linux (both Intel x64 & Arm64)
  • Windows 10

Building

Qt6 must be installed. On macOS, use brew install qt. 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 for build macOS applications. For macOS, add next line to .zprofile:

launchctl setenv PKG_CONFIG_PATH /opt/homebrew/opt/qt/lib/pkgconfig

on Apple Silicon Mac or

launchctl setenv PKG_CONFIG_PATH /usr/local/opt/qt/lib/pkgconfig

on Intel Mac or Apple Silicon Mac for develop under Rosetta

swiftpm

swift build

Xcode

Add https://github.com/DimaRU/qlift.git to Package Dependencies list

Examples

Note

This Qt wrapper have incomplete implementation, most of the Qt classes are not implemented. Also, support for already implemented Qt classes may be incomplete.

About

Swift API for Qt6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •