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.
If you’re already using QML in Qt, you know that it can help quickly create flexible user interfaces using little or no C++ programming. With a basic text file and some JavaScript logic, you can put together a pretty sophisticated interface like that shown in the Qt Quick Clock demo (below) with a minimum of fuss. But did you know you can compress your plainly readable QML and hide it away inside a binary?
Figure 1: Qt Quick Clock screen
If substantial portions of the application are in a plain text file, they could be examined or modified by the user. That’s a concern if your UX contains sensitive information. Perhaps you want to remove any temptation to “tinker” with the interface, ensuring there are no unnecessary support calls. Is there any opportunity to more tightly bundle those QML resources along with the executable? Thankfully, the answer is a resounding “yes”.
Standard Qt resources—icons, bitmaps, audio files, translation tables, etc—can be compressed and linked to the executable, allowing you to create a distribution with fewer external dependencies. Not only is this simpler to manage for versioning and installation, but it provides a measure of confidence that your application will always have the resources it depends on to run properly.
With just a bit of creativity, the Qt resource capability can also be used to insert QML files into an accompanying library, making the QML a bit more protected while retaining the interface definition separate from the executable. The trick is to subvert the QML plugin capability to bind your QML into the app. You still need a bit of a QML stub to get the process kicked off. However, the main logic and content gets pulled into the app through the QML plugin, turning it into an “invisible” resource.
Here’s a little example of this approach by merging the QMLExtensionPlugins and Qt Quick Clock examples so you can see this technique in action.
First of all, we insert a line in our Qt project files (src.pro) to add an “install” directory:
target.path = $$OUT_PWD/../install
Now we’ll be able to run “make install” to create our plugin. But what goes in the plugin? The plugins directory from the example contains the files needed to manage and install the Qt plugin process, so we copy those directly. Again, we need to adapt those to integrate our Clock example, so here are the files we need:
Clock.qml is our QML file that we’ll incorporate into our plugin, and the png images are referenced in the QML for drawing the clock face.
We need to create a resource file that we’ll call qmlqtimeexampleplugin.qrc that pulls in our Clock.qml as well as the other resources referenced by our QML:
In this case, we don’t need a prefix when referring to the resource as they’re in the same directory as the QML. (If you do need to access something in a specific QtResource path, you can prepend “qrc:///<path>” to your resource name when you reference it.)
We also need to create a qmldir file in the TimeExample directory to define our module:
We keep the qmldir module definition file separated from the Qt Resources so our application can find the plugin.
After handling all of the above details, and doing a build to create the plugin shared object, we’re left with the following files for the main application to use:
We won’t step through the entire Qt plugin mechanism in this blog, but we will quickly review the other bits needed to take advantage of our new plugin:
qrc lists the program resources; in this case it’s just the plugins.qml file below
qml provides the interface to our QML resource. Of course the implementation is provided within the libqmlqtimeexampleplugin.so file that we’ve just created
imports/plugin.cpp is the C++ implementation that ties things together
Now that we have all of the QML and plugin components in place, our main.cpp file puts the gears in motion like this:
We’ve now got our user interface safely encapsulated in a .so, safe from tampering, compressed for size, and bundled with all the resources it needs. No more excuses for not jumping on the QML bandwagon!
Just a silly question, but what is the advantage of packaging inside a plugin vs just simply putting the QML files into an application resource?
1 - Dec - 2015
Laurent
If you can put in your application is great.
But during my project it was not.
So I embedded qml in plugin directly
15 - Nov - 2015
jiangcaiyang
Hello respected engineers. I'd like to have a deep talk with you.
Say, your article is quite inspiring that I could extend from your point of view. However, Something must be wrong that I've ran into what is so frustrating at embedding static plugins in my Qt program.
Try to extend this program: Modify something to make the plugin as static Qt plugin, and import it using Q_IMPORT_PLUGIN macro. Suppose that I have two of them, and I have to link the static plugin sequentially. But something strange happened. How to say....
I've created a github repository to describe my problem, I'm looking for help.
https://github.com/jiangcaiyang/multiple-static-qt-plugins-link-problem
27 - Nov - 2015
Thomas
Hi Laurent, hi Andy,
let me at first thank you for writing the very interesting article.
QML is missing a technique like this to hide the implementation details. There is the QML compiler for the more expensive commercial QT versions, I guess, The QML compiler is not included in the MobileDeveloper license package though.
Unfortunately, I could not follow your example with the clocks.
It seems I am missing a crucial step somewhere .. .
(I am using a mac, so I do not get a .so, but a .dylib libary.)
In the plugins dir, I did a qmake, make, make install and got a dylib called libqmlqtimeexampleplugin.dylib.
The install step copied the lib to ./install/TimeExample
Then I did a qmake, make, make install in src and I do get an application file called extensionpluginsapps.app.
The install step copied this file into ./install .
But unfortunately, when I start these apps, I just get a white screen, no clocks.
Do you know what I am doing wrong ?
Is there a Mac difference ?
Thanks for your help,
Thomas
1 - Dec - 2015
Laurent
Hi,
I don't develop on Mac. So I can't add more info about it.
But it uses standard QMake code so for me it will work.
Really I don't know why it doesn't work for you.
2 - Dec - 2015
Thomas
Hi,
so the compilation sequence I followed is correct then, right ?
I am going to try on a Linux box now.
Thanks for your help,
Thomas
2 - Dec - 2015
Thomas
Hi, on a Linux machine the example works straight out of the box.
The qml code is still very easily extracted from the plugin (or even a static plugin) with a simple hex viewer.
Now I am missing the difference between this approach and using a .qrc resource file, where the listed files get 'compiled' into the binary. With both systems the qml files are quite easy to read, but not easy to tinker with.
Thomas
Laurent Montel
Senior Software Engineer
Laurent Montel is a Senior Software Engineer at KDAB
Andy Gryc
Co-Founder at Third Law autotech marketing
Andy Gryc is a Co-Founder at Third Law autotech marketing
7 Comments
9 - Nov - 2015
NickD
Just a silly question, but what is the advantage of packaging inside a plugin vs just simply putting the QML files into an application resource?
1 - Dec - 2015
Laurent
If you can put in your application is great. But during my project it was not. So I embedded qml in plugin directly
15 - Nov - 2015
jiangcaiyang
Hello respected engineers. I'd like to have a deep talk with you. Say, your article is quite inspiring that I could extend from your point of view. However, Something must be wrong that I've ran into what is so frustrating at embedding static plugins in my Qt program. Try to extend this program: Modify something to make the plugin as static Qt plugin, and import it using Q_IMPORT_PLUGIN macro. Suppose that I have two of them, and I have to link the static plugin sequentially. But something strange happened. How to say.... I've created a github repository to describe my problem, I'm looking for help. https://github.com/jiangcaiyang/multiple-static-qt-plugins-link-problem
27 - Nov - 2015
Thomas
Hi Laurent, hi Andy,
let me at first thank you for writing the very interesting article. QML is missing a technique like this to hide the implementation details. There is the QML compiler for the more expensive commercial QT versions, I guess, The QML compiler is not included in the MobileDeveloper license package though.
Unfortunately, I could not follow your example with the clocks. It seems I am missing a crucial step somewhere .. . (I am using a mac, so I do not get a .so, but a .dylib libary.) In the plugins dir, I did a qmake, make, make install and got a dylib called libqmlqtimeexampleplugin.dylib. The install step copied the lib to ./install/TimeExample
Then I did a qmake, make, make install in src and I do get an application file called extensionpluginsapps.app. The install step copied this file into ./install .
But unfortunately, when I start these apps, I just get a white screen, no clocks.
Do you know what I am doing wrong ? Is there a Mac difference ?
Thanks for your help, Thomas
1 - Dec - 2015
Laurent
Hi, I don't develop on Mac. So I can't add more info about it. But it uses standard QMake code so for me it will work. Really I don't know why it doesn't work for you.
2 - Dec - 2015
Thomas
Hi, so the compilation sequence I followed is correct then, right ?
I am going to try on a Linux box now. Thanks for your help, Thomas
2 - Dec - 2015
Thomas
Hi, on a Linux machine the example works straight out of the box.
The qml code is still very easily extracted from the plugin (or even a static plugin) with a simple hex viewer. Now I am missing the difference between this approach and using a .qrc resource file, where the listed files get 'compiled' into the binary. With both systems the qml files are quite easy to read, but not easy to tinker with.
Thomas