Skip to content

bort-orbital/qlift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qlift

Swift 4 API for Qt

GitHub license Build Status

This package provides two things:

  • A Swift module that wraps qlift-c-api to a swifty API.
  • 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.

Building

To build with qlift-c-api statically embedded, use the provided buildscript.sh.

Linking qlift-c-api dynamically requires you to provide the paths where you installed it, if not in LD_LIBRARY_PATH (e.g. when you passed CMAKE_INSTALL_PREFIX=/usr, you can just swift build).

For exmaple, if you've built qlift-c-api on macOS with the default configuration (which installs to /usr/local), pass these flags:

swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib

Examples

Releases

No releases published

Packages

No packages published

Languages

  • Swift 98.8%
  • Shell 1.2%