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.
Andrew Lee (李健秋)
d15ac9e227
|
9 years ago | |
---|---|---|
cmake | 9 years ago | |
debian | 9 years ago | |
examples/use-qtxdg | 9 years ago | |
qiconfix | 9 years ago | |
test | 9 years ago | |
.gitignore | 9 years ago | |
AUTHORS | 9 years ago | |
CMakeLists.txt | 9 years ago | |
COPYING | 9 years ago | |
README | 9 years ago | |
desktopenvironment_p.cpp | 9 years ago | |
release.sh | 9 years ago | |
xdgaction.cpp | 9 years ago | |
xdgaction.h | 9 years ago | |
xdgautostart.cpp | 9 years ago | |
xdgautostart.h | 9 years ago | |
xdgdesktopfile.cpp | 9 years ago | |
xdgdesktopfile.h | 9 years ago | |
xdgdesktopfile_p.h | 9 years ago | |
xdgdirs.cpp | 9 years ago | |
xdgdirs.h | 9 years ago | |
xdgicon.cpp | 9 years ago | |
xdgicon.h | 9 years ago | |
xdgmacros.h | 9 years ago | |
xdgmenu.cpp | 9 years ago | |
xdgmenu.h | 9 years ago | |
xdgmenu_p.h | 9 years ago | |
xdgmenuapplinkprocessor.cpp | 9 years ago | |
xdgmenuapplinkprocessor.h | 9 years ago | |
xdgmenulayoutprocessor.cpp | 9 years ago | |
xdgmenulayoutprocessor.h | 9 years ago | |
xdgmenureader.cpp | 9 years ago | |
xdgmenureader.h | 9 years ago | |
xdgmenurules.cpp | 9 years ago | |
xdgmenurules.h | 9 years ago | |
xdgmenuwidget.cpp | 9 years ago | |
xdgmenuwidget.h | 9 years ago | |
xdgmime.cpp | 9 years ago | |
xdgmime.h | 9 years ago | |
xdgmimetype.cpp | 9 years ago | |
xdgmimetype.h | 9 years ago | |
xmlhelper.cpp | 9 years ago | |
xmlhelper.h | 9 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 ..