Trusted Software Excellence across Desktop and Embedded
Take a glance at the areas of expertise where KDAB excels ranging from swift troubleshooting, ongoing consulting and training to multi-year, large-scale software development projects.
Find out why customers from innovative industries rely on our extensive expertise, including Medical, Biotech, Science, Renewable Energy, Transportation, Mobility, Aviation, Automation, Electronics, Agriculture and Defense.
High-quality Embedded Engineering across the Stack
To successfully develop an embedded device that meets your expectations regarding quality, budget and time to market, all parts of the project need to fit perfectly together.
Learn more about KDAB's expertise in embedded software development.
Where the capabilities of modern mobile devices or web browsers fall short, KDAB engineers help you expertly architect and build high-functioning desktop and workstation applications.
Extensible, Safety-compliant Software for the Medical Sector
Create intelligent, patient-focused medical software and devices and stay ahead with technology that adapts to your needs.
KDAB offers you expertise in developing a broad spectrum of clinical and home-healthcare devices, including but not limited to, internal imaging systems, robotic surgery devices, ventilators and non-invasive monitoring systems.
Building digital dashboards and cockpits with fluid animations and gesture-controlled touchscreens is a big challenge.
In over two decades of developing intricate UI solutions for cars, trucks, tractors, scooters, ships, airplanes and more, the KDAB team has gained market leading expertise in this realm.
Build on Advanced Expertise when creating Modern UIs
KDAB assists you in the creation of user-friendly interfaces designed specifically for industrial process control, manufacturing, and fabrication.
Our specialties encompass the custom design and development of HMIs, enabling product accessibility from embedded systems, remote desktops, and mobile devices on the move.
Legacy software is a growing but often ignored problem across all industries. KDAB helps you elevate your aging code base to meet the dynamic needs of the future.
Whether you want to migrate from an old to a modern GUI toolkit, update to a more recent version, or modernize your code base, you can rely on over 25 years of modernization experience.
KDAB offers a wide range of services to address your software needs including consulting, development, workshops and training tailored to your requirements.
Our expertise spans cross-platform desktop, embedded and 3D application development, using the proven technologies for the job.
When working with KDAB, the first-ever Qt consultancy, you benefit from a deep understanding of Qt internals, that allows us to provide effective solutions, irrespective of the depth or scale of your Qt project.
Qt Services include developing applications, building runtimes, mixing native and web technologies, solving performance issues, and porting problems.
KDAB helps create commercial, scientific or industrial desktop applications from scratch, or update its code or framework to benefit from modern features.
Discover clean, efficient solutions that precisely meet your requirements.
Boost your team's programming skills with in-depth, constantly updated, hands-on training courses delivered by active software engineers who love to teach and share their knowledge.
Our courses cover Modern C++, Qt/QML, Rust, 3D programming, Debugging, Profiling and more.
The collective expertise of KDAB's engineering team is at your disposal to help you choose the software stack for your project or master domain-specific challenges.
Our particular focus is on software technologies you use for cross-platform applications or for embedded devices.
Since 1999, KDAB has been the largest independent Qt consultancy worldwide and today is a Qt Platinum partner. Our experts can help you with any aspect of software development with Qt and QML.
KDAB specializes in Modern C++ development, with a focus on desktop applications, GUI, embedded software, and operating systems.
Our experts are industry-recognized contributors and trainers, leveraging C++'s power and relevance across these domains to deliver high-quality software solutions.
KDAB can guide you incorporating Rust into your project, from as overlapping element to your existing C++ codebase to a complete replacement of your legacy code.
Unique Expertise for Desktop and Embedded Platforms
Whether you are using Linux, Windows, MacOS, Android, iOS or real-time OS, KDAB helps you create performance optimized applications on your preferred platform.
If you are planning to create projects with Slint, a lightweight alternative to standard GUI frameworks especially on low-end hardware, you can rely on the expertise of KDAB being one of the earliest adopters and official service partner of Slint.
KDAB has deep expertise in embedded systems, which coupled with Flutter proficiency, allows us to provide comprehensive support throughout the software development lifecycle.
Our engineers are constantly contributing to the Flutter ecosystem, for example by developing flutter-pi, one of the most used embedders.
KDAB invests significant time in exploring new software technologies to maintain its position as software authority. Benefit from this research and incorporate it eventually into your own project.
Start here to browse infos on the KDAB website(s) and take advantage of useful developer resources like blogs, publications and videos about Qt, C++, Rust, 3D technologies like OpenGL and Vulkan, the KDAB developer tools and more.
The KDAB Youtube channel has become a go-to source for developers looking for high-quality tutorial and information material around software development with Qt/QML, C++, Rust and other technologies.
Click to navigate the all KDAB videos directly on this website.
In over 25 years KDAB has served hundreds of customers from various industries, many of them having become long-term customers who value our unique expertise and dedication.
Learn more about KDAB as a company, understand why we are considered a trusted partner by many and explore project examples in which we have proven to be the right supplier.
The KDAB Group is a globally recognized provider for software consulting, development and training, specializing in embedded devices and complex cross-platform desktop applications.
Read more about the history, the values, the team and the founder of the company.
When working with KDAB you can expect quality software and the desired business outcomes thanks to decades of experience gathered in hundreds of projects of different sizes in various industries.
Have a look at selected examples where KDAB has helped customers to succeed with their projects.
KDAB is committed to developing high-quality and high-performance software, and helping other developers deliver to the same high standards.
We create software with pride to improve your engineering and your business, making your products more resilient and maintainable with better performance.
KDAB has been the first certified Qt consulting and software development company in the world, and continues to deliver quality processes that meet or exceed the highest expectations.
In KDAB we value practical software development experience and skills higher than academic degrees. We strive to ensure equal treatment of all our employees regardless of age, ethnicity, gender, sexual orientation, nationality.
Interested? Read more about working at KDAB and how to apply for a job in software engineering or business administration.
Every sizable project has a 'utils' file or folder that contains functionality that is needed more than once but too small to be a library. KDE is no different, except we want to share our 'utils' folder across hundreds of projects. This is where the KCoreAddons framework comes into play. The name comes from the fact that it consists of addons to QtCore, extending existing functionality from it or implementing things that are missing. Let's look at what it offers.
Plugin Support
Plugins are a common architectural element in applications that, for example, allow for third-party extensions. Qt offers a cross-platform means of building binary plugins, QPluginLoader. KCoreAddons offers some additional functionality for loading plugins based on QPluginLoader.
We often want to list all available plugins to, for example, provide a UI for configuring them. To list all plugins in $QT_PLUGIN_PATH/myplugins, we would write code like this:
Not too bad, albeit a bit verbose. However, if we want it to work properly on Android, we'd need extra code; plugin naming and loading work differently there. The handling of static plugins would require extra code, too.
KCoreAddons offers a convenient function that abstracts away all of the boring details and edge-cases:
KPluginMetaData contains a parsed version of the plugin's JSON metadata (QPluginLoader::metaData()). It offers convenient support for common metadata keys, such as information about the plugin's author and license, but can be used to read arbitrary metadata.
The plugins can then be loaded using the familiar QPluginLoader:
This works great for many use-cases. However, sometimes you want to create multiple instances of MyInterface. This is something that QPluginLoader does not allow. KPluginFactory comes to the rescue, here.
To use it, we need to define our interface and implementation in a particular way:
metaData gives access to the plugin's JSON metadata from within the instance. args allows passing additional arguments while creating the instance, which is useful for per-instance configuration.
Now, an instance can be created using the following:
instantiatePlugin returns a result object that contains the instantiated plugin (if successful) and information about what went wrong otherwise.
KUser
Sometimes, you want to query some information about the user of your software to, for example, greet them with their full name. KUser provides a cross-platform way to query information about user accounts that are on the system.
KUser user;// The current userqDebug()<< “Hello” << user.fullName();
KFormat
Displaying data to the user is the bread-and-butter of many applications. The way the data is formatted and presented can make or break the overall user experience. The KFormat class helps with formatting values, date and time information, and durations in a visually-appealing way.
For instance, when displaying the date of an event, we may want to show "Yesterday" or "Last Tuesday," if the event happened recently, and the exact date, if the event happened further in the past:
QDate date = …;KFormat format;qDebug()<< format.formatRelativeDate(date, QLocale::LongFormat);
When displaying durations, we may want to show the value in a textual way instead of e.g., raw milliseconds:
KFormat format;qDebug()<< format.formatSpelloutDuration(62005);// prints “1 minute and 2 seconds”
When showing the size of a file, we are usually not interested in full precision; an approximation is often enough. Furthermore, files come in a wide range of sizes, from bytes to gigabytes. Depending on the size, we want to choose an appropriate prefix (e.g. kB or GB). This is where formatByteSize is useful:
QFile file(…);KFormat format;// prints “1.4 MBqDebug()<< format.formatByteSize(file.size(),1, KFormat::MetricBinaryDialect);
formatByteSize allows the tweaking of things like precision, prefix, and unit dialect (e.g. MiB vs MB).
KStringHandler
KStringHandler offers useful useful helper functions for string manipulation. For example, the lsqueeze/csqueeze/rsqueeze functions allow limiting a string to a specified length, adding ellipsis ("...") where needed.
// prints “KDE is … awesome”qDebug()<<KStringHandler::csqueeze(“KDE is really awesome”,19);
KStringHandler::capwords capitalizes every word in a sentence:
// prints “The Quick Brown Fox Jumped Over The Lazy Bridge.”qDebug()<<KStringHandler::capwords(“The quick brown fox jumped over the lazy bridge.”);
Many More Useful Features...
This is just the tip of the iceberg. KCoreAddons offers many more useful features for application developers. For the full list, please consult the API documentation.
KCoreAddons is supported on Linux, Windows, macOS, Android, and FreeBSD. You can find the source code on KDE's Gitlab instance.
Stay tuned for the next KDE Frameworks introduction post!
If you missed parts one and two of this blog series, please take a look at those as well.
About KDAB
Trusted software excellence across embedded and desktop platforms
The KDAB Group is a globally recognized provider for software consulting, development and training, specializing in embedded devices and complex cross-platform desktop applications. In addition to being leading experts in Qt, C++ and 3D technologies for over two decades, KDAB provides deep expertise across the stack, including Linux, Rust and modern UI frameworks. With 100+ employees from 20 countries and offices in Sweden, Germany, USA, France and UK, we serve clients around the world.
For actually obtaining the package there's multiple options and KDE Frameworks don't require/prefer a particular one. vcpkg for example offers many KDE Frameworks
26 - May - 2022
Julia
Does it support Qt6 yet? I noticed that my KDE installation still using Qt5.
27 - May - 2022
Nicolas Fella
Currently it's possible to build most frameworks against Qt6, but it's experimental and not officially supported yet.
Nicolas is a software engineer at KDAB with multiple years of experience developing with Qt/C++ and several contributions to Qt. He has a passion for open source and works as Software Platform Engineer at KDE e.V., the non-profit behind the KDE Community. There he has spearheaded the transition to Qt6 and is working on modernizing and improving the building blocks underpinning all KDE software.
4 Comments
26 - May - 2022
Julia
I wish there is a braindead copy-paste cmake command to include the library so that i can try without any hassle.
27 - May - 2022
Nicolas Fella
Linking against KCoreAddons with CMake can be done like this: find_package(KF5CoreAddons) target_link_libraries(yourapp KF5::CoreAddons)
That's also mentioned on https://api.kde.org/frameworks/kcoreaddons/html/index.html
For actually obtaining the package there's multiple options and KDE Frameworks don't require/prefer a particular one. vcpkg for example offers many KDE Frameworks
26 - May - 2022
Julia
Does it support Qt6 yet? I noticed that my KDE installation still using Qt5.
27 - May - 2022
Nicolas Fella
Currently it's possible to build most frameworks against Qt6, but it's experimental and not officially supported yet.
I will be speaking about KDE and Qt6 at the upcoming Qt DevCon: https://www.qtdevcon.com/kdes-journey-to-qt-6/