July 7th, 2014. The KDE Community is proud to announce KDEFrameworks 5.0. Frameworks 5 is the next generation of KDE libraries,modularized and optimized for easy integration in Qt applications. TheFrameworks offer a wide variety of commonly needed functionality inmature, peer reviewed and well tested libraries with friendly licensingterms. There are over 50 different Frameworks as part of this releaseproviding solutions including hardware integration, file format support,additional widgets, plotting functions, spell checking and more. Manyof the Frameworks are cross platform and have minimal or no extradependencies making them easy to build and add to any Qt application.
The KDE Frameworks represent an effort to rework the powerful KDEPlatform 4 libraries into a set of independent, cross platform modulesthat will be readily available to all Qt developers to simplify,accelerate and reduce the cost of Qt development. The individualFrameworks are cross-platform and well documented and tested and theirusage will be familiar to Qt developers, following the style andstandards set by the Qt Project. Frameworks are developed under theproven KDE governance model with a predictable release schedule, aclear and vendor neutral contributor process, open governance andflexible licensing (LGPL).
The Frameworks have a clear dependency structure, divided intoCategories and Tiers. The Categories refer to runtime dependencies:
- Functional elements have no runtime dependencies.
- Integration designates code that may require runtime dependencies for integration depending on what the OS or platform offers.
- Solutions have mandatory runtime dependencies.
The
Tiers refer to compile-time dependencies on otherFrameworks. Tier 1 Frameworks have no dependencies within Frameworks andonly need Qt and other relevant libraries. Tier 2 Frameworks can dependonly on Tier 1. Tier 3 Frameworks can depend on other Tier 3Frameworks as well as Tier 2 and Tier 1.
The transition from Platform to Frameworks has been in progress for over 3 years, guided by top KDE technical contributors.Learn more about Frameworks 5
in this article from last year.
Highlights There are over 50 Frameworks currently available. Browse the complete set
in the online API documentation. Below an impression of some of the functionality Frameworks offers to Qt application developers.
KArchive offers support for many popular compressioncodecs in a self-contained, featureful and easy-to-use file archivingand extracting library. Just feed it files; there's no need to reinventan archiving function in your Qt-based application!
ThreadWeaver offers a high-level API to manage threadsusing job- and queue-based interfaces. It allows easy scheduling ofthread execution by specifying dependencies between the threads andexecuting them satisfying these dependencies, greatly simplifying theuse of multiple threads.
KConfig is a Framework to deal with storing andretrieving configuration settings. It features a group-oriented API. Itworks with
INI files and XDG-compliant cascading directories. Itgenerates code based on XML files.
Solid offers hardware detection and can inform anapplication about storage devices and volumes, CPU, battery status,power management, network status and interfaces, and Bluetooth. Forencrypted partitions, power and networking, running daemons arerequired.
KI18n adds Gettext support to applications, making iteasier to integrate the translation workflow of Qt applications in thegeneral translation infrastructure of many projects.
Getting started On
Linux, using packages for your favorite distribution is the recommended way to get access to KDE Frameworks.
Building from source is possible using the basic
cmake .; make; make installcommands. For a single Tier 1 framework, this is often the easiestsolution. People interested in contributing to frameworks or trackingprogress in development of the entire set are encouraged to
use kdesrc-build.Frameworks 5.0 requires Qt 5.2. It represents the first in a series ofplanned monthly releases making improvements available to developers in aquick and predictable manner.
The team is currently working on providing a detailed listing of all Frameworks and third party libraries at
inqlude.org, the curated archive of Qt libraries. A complete list with API documentation is on
api.kde.org.
Contribute Those interested in following and contributing to the development of Frameworks can check out the
git repositories, follow the discussions on the
KDE Frameworks Development mailing list and contribute patches through
review board. Policies and the current state of the project and plans are available at the
Frameworks wiki. Real-time discussions take place on the [url=irc://#
kde-devel@freenode.net]#kde-devel IRC channel on freenode.net[/url].
Supporting KDE KDE is a
Free Softwarecommunity that exists and grows only because of the help of manyvolunteers that donate their time and effort. KDE is always looking fornew volunteers and contributions, whether it is help with coding, bugfixing or reporting, writing documentation, translations, promotion,money, etc. All contributions are gratefully appreciated and eagerlyaccepted. Please read through the
Donations page for further information or become a KDE e.V. supporting member through our new
Join the Game initiative.
About KDE KDE is an international technology team that creates freeand open source software for desktop and portable computing. AmongKDE's products are a modern desktop system for Linux and UNIX platforms,comprehensive office productivity and groupware suites and hundreds ofsoftware titles in many categories including Internet and webapplications, multimedia, entertainment, educational, graphics andsoftware development. KDE software is translated into more than 60languages and is built with ease of use and modern accessibilityprinciples in mind. KDE's full-featured applications run natively onLinux, BSD, Solaris,
Windows and Mac OS X.
Trademark Notices.KDE® and the K Desktop Environment® logo areregistered trademarks of KDE e.V.Linux is a registered trademark of Linus Torvalds.UNIX is a registered trademark of The Open Group in the United States andother countries.All other trademarks and copyrights referred to in this announcement arethe property of their respective owners. 转自:http://kde.org/announcements/kde-frameworks-5.0.php