Skip to content
Snippets Groups Projects
Commit 58a12b96 authored by hluk's avatar hluk
Browse files

Move build-from-source instructions to docs

parent 97825c91
No related branches found
No related tags found
No related merge requests found
Steps to build and install https://copyq.readthedocs.io/en/latest/build-source-code.html
==========================
To build and install the application CMake is required (http://www.cmake.org/).
On Ubuntu you'll need packages libqt4-dev, cmake, libxfixes-dev,
libxtst-dev (optional; auto-paste into some applications),
libqtwebkit-dev (optional; advanced HTML rendering).
Build with following commands:
cmake .
make
To install run (sudo is required for root privileges on Linux):
sudo make install
Building and Packaging for OS X
-------------------------------
To build and install on OS X, you will need `qmake` version
5.2 or greater. Build with the following commands:
~/Qt/5.2.0/clang_64/bin/qmake CONFIG+=release WITH_WEBKIT=1
make copyq.app
This will produce a self-contained application bundle `copyq.app`
which can then be copied or moved into `/Applications`.
...@@ -35,11 +35,12 @@ Saved clipboard can be later copied and pasted directly into any application. ...@@ -35,11 +35,12 @@ Saved clipboard can be later copied and pasted directly into any application.
* Support for simple Vim-like editor and shortcuts * Support for simple Vim-like editor and shortcuts
* Many more features * Many more features
## Install and Run ## Install
To install CopyQ, use the binary package or installer provided for your system. For system-specific information, please see below. For unlisted systems, please follow the instructions in To install CopyQ, use the binary package or installer provided for your system.
[INSTALL](https://github.com/hluk/CopyQ/blob/master/INSTALL) to build the
application. For unlisted systems, please follow the instructions in
[Build from Source Code](https://copyq.readthedocs.io/en/latest/build-source-code.html).
### Windows ### Windows
......
...@@ -79,3 +79,22 @@ In older versions, create solution manually by running ``cmake -G "Visual Studio ...@@ -79,3 +79,22 @@ In older versions, create solution manually by running ``cmake -G "Visual Studio
`CMake - Visual Studio Generators <https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html#visual-studio-generators>`__ `CMake - Visual Studio Generators <https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html#visual-studio-generators>`__
Building and Packaging for OS X
-------------------------------
On OS X, required Qt 5 libraries and utilities can be easily installed with `Homebrew <https://brew.sh/>`__.
::
brew install qt5
Build with the following commands.
::
/usr/local/opt/qt5/bin/qmake
make copyq.app
This will produce a self-contained application bundle ``copyq.app``
which can then be copied or moved into ``/Applications``.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment