forked from QuiteRSS/quiterss
-
Notifications
You must be signed in to change notification settings - Fork 6
/
INSTALL
54 lines (42 loc) · 1.9 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
45
46
47
48
49
50
51
52
53
54
Build depends:
GCC or Clang compiler
SQLite version 3.30.1 or newer
Qt version 4.7.* or 4.8.* or 5.4.*
Required Qt development tools:
qmake
lrelease
Required Qt libraries:
QtCore
QtGui
QtNetwork
QtSql compiled with sqlite support
QtWebKit
QtXml
Linux Mint 20 (others?):
sudo apt install qt5-default qttools5-dev-tools qttools5-dev libsqlite3-dev
sudo apt-get install qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 libqt5webkit5-dev
Instructions for Linux and other UNIX-like systems:
mkdir _build && cd _build
qmake CONFIG+=release PREFIX=/usr ../QuiteRSS.pro
make -j3
make install
Instead of -j3 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 -tp vc -platform win32-msvc2013
Due to a qmake bug, you will need to manually edit the generated .vcxproj and .filters file, to fix error messages on opening VS2013.
To do this, identify the duplicate set of items based on the error message (all within the same item group),
and delete from the starting <ItemGroup> tag, to the closing </ItemGroup> tag.
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>.