KShutdown - README
Visit KShutdown Home Page and
Wiki for more info.
KDE 4/Linux
Minimal Requirements
- KDE 4.1+ and Qt 4.4+
- GNU/Linux and X11
Compilation & Installation
- Additional requirements: installed
"kdelibs-dev"
package and CMake 2.4
- To compile and install KShutdown run:
./Setup-kde4.sh
- To change the installation directory (prefix) run:
./Setup-kde4.sh "/your/prefix/dir"
Common Errors
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
...;/usr/lib/kde4/share/kde4/apps
Install "kdelibs-dev"
package.
"pushd: not found" error
Try to run
./Setup-kde4.sh
and
cd build.tmp; sudo make install
instead of
sudo sh Setup-kde4.sh
Compilation & Installation (alternate method; for Geeks only)
BUILDTYPE can be Release
or Debug
.
You can change the installation directory (prefix) by settings the CMAKE_INSTALL_PREFIX
variable.
To display default prefix for KDE 4 applications, run kde4-config --prefix
.
- Create output directory:
mkdir build && cd build
- Generate Makefiles:
cmake -DCMAKE_BUILD_TYPE=BUILDTYPE -DCMAKE_INSTALL_PREFIX="/usr/local" ..
- Compile:
make
- Install:
make install
Qt 4/Linux
Minimal Requirements
- Qt 4.4+ (KDE libraries are not required)
- GNU/Linux and X11
Compilation & Installation
- Sorry, under construction
Qt 4/Windows
Minimal Requirements
- Qt/Windows Open Source Edition 4.4+ (static library)
- MinGW
- Nullsoft Scriptable Install System (NSIS)
- Windows XP or compatible (including Wine)
Compilation & Installation
- To compile and install KShutdown run:
Setup-qt4.bat
(this will build both portable and installable version)
- Experimental: To compile KShutdown under Wine/Linux run:
./Setup-wine.sh