forked from QuiteRSS/quiterss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
44 lines (37 loc) · 1.31 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Build depends:
GCC or Clang compiler
SQLite version 3.6.19 or newer
Qt version 4.7.* or 4.8.*
Required Qt development tools:
qmake
lrelease
Required Qt libraries:
QtCore
QtGui
QtNetwork
QtSql compiled with sqlite support
QtWebKit
QtXml
Instructions for Linux and other UNIX-like systems:
mkdir _build && cd _build
qmake CONFIG+=release PREFIX=/usr ../QuiteRSS.pro
make -j2
make install
Instead of -j2 make option you can use -j<number of your CPU cores + 1>.
For making debug build use CONFIG+=debug instead of CONFIG+=release.
By default qmake uses gcc, for using clang you need to alter qmake command:
qmake QMAKE_CC=clang QMAKE_CXX=clang++ QMAKE_LINK=clang++ QMAKE_LINK_C=clang CONFIG+=release PREFIX=/usr ../QuiteRSS.pro
For building with system qtsingleapplication add SYSTEMQTSA=1 to qmake command.
For building without phonon add DISABLE_PHONON=1 to qmake command.
Instruction for Windows:
Visual Studio:
qmake CONFIG-=debug_and_release CONFIG-=debug
nmake
Instructions for Mac OS:
cd /path/to/build
qmake -recursive -spec macx-g++ CONFIG+=release CONFIG+=x86_64 /path/to/quiterss/QuiteRSS.pro
make -j3
make install
cd /path/to/build/release/target
macdeployqt quiterss.app/ -dmg
Instead of -j3 make option you can use -j<number of your CPU cores + 1>.