Reference to build Qt5 with qtwebkit support in the docs #5129 (#5471)

This addresses the issue only on OS X. It should be stated though, that qtwebkit is not part of the qt5core lib and therefore a requirement for the projectto build in the rest of the OSS
This commit is contained in:
Samuel Alfageme 2017-01-18 14:46:47 +01:00 committed by Markus Goetz
parent 166ef85a51
commit 72a7b7ca42

View file

@ -77,25 +77,29 @@ To set up your build environment for development using HomeBrew_:
brew tap owncloud/owncloud brew tap owncloud/owncloud
5. Install any missing dependencies:: 5. Install a Qt5 version with qtwebkit support::
brew install qt5 --with-qtwebkit
6. Install any missing dependencies::
brew install $(brew deps owncloud-client) brew install $(brew deps owncloud-client)
3. Add Qt from brew to the path:: 7. Add Qt from brew to the path::
export PATH=/usr/local/Cellar/qt5/5.x.y/bin:$PATH export PATH=/usr/local/Cellar/qt5/5.x.y/bin:$PATH
Where ``x.z`` is the current version of Qt 5 that brew has installed Where ``x.y`` is the current version of Qt 5 that brew has installed
on your machine. on your machine.
4. Install qtkeychain from here: git clone https://github.com/frankosterfeld/qtkeychain.git 8. Install qtkeychain from here: git clone https://github.com/frankosterfeld/qtkeychain.git
make sure you make the same install prefix as later while building the client e.g. - make sure you make the same install prefix as later while building the client e.g. -
``DCMAKE_INSTALL_PREFIX=/Path/to/client-install`` ``DCMAKE_INSTALL_PREFIX=/Path/to/client-install``
5. For compilation of the client, follow the :ref:`generic-build-instructions`. 9. For compilation of the client, follow the :ref:`generic-build-instructions`.
6. Install the Packages_ package creation tool. 10. Install the Packages_ package creation tool.
7. In the build directory, run ``admin/osx/create_mac.sh <build_dir> 11. In the build directory, run ``admin/osx/create_mac.sh <build_dir>
<install_dir>``. If you have a developer signing certificate, you can specify <install_dir>``. If you have a developer signing certificate, you can specify
its Common Name as a third parameter (use quotes) to have the package its Common Name as a third parameter (use quotes) to have the package
signed automatically. signed automatically.