... | ... | @@ -5,18 +5,17 @@ |
|
|
1. Select only the iOS SDK, macOS and other platforms are not required
|
|
|
|
|
|
### Homebrew dependencies
|
|
|
1. `brew tap kde-mac/kde`
|
|
|
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 install optipng coreutils cmake kf5-extra-cmake-modules`
|
|
|
1. `"$(brew --repo kde-mac/kde)/tools/do-caveats.sh"`
|
|
|
|
|
|
## 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. Export the path to your Qt installation into `QT_IOS`, like this (replace `/path/to/qt/` and `5.x.x`):
|
|
|
`export QT_IOS=/path/to/qt/5.x.x/ios/`
|
|
|
1. `./utils/build-ios.sh`
|
|
|
|
|
|
# Problems
|
... | ... | @@ -25,4 +24,8 @@ If you get an error about cmake not finding a make executable and/or compiler an |
|
|
|
|
|
`sudo xcode-select -s /Applications/Xcode.app/Contents/Developer`
|
|
|
|
|
|
https://github.com/nodejs/node-gyp/issues/569 |
|
|
Also be sure that there are no spaces in the file path, because they will not be escaped correctly by cmake.
|
|
|
|
|
|
https://github.com/nodejs/node-gyp/issues/56
|
|
|
|
|
|
TODO: Fix generation of Info.plist with cmake: currently the version number and other stuff is empty |