libqtxdg Packaging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
ChangZhuo Chen (陳昌倬) 4d27e630cd
Use Qt5
10 years ago
cmake Adding upstream version 1.2.0. 10 years ago
debian Use Qt5 10 years ago
examples/use-qtxdg Adding upstream version 1.2.0. 10 years ago
qiconfix Adding upstream version 1.2.0. 10 years ago
test Adding upstream version 1.2.0. 10 years ago
.gitignore Adding upstream version 1.2.0. 10 years ago
AUTHORS Adding upstream version 1.2.0. 10 years ago
CMakeLists.txt Adding upstream version 1.2.0. 10 years ago
COPYING Adding upstream version 1.2.0. 10 years ago
README Adding upstream version 1.2.0. 10 years ago
desktopenvironment_p.cpp Adding upstream version 1.2.0. 10 years ago
release.sh Adding upstream version 1.2.0. 10 years ago
xdgaction.cpp Adding upstream version 1.2.0. 10 years ago
xdgaction.h Adding upstream version 1.2.0. 10 years ago
xdgautostart.cpp Adding upstream version 1.2.0. 10 years ago
xdgautostart.h Adding upstream version 1.2.0. 10 years ago
xdgdesktopfile.cpp Adding upstream version 1.2.0. 10 years ago
xdgdesktopfile.h Adding upstream version 1.2.0. 10 years ago
xdgdesktopfile_p.h Adding upstream version 1.2.0. 10 years ago
xdgdirs.cpp Adding upstream version 1.2.0. 10 years ago
xdgdirs.h Adding upstream version 1.2.0. 10 years ago
xdgicon.cpp Adding upstream version 1.2.0. 10 years ago
xdgicon.h Adding upstream version 1.2.0. 10 years ago
xdgmacros.h Adding upstream version 1.2.0. 10 years ago
xdgmenu.cpp Adding upstream version 1.2.0. 10 years ago
xdgmenu.h Adding upstream version 1.2.0. 10 years ago
xdgmenu_p.h Adding upstream version 1.2.0. 10 years ago
xdgmenuapplinkprocessor.cpp Adding upstream version 1.2.0. 10 years ago
xdgmenuapplinkprocessor.h Adding upstream version 1.2.0. 10 years ago
xdgmenulayoutprocessor.cpp Adding upstream version 1.2.0. 10 years ago
xdgmenulayoutprocessor.h Adding upstream version 1.2.0. 10 years ago
xdgmenureader.cpp Adding upstream version 1.2.0. 10 years ago
xdgmenureader.h Adding upstream version 1.2.0. 10 years ago
xdgmenurules.cpp Adding upstream version 1.2.0. 10 years ago
xdgmenurules.h Adding upstream version 1.2.0. 10 years ago
xdgmenuwidget.cpp Adding upstream version 1.2.0. 10 years ago
xdgmenuwidget.h Adding upstream version 1.2.0. 10 years ago
xdgmime.cpp Adding upstream version 1.2.0. 10 years ago
xdgmime.h Adding upstream version 1.2.0. 10 years ago
xdgmimetype.cpp Adding upstream version 1.2.0. 10 years ago
xdgmimetype.h Adding upstream version 1.2.0. 10 years ago
xmlhelper.cpp Adding upstream version 1.2.0. 10 years ago
xmlhelper.h Adding upstream version 1.2.0. 10 years ago

README

Overview
========
libqtxdg is An Qt implementation of freedesktop.org xdg specifications.
It can be built with Qt4 and Qt5


Dependencies
============
Qt4 build:
Qt4
libmagic OR QtMimeTypes

QtMimeTypes the preffered. libmagic is deprecated and may be dropped in future
releases.
QtMimeTypes can be found at: https://qt.gitorious.org/qtplayground/mimetypes

Qt5 build:
Qt5


Configuration
============
libqtxdg uses the CMake build system. Everything that applies to CMake also
applies here.

Configuration options:
USE_QT5 Builds with Qt5, defaults to then environment variable
with the same name.

USE_QTMIMETYPES It only affects the Qt4 build. Builds using QtMimeTypes.
Defaults to On. If set to OFF libmagic will be used.

BUILD_TESTS Builds tests, defaults to OFF

Configuration Examples:
Build with Qt5 and build self tests:
cmake -DUSE_QT5=ON -DBUILD_TESTS=ON ..

Build with Qt4 and no tests using QtMimeTypes
cmake -DUSE_QT5=OFF ..

Build with Qt4, no tests and using libmagic
cmake -DUSE_QT5=OFF -DUSE_QTMIMETYPES=OFF ..