• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

cmake/H11-Sep-2018-1,9631,746

data/H03-May-2022-

gtk2/H03-May-2022-19,59216,361

lib/H03-May-2022-7,0634,985

po/H11-Sep-2018-155,822134,573

qt4/H03-May-2022-38,68132,679

qt5/H03-May-2022-37,97932,051

test/H03-May-2022-1,197769

tools/H03-May-2022-9257

.gitignoreH A D11-Sep-2018236 3433

.mailmapH A D11-Sep-201895 21

.reviewboardrcH A D11-Sep-2018141 54

AUTHORSH A D11-Sep-2018536 1615

Bugs.mdH A D11-Sep-20182.2 KiB3837

COPYINGH A D11-Sep-201825.9 KiB511422

ChangeLog-pre-0.30.mdH A D11-Sep-201816.7 KiB397349

ChangeLog-pre-0.47.mdH A D11-Sep-201811.8 KiB318269

ChangeLog-pre-0.54.mdH A D11-Sep-201811.2 KiB301259

ChangeLog-pre-0.60.mdH A D11-Sep-201817.2 KiB442381

ChangeLog-pre-0.63.mdH A D11-Sep-201819 KiB463420

ChangeLog-pre-0.66.mdH A D11-Sep-201816.4 KiB366337

ChangeLog-pre-1.0.mdH A D11-Sep-201813.2 KiB296260

ChangeLog-pre-1.3.mdH A D11-Sep-201817.2 KiB351323

ChangeLog-pre-1.7.mdH A D11-Sep-201824.9 KiB498465

ChangeLog.mdH A D11-Sep-201821.9 KiB501450

Messages.shH A D11-Sep-2018198 53

README.mdH A D11-Sep-20185.2 KiB168116

TODO.mdH A D11-Sep-20181,021 3821

config.h.inH A D11-Sep-20182.1 KiB4233

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