forked from OtterBrowser/otter-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
19 lines (14 loc) · 1.15 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
To install Otter Browser from source you need to have Qt SDK (5.4.0 or newer) installed (available at: http://www.qt.io/download-open-source/).
You can use system wide libraries when available, but you will need to install header files for modules specified in CMakeLists.txt (listed in line starting with "qt5_use_modules") and sometimes additional header files for GStreamer and libxml2.
Sometimes you may need to manually add QtConcurrent to list of required modules in CMakeLists.txt, by adding it to line starting with "qt5_use_modules(otter-browser ", resulting in "qt5_use_modules(otter-browser Concurrent ".
CMake (3.1.0 or newer) is used as build system, you need to perform these steps to get clean build (last step is optional):
mkdir build
cd build
cmake ../
make
make install
Alternatively you can use either Qt Creator IDE to compile sources or export native project files using CMake generators.
You can also use CPack to create packages.
To create a portable version, create a file named "arguments.txt" with this line:
--portable
Place this file in a directory containing the main Otter executable file (the file with name starting with "otter-browser").