|
|
# Problems
|
|
|
# Instructions
|
|
|
## Install dependencies
|
|
|
### Qt iOS SDK
|
|
|
1. Go to https://www.qt.io/download and download Qt for iOS
|
|
|
1. Select only the iOS SDK, macOS and other platforms are not required
|
|
|
|
|
|
### Homebrew dependencies
|
|
|
1. `brew cask install xquartz`
|
|
|
1. `brew cask install inkscape`
|
|
|
1. `brew install optipng`
|
|
|
1. `brew install coreutils`
|
|
|
1. `brew tap kde-mac/kde`
|
|
|
1. `brew install kf5-extra-cmake-modules`
|
|
|
1. `"$(brew --repo kde-mac/kde)/tools/do-caveats.sh"`
|
|
|
|
|
|
## XCode installation
|
|
|
If you get an error about cmake not finding a make executable and compiler and `xcode -version` doesn't work, this might help:
|
|
|
## Build Kaidan
|
|
|
1. `git clone https://invent.kde.org/jbbgameich/kaidan --branch=wip-mac`
|
|
|
1. `cd kaidan`
|
|
|
1. `export QT_IOS=/path/to/qt/5.x.x/ios/`
|
|
|
1. `./utils/build-ios.sh`
|
|
|
|
|
|
# Problems
|
|
|
## XCode installation / No cmake make program found
|
|
|
If you get an error about cmake not finding a make executable and/or compiler and `xcode -version` doesn't work, this might help:
|
|
|
|
|
|
`sudo xcode-select -s /Applications/Xcode.app/Contents/Developer`
|
|
|
|
|
|
https://github.com/nodejs/node-gyp/issues/569 |
|
|
\ No newline at end of file |
|
|
https://github.com/nodejs/node-gyp/issues/569 |