|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| cmake/ | H | 11-Sep-2018 | - | 1,963 | 1,746 |
| data/ | H | 03-May-2022 | - | | |
| gtk2/ | H | 03-May-2022 | - | 19,592 | 16,361 |
| lib/ | H | 03-May-2022 | - | 7,063 | 4,985 |
| po/ | H | 11-Sep-2018 | - | 155,822 | 134,573 |
| qt4/ | H | 03-May-2022 | - | 38,681 | 32,679 |
| qt5/ | H | 03-May-2022 | - | 37,979 | 32,051 |
| test/ | H | 03-May-2022 | - | 1,197 | 769 |
| tools/ | H | 03-May-2022 | - | 92 | 57 |
| .gitignore | H A D | 11-Sep-2018 | 236 | 34 | 33 |
| .mailmap | H A D | 11-Sep-2018 | 95 | 2 | 1 |
| .reviewboardrc | H A D | 11-Sep-2018 | 141 | 5 | 4 |
| AUTHORS | H A D | 11-Sep-2018 | 536 | 16 | 15 |
| Bugs.md | H A D | 11-Sep-2018 | 2.2 KiB | 38 | 37 |
| COPYING | H A D | 11-Sep-2018 | 25.9 KiB | 511 | 422 |
| ChangeLog-pre-0.30.md | H A D | 11-Sep-2018 | 16.7 KiB | 397 | 349 |
| ChangeLog-pre-0.47.md | H A D | 11-Sep-2018 | 11.8 KiB | 318 | 269 |
| ChangeLog-pre-0.54.md | H A D | 11-Sep-2018 | 11.2 KiB | 301 | 259 |
| ChangeLog-pre-0.60.md | H A D | 11-Sep-2018 | 17.2 KiB | 442 | 381 |
| ChangeLog-pre-0.63.md | H A D | 11-Sep-2018 | 19 KiB | 463 | 420 |
| ChangeLog-pre-0.66.md | H A D | 11-Sep-2018 | 16.4 KiB | 366 | 337 |
| ChangeLog-pre-1.0.md | H A D | 11-Sep-2018 | 13.2 KiB | 296 | 260 |
| ChangeLog-pre-1.3.md | H A D | 11-Sep-2018 | 17.2 KiB | 351 | 323 |
| ChangeLog-pre-1.7.md | H A D | 11-Sep-2018 | 24.9 KiB | 498 | 465 |
| ChangeLog.md | H A D | 11-Sep-2018 | 21.9 KiB | 501 | 450 |
| Messages.sh | H A D | 11-Sep-2018 | 198 | 5 | 3 |
| README.md | H A D | 11-Sep-2018 | 5.2 KiB | 168 | 116 |
| TODO.md | H A D | 11-Sep-2018 | 1,021 | 38 | 21 |
| config.h.in | H A D | 11-Sep-2018 | 2.1 KiB | 42 | 33 |
README.md
1# Installation
2## Build and install
3
4 mkdir build
5 cd build
6 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
7 make
8 make install
9
10## CMake configure arguments
111. `ENABLE_QT4`:
12
13 Building QtCurve Qt4 theme.
14
15 (Default: `On`)
16
172. `ENABLE_QT5`:
18
19 Building QtCurve Qt5 theme.
20
21 (Default: `On`)
22
233. `ENABLE_GTK2`:
24
25 Building QtCurve Gtk2 theme.
26
27 (Default: `On`)
28
294. `QTC_ENABLE_X11`:
30
31 Enable X11 support. Require `xcb`, `xlib-xcb`. Will cause
32 `libqtcurve-utils.so` to link to `libxcb`, `libX11-xcb` and `libX11`.
33
34 NOTE: this options will not affect any modules/libraries other than
35 `libqtcurve-utils.so`. `libqtcurve-utils.so` with/without the option
36 are API and ABI compatible although some functions will be NO-OP with
37 X11 disabled.
38
39 (Default: `On`)
40
415. `QTC_INSTALL_PO`:
42
43 Install `*.po` translation files.
44
45 (Default: `On`)
46
476. `QTC_QT4_ENABLE_KDE`:
48
49 Compile QtCurve qt4 style with KDE support and dependencies.
50
51 (Default: `On`)
52
537. `QTC_QT4_ENABLE_KWIN`:
54
55 Compile QtCurve qt4 kwin style. This will only have effect when KDE support
56 is turned on. Also require a X11 build of Qt4 and `libxcb` headers.
57
58 (Default: `On` if kwin header is found and KDE support is on,
59 `Off` otherwise)
60
618. `QTC_KDE4_PREFIX`:
62
63 The install prefix of KDE4.
64
65 (Default: the value returned by `kde4-config` or `${CMAKE_INSTALL_PREFIX}`
66 if `kde4-config` is not found.)
67
689. `QTC_KDE4_ICONS_PREFIX`:
69
70 The path of KDE4 icons.
71
72 (Default: `${QTC_KDE4_PREFIX}/share/icons`)
73
7410. `QTC_QT5_ENABLE_KDE`:
75
76 Compile QtCurve qt5 style with KDE Frameworks support and dependencies.
77
78 (Default: `On`)
79
80## Deprecated and temporary options.
81These compile options were used to turn on/off some experimental features or
82work around for certain hardware/software/drivers. It is not guaranteed that
83any of the non-default value of these options can work and some of these
84options may crash certain applications. They may also be removed at any time
85(especially the ones to work around old hardware or driver bugs) and are not
86recommanded to turn on in distribution packages.
87
881. `QTC_QT4_STYLE_SUPPORT`:
89
90 Support QtCurve style files. These are stored as
91 `<kde prefix>/share/apps/kstyle/themes/qtc_<stylename>.themerc`
92 Note that this is not supported in Qt5.
93
94 (Default: `Off`)
95
96# Additional Features
97## XBar/MacMenu
98The XBar support was copied directly from Bespin. The relevant files are named
99`macmenu.*`. These were taken from revision 652.
100
101**Deprecated** in favor of appmenu since KWin has builtin support for that
102after `4.10` and `appmenu-qt` does not depend on a certain theme.
103
104## Themes
105As of v0.55, you can create QtCurve based themes. These will appear with KDE's
106style control panel's combobox of styles. To create a new theme, select
107'QtCurve' from within KDE's style panel, then configure QtCurve as required.
108After this, in QtCurve's config dialog, select 'Export theme' from the options
109menu button. You will then be prompted to give your new 'theme' a name, and a
110comment. QtCurve will then create a file named `qtc_<name>.themerc`
111(e.g. `qtc_klearlooks.themerc`) - this will have the following format:
112
113 [Misc]
114 Name=Klearlooks
115 Comment=Clearlooks inspired style
116 [KDE]
117 WidgetStyle=qtc_klearlooks
118 [Settings]
119 animatedProgress=false
120 appearance=gradient
121 ....rest of qtcurve settings...
122
123To use this theme, either copy `qtc_<name>.themerc` to
124`$KDEHOME/share/apps/kstyle/themes/`
125(usually `~/.kde/share/apps/kstyle/themes/`)
126or copy to `<kde install prefix>/share/apps/kstyle/themes/`
127(usually `/usr/share/apps/kstyle/themes/`)
128
129When KDE's style panel is restarted, your new theme should appear in the list.
130
131**NOTE**: As of QtCurve 1.0.0 style support has been disabled by default (enable
132via `QTC_QT4_STYLE_SUPPORT`) and this is not supported by Qt5.
133
134## Testing
135As of v1.2.1, QtCurve can be forced to read its settings from an alternate
136config file via the `QTCURVE_CONFIG_FILE` environment variable. This is only
137really useful for testing alternate config settings without changing the users
138current settings.
139
140Usage:
141
142 QTCURVE_CONFIG_FILE=~/testfile kcalc
143
144# Compiler versions requirement
145QtCurve requires the GNU dialect of ISO C99 and ISO C++11 (which means the
146compilers have to support `-std=gnu99` and `-std=c++0x` command line option).
147`g++>=4.7` and `clang++>=3.3` are fully supported. C compiler for any
148reasonable version of gcc and clang should all work well.
149
150For g++ older than 4.7, you need `-Doverride=` in the `CXXFLAGS` since it
151does not support the override keyword in c++11. The trick should work down to
152g++ 4.4 for the Qt4 style and 4.6 for the Qt5 stle.
153
154clang++ 3.3 is not compatible with the stdc++ header shipped with gcc 4.7 so
155libc++ is required when compiling with clang++ 3.3.
156
157# License
158QtCurve `1.8.17` and earlier was licensed under GPLv2+. It was relicensed under
159LGPLv2.1+ on Nov. 14th 2013 in order to avoid confusion for moving into
160KDE-infrastructure. This relicensing have got permissions from all contributors
161of QtCurve (`git log --format='%aN <%aE>' | sort -u`):
162
163 Andrey Bondrov <andrey.bondrov@rosalab.ru>
164 Boris Pek <tehnick-8@yandex.ru>
165 Craig Drummond <craig.p.drummond@gmail.com>
166 Sven-Hendrik Haase <sh@lutzhaase.com>
167 Yichao Yu <yyc1992@gmail.com>
168