Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
psemiletov committed Apr 3, 2021
1 parent 0186a24 commit d6d4632
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ With qmake, TEA supports Qt4 and Qt5 build.

With qmake to build is simple:

qmake
make
make install (as root or with sudo)
qmake
make
make install (as root or with sudo)


To make some source configuration (with qmake), use CONFIG variable at qmake command line parameter. For example:
Expand All @@ -142,16 +142,16 @@ qmake "CONFIG+=useclang" "CONFIG+=noaspell"

You can use some values:

nosingleapp - do not build TEA with the single application mode support
nodesktop - do not install desktop files and icons
useclang - TEA will be compiled with Clang.
noaspell - disable the Aspell (if you have it installed, but do not want to compile TEA with Aspell support)
nohunspell - disable Hunspell for TEA.
usepoppler - use libpoppler-qt5 or qt4 for PDF text layer import. DISABLED by default
usedjvu - use libdjvulibre to read DJVU files text (read only). DISABLED by default
noprinter - disable printing support
nosingleapp - do not build TEA with the single application mode support
nodesktop - do not install desktop files and icons
useclang - TEA will be compiled with Clang
noaspell - disable the Aspell (if you have it installed, but do not want to compile TEA with Aspell support)
nohunspell - disable Hunspell for TEA
usepoppler - use libpoppler-qt5 or qt4 for PDF text layer import. DISABLED by default
usedjvu - use libdjvulibre to read DJVU files text (read only). DISABLED by default
noprinter - disable printing support

Notes:
** Notes: **

1. If you have installed both Qt4 and Qt5, use the qmake from Qt4 or Qt5 to configure TEA with exact version of QT. The common solution is to make symlink to qmake from Qt5 and name it qmake5, then use qmake5 instead of the usual qmake.

Expand All @@ -161,27 +161,27 @@ Notes:
/*
Basic snippet for Ubuntu users (Qt5 build) - run this from Terminal at the TEA source directory (unpacked):

sudo apt-get install g++ pkg-config
sudo apt-get install zlib1g-dev libaspell-dev libhunspell-dev
sudo apt-get install qt5-default qttools5-dev-tools
sudo apt-get install libqt5qml5 libqt5quick5 qtdeclarative5-dev
qmake
make
sudo make install
sudo apt-get install g++ pkg-config
sudo apt-get install zlib1g-dev libaspell-dev libhunspell-dev
sudo apt-get install qt5-default qttools5-dev-tools
sudo apt-get install libqt5qml5 libqt5quick5 qtdeclarative5-dev
qmake
make
sudo make install


Snippet for Ubuntu users (Qt4 build):

sudo apt-get install g++ pkg-config
sudo apt-get install zlib1g-dev libaspell-dev libhunspell-dev
sudo apt-get install libqt4-dev qt4-dev-tools
qmake
make
sudo make install
sudo apt-get install g++ pkg-config
sudo apt-get install zlib1g-dev libaspell-dev libhunspell-dev
sudo apt-get install libqt4-dev qt4-dev-tools
qmake
make
sudo make install
*/


==02: NOTES FOR PACKAGE MAINTAINERS==
### 02: NOTES FOR PACKAGE MAINTAINERS ###

0. Thank you for packaging TEA!

Expand All @@ -194,20 +194,20 @@ Please note, that TEA source dir after unpacking will be tea-qt-${pkgver}

3. TEA supports 3 build systems:

* qmake - the traditional one, good for Qt4-Win32-OS/2-Slackware builds. TEA's qmake project file is old and obscure. QML plugins are enabled by deafault, that is not wise.
* cmake - good for Qt5 build, the reference one for TEA. I recommend to use cmake to build TEA package.
* meson - I use it internally. Has no option to enable QML plugins and does not have the printer support.
** qmake ** - the traditional one, good for Qt4-Win32-OS/2-Slackware builds. TEA's qmake project file is old and obscure.

4. For the qmake build, to override the default installation path (/usr/local, with binary at /usr/local/bin) use:
** cmake ** - good for Qt5 build, the reference one for TEA. I recommend to use cmake to build TEA package.

** meson ** - I use it internally. Does not have the printer support.

qmake PREFIX=your_path
make
make install
4. For the qmake build, to override the default installation path (/usr/local, with binary at /usr/local/bin) use:

5. QML plugins. Altough you can enable it for cmake with cmake -DUSE_QML=ON, or use qmake-based build, I hope you don't enable them, because starting from TEA 49, QML-support at TEA is frozen and unmaintained, and will be removed if no one use it.
qmake PREFIX=your_path
make
make install


==03: NOTE FOR UBUNTU USERS==
### 03: NOTE FOR UBUNTU USERS ###

User defined hotkeys may not work due to Qt5 and Unity global menu feature. To remove global menu support in Qt5 apps, do

Expand All @@ -218,6 +218,6 @@ or, if you want to remove also GTK global menus, use:
sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt5


==04: LICENSE NOTES==
### 04: LICENSE NOTES ###

TEA code is licensed under GPL V3 and, partially, as a Public Domain. TEA media (images, etc), manuals and translations are public domain. Note to contributors - please put your translations into the public domain or GPL.

0 comments on commit d6d4632

Please sign in to comment.