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.
My first project when I entered KDAB was the migration of a multi-million lines Motif application to Qt... feels quite scary said like that. Fortunately, migrations from any toolkit to Qt is something KDAB has been doing from the beginning, and has lots of experience with.
You may be wondering what this has to do with automating tasks in Qt Creator, or why I have a new entry in my Qt Creator locator... keep up with me and everything will be clear shortly.
Automate all things
There are several rules you have to follow when doing a migration project, but the most important ones are probably those two:
Do not mix migration and refactoring
Automate all things
The second one is true for everything (remember, a good developer is a lazy developer), but it's particularly important when doing a migration, as you don't want to rewrite all single lines in a multi-million lines application by hand.
At that time, I was introduced to the wonderful world of XEmacs and Lisp scripting. During the course of the migration, I spent hours writing Lisp scripts to automate some parts of the migration, some with general purpose (used everywhere), others with a very narrow focus (only used once for one file). Coming from Windows and Microsoft Visual Studio 6 at the time, this was quite a new way to work for me.
Then slightly after this migration project, Qt Creator was released. As much as I like XEmacs and vim (and we all know which one is the best :) ), having a real IDE makes development so much easier, and Qt Creator was adopted quickly inside KDAB.
The road to automation in Qt Creator
Even if we are using Qt Creator, we still need to automate as much as possible, particularly when doing migration projects.
The Macro plugin
My first try was the creation of the macro plugin, contributed to Qt Creator in version 2.2.0. For those who know it, the name is inspired by the macro feature in Notepad++ (also a very nice editor at the time - Windows only). The plugin allows you to save and replay user inputs:
Start recording using Alt+[
Navigate, search, write code
Stop recording using Alt+]
Then replay the macro using Alt+R
If you want to reuse a macro between session, it's possible to save it, call it using the locator (the rm shortcut - "run macro" - probably not really used) or even assign a shortcut.
Though a nice step toward automation, it's still far from perfect, as a macro doesn't understand code semantics (it's only user inputs), and not everything can be recorded: for example completion is not recorded in the macro, as it's not a user input.
The Scripting plugin
Following the macro plugin, our second iteration was the creation of a plugin allowing us to write and run scripts, like you could do with Lisp and XEmacs. At the time, Qt Script was still nice and shiny, so it was based on it and the scripts were written in javascript. Like for macros, you can run scripts using the locator, or even assign shortcuts to useful scripts.
Here is a small script commenting out the function the cursor is in, while keeping the cursor at the same position:
var editor = editors.current()
var start = editor.createMark()
editor.gotoPosition(editor.currentFunction.start)
editor.find("{")
var startOfFunction = editor.position()
editor.gotoBlockEnd()
editor.gotoLineStart();
editor.insert("*/\n")
editor.gotoPosition(startOfFunction)
editor.insert("\n/*")
editor.gotoPosition(start)
As you can see, it's straightforward, and it has some semantic information of the code (editor.currentFunction for example). You have access to a wide range of APIs for scripting:
Access and handling of editors (text, C++ editors)
Code navigation
Files, file infos, directories
Semantic data
Git actions
...
It's actually way better than macros, and to be honest I now only use macros locally, I never save them anymore.
Lately, we reviewed the scripting plugin and checked what could be improved:
It is based on the dying Qt Script module
It's not possible to interact with the script
Back to the drawing board, coming from Qt Script/javascript the natural way forward is Qt Declarative/QML. Our new scripting plugin is now based on the QQmlEngine, and now supports user interactions.
A glimpse into our Qt Creator Scripting plugin
As said, the new plugin is now based on the QQmlEngine, opening a wide array of new features to us.
Script types
There are now two different script types one can use, depending on the needs:
javascript (*.js): automation without user interactions
QML (*.qml): automation, which allows us to add user interaction and visual UI
For the javascript scripts, it's close to what was possible with the previous scripting plugin based on Qt Script, the only difference is that we require a main function.
functionmain(){ message.log("This is a log line: message.log(...)")}
A QML script uses the same API, but allows more freedom, as you can now add a UI to it (using QtQuick) and/or add user interaction with the mouse and keyboard. Here is a small example of a script adding a header to the current file (it could have been done with a javscript script too, it's just an example):
import QtQml 2.2
import Script 1.0
Script{ property var mark
functioninit(){ mark = editor.createMark() editor.gotoDocumentStart() editor.insert("/****************************************************************************\n") editor.insert("/* Copyright (C) "+Qt.formatDate(newDate(),"yyyy")+" Klaralvdalens Datakonsult AB. All rights reserved.\n") editor.insert("** This file is part of the ACME project.") editor.insert("\n**********************************************************************/\n\n") m.restore()Qt.quit()}TextEditor{id:editorfileName:Editors.currentFileName}Component.onCompleted:init()}
User interaction
One of the benefits of having QML scripting is the availability of handling user interaction on an editor: as a script creator, you can easily handle key or mouse inputs on an editor:
Which ultimately leads you to write a game (actually 2: whack-a-mole and follow-path):
To watch this video on our website please or view it directly on YouTube
Conclusion
As someone said once: developers are lazy, and that's (usually) a good thing. It certainly took us some time to develop the different plugins, but it's paying off. It's also more fun to write a tool to automate the work than doing the work itself.
For now the scripting plugin is internal to KDAB, let us know if that's something you would be interested in.
You can download a KDAB whitepaper on Migrations here...
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.
This plugin seems very useful. Is it available / published / open-source?
I did not found any mention to it. (Nothing in open source QtCreator 4.12.1, nothing in KDAB's github repository, nothing the "Qt Creator Plug-in Gallery" Qt Wiki page.)
25 - May - 2020
Nicolas Arnaud-Cormos
Hello,
Thank you for your interest. The goal of this blog post was mostly to show the kind of internal tools we are using at KDAB.
The Scripting plugin is KDAB internal only for now, that's why you didn't find any mention of it. We are currently discussing internally what to do with it, but there are no decisions yet.
2 - Apr - 2021
Serg
We are currently discussing internally what to do with it, but there are no decisions yet.
Any chance the discussion is finished already and you could make us happy?
7 - Apr - 2021
Nicolas Arnaud-Cormos
The discussion is finished, and unfortunately we decided to not publish it, as the gain would be small for us and the burden to maintain it at our standard level high.
Sorry about that.
23 - May - 2020
Konstantin
Great idea. I would like to use it in practice.
25 - May - 2020
Nicolas Arnaud-Cormos
Hello,
Unfortunately the plugin is KDAB internal only. As answered previously, we are discussing internally what to do with it, but there are no decisions yet.
25 - Jun - 2020
E
Hello,
I have a question regarding this QT/QML, Can this platform do automatic processes in my windows? so for example; I have some files that I have to copy and paste from one folder to another- every week and then to start some SQL scripts and then also to use MsAccess, is it possible to do this work all automatic with this platform?
26 - Jun - 2020
Nicolas Arnaud-Cormos
Hello,
The task automation is really specific to writing code in Qt Creator. For what you want to do, you should look at writing powershell scripts.
30 - Sept - 2020
Luuk
This is something I have been looking for a long time. Too bad it is not (yet) available yet.
if (or when) it becomes available, please let me know.
Nicolas Arnaud-Cormos
Senior Software Engineer & Teamlead
Senior software engineer and teamlead at KDAB, Nicolas has actively developed with Qt since 2001 and is a founding member of Qtfr, the French Qt community site. He has worked on multiple Qt widgets or QML projects, with a particular emphasis on API design and software architecture. He has held Qt training classes for companies such as Michelin, Ford and ST-Ericsson. Nicolas holds an MSc in Computer Science.
9 Comments
23 - May - 2020
Bela TOTH
Hello,
This plugin seems very useful. Is it available / published / open-source? I did not found any mention to it. (Nothing in open source QtCreator 4.12.1, nothing in KDAB's github repository, nothing the "Qt Creator Plug-in Gallery" Qt Wiki page.)
25 - May - 2020
Nicolas Arnaud-Cormos
Hello, Thank you for your interest. The goal of this blog post was mostly to show the kind of internal tools we are using at KDAB. The Scripting plugin is KDAB internal only for now, that's why you didn't find any mention of it. We are currently discussing internally what to do with it, but there are no decisions yet.
2 - Apr - 2021
Serg
Any chance the discussion is finished already and you could make us happy?
7 - Apr - 2021
Nicolas Arnaud-Cormos
The discussion is finished, and unfortunately we decided to not publish it, as the gain would be small for us and the burden to maintain it at our standard level high. Sorry about that.
23 - May - 2020
Konstantin
Great idea. I would like to use it in practice.
25 - May - 2020
Nicolas Arnaud-Cormos
Hello, Unfortunately the plugin is KDAB internal only. As answered previously, we are discussing internally what to do with it, but there are no decisions yet.
25 - Jun - 2020
E
Hello,
I have a question regarding this QT/QML, Can this platform do automatic processes in my windows? so for example; I have some files that I have to copy and paste from one folder to another- every week and then to start some SQL scripts and then also to use MsAccess, is it possible to do this work all automatic with this platform?
26 - Jun - 2020
Nicolas Arnaud-Cormos
Hello, The task automation is really specific to writing code in Qt Creator. For what you want to do, you should look at writing powershell scripts.
30 - Sept - 2020
Luuk
This is something I have been looking for a long time. Too bad it is not (yet) available yet. if (or when) it becomes available, please let me know.