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.
Our colleague Alessandro Ambrosano created a series of blogs (parts 1, 2, and 3) that explain how to get Visual Studio Code configured for Qt development. In that series, Alessandro covers all the details you need to get your VS Code environment configured exactly the way you want it. But there’s a lot there to read.
What if you’re short on time… or attention span? Then you want this blog. We’ve created the fastest way to get going for Qt developers who want to use the world’s best C++ UX framework with the powerful VS Code IDE. By putting most of the necessary ingredients into CMake, it really trims down what’s necessary to get things working. We’ve tested this basic setup on Windows, Mac, and Linux computers. (And if you need to tweak anything further, just go back and read Alessandro’s blogs for more info.)
Although there are a few steps here, there really isn’t much to do. We’ve just broken it down into all the individual bits with screen shots so you can follow along. We’ve also provided two ways to do this – one starting from a script, and one starting directly in the VS Code IDE. We’re going to explain the IDE-only version here, but the code and instructions in our Git repository supports both methods, so check out https://github.com/KDABLabs/blog-vscode-template.git if you prefer launching VS Code from a script.
If you are really in a hurry, check out https://github.com/KDABLabs/blog-vscode-template.git and read the readme for the platform you are working on. Just copy the files in your project and you are good to go/
Let’s go!
Prerequisites
We’re going to assume that you’ve already got VS Code and Qt If not, go take care of that now and come back when you’re done.
If you’re using Windows, you’ll need to add an environment variable that points to Qt and to make sure that Qt is in your path. You can do this in a VS Code launch script as we explain in README-Windows.md in our repo. Depending on what version of Qt you’re using, the command-line version of what you need will be something like this:
If you prefer, you can also set these variables on a system-wide basis. This might be easier if you intend on launching VS Code from the GUI instead of the command-line. In this case, click “Start”, type "environment properties", and when the System Properties window comes up, click Environment Variables. Then:
Create a new variable called QTDIR set to C:\Qt\6.5.1\msvc2019_64\
Add C:\Qt\6.5.1\msvc2019_64\bin to the end of the existing PATH variable.
Steps
Create a test directory. For the sake of this example, we’re using a Mac and a test directory called ~/Development/VSCode. Replace this with whatever makes sense for your environment, and cd into this directory.
In a command shell, change into the blog-vscode-template directory and start VS Code:
cd blog-vscode-template
code .
You should see VS Code pop up. If you get a dialog that says “Do you trust the authors of the files in this folder?”, click “Yes, I trust the Authors”
Troubleshooting tip
If VS Code doesn’t run and you get an error about “code: command not found” you probably don’t have VS Code in your PATH. You can easily fix this by running VS Code from the app launcher. Then, hit either Ctrl+Shift+P (for Windows/Linux) or Cmd+Shift+P (for Mac), type “shell command” in the search box, and then pick “Install ‘code’ command in PATH”.) Then start step 4 over at the beginning.
If you are using MacOS or Linux, examine the CMakeUserPresets.json file and make sure the CMAKE_PREFIX_PATH variable has the correct path to the correct Qt platform. Because Qt can be installed in different locations, this might be different for different developers so this file wouldn’t normally be checked into Git. (We’ve done it here for the purposes of this blog.) To ensure that it will preserve any tweaks you make for your specific machine and that it won’t be deleted from your setup, add CMakeUserPresets.json to your .gitignore. (You’ll want to .gitignore this file no matter what anyway)
Wait for a moment, and VS Code will find that we’ve configured some recommended extensions for this workspace; it will prompt you to install them. Click “Install”, and VS Code will then start installing extensions for C/C++, CMake Tools, CMake, and clangd. Wait for those to complete installing before going on to the next step.
Once the extensions have completed installing, you’ll be asked “Do you want to configure project VSCode?” Answer “Yes”.
Now you need to select a configure preset. This is necessary to get CMake to create the compile-commands.json Without that file, the code completion, code hints, and content assist features in the C++ extension don’t work properly.
On the bottom status bar if you see “No Configure Preset Selected”, then click that text and then pick the debug variant appropriate for your platform, per the following table. You can change the existing configuration if one is set too.
Launch Method
Debug Builds
Release Builds
Profiler Builds
Windows
IDE
debug-msvc
release-msvc
profile-msvc
Command-line
debug
release
profile
Linux
IDE
debug-6.5.1-linux
release-6.5.1-linux
profile-6.5.1-linux
Command-line
debug
release
profile
Mac
IDE
debug-6.5.1-macos
release-6.5.1-macos
profile-6.5.1-macos
Command-line
debug
release
profile
A couple notes on our naming structure:
the command-line version expect the environment variables (compiler, Qt) to be set properly before launching VS Code
we don’t hardcode the Qt version in the Microsoft presets like the other platforms do because it’s already set via an environment variable
After a few moments, you’ll see a compile-commands.json file get populated in the workspace directory. This step also builds the binary file.
That’s it - we’re done! If you click on the Run icon, you should see the app screen with our new Qt app.
The C++ autocomplete and link following features should be working as well since we're using the clangd extension. Using the more common Microsoft C++ extension is an option as well. There are pros and cons to each – something we will cover in detail in our next blog.
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 is a lovely documentation but I'm still struggling to setup vscode for Qt development. I'm on windows and have spent 2 weeks trying to set it up. I've gotten varying levels of success with regards to vscode recognizing the QTT imports and libraries but I cant get any code to run. I would really appreciate someone pointing me in the right direction!
3 - Oct - 2024
Sérgio Martins
Have you setup any launches, and if so, are you getting an error when running ?
1 - Nov - 2024
RogerA
Unfortunately VS Code has a design philosophy that users have to be experts in VS Code in order do even the simplest thing. This blog conforms to the standard approach by announcing at the start that it provides fast instructions, but when you follow those instructions what happens diverges from what is described pretty much immediately. At which point you are back to reading around mega-long and equally fragile instructions that might conceivably put you back on course. Spending weeks thrashing around is perfectly normal. Feeling like you want to scream with frustration is also normal. You have my sympathy. Unfortunately I know of no way to avoid this, nor can I offer any hope that if you stick with it that eventually clarity will emerge. Don't feel bad if you find yourself despising VS Code - this too is normal.
1 - Nov - 2024
Sérgio Martins
It's a tradeoff. With VSCode, you pay for the frustration upfront over a couple of weeks. But once you've saved your ideal configuration, it’s stable for years (kind of like vim or emacs).
With QtCreator, you get a faster start, but I find myself having to fix kits and address random breakages now and then.
The goal of the blog is to ease the learning curve. Feel free to ping me in the Qt Discord if you run into any issues!
Sérgio Martins
Senior Software Engineer
Sérgio has been with KDAB for 13 years. He loves performance profiling, debugging, static-analysis, and tooling. You won’t see him writing nice-looking GUIs or 3D. He’d rather enjoy tackling a hard problem, frequently embracing the pain of bugs nobody wants, such as HDPI, fonts, QDockWidget, and even working on Windows when needed.
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.
Our hands-on Modern C++ training courses are designed to quickly familiarize newcomers with the language. They also update professional C++ developers on the latest changes in the language and standard library introduced in recent C++ editions.
4 Comments
2 - Oct - 2024
Luka
This is a lovely documentation but I'm still struggling to setup vscode for Qt development. I'm on windows and have spent 2 weeks trying to set it up. I've gotten varying levels of success with regards to vscode recognizing the QTT imports and libraries but I cant get any code to run. I would really appreciate someone pointing me in the right direction!
3 - Oct - 2024
Sérgio Martins
Have you setup any launches, and if so, are you getting an error when running ?
1 - Nov - 2024
RogerA
Unfortunately VS Code has a design philosophy that users have to be experts in VS Code in order do even the simplest thing. This blog conforms to the standard approach by announcing at the start that it provides fast instructions, but when you follow those instructions what happens diverges from what is described pretty much immediately. At which point you are back to reading around mega-long and equally fragile instructions that might conceivably put you back on course. Spending weeks thrashing around is perfectly normal. Feeling like you want to scream with frustration is also normal. You have my sympathy. Unfortunately I know of no way to avoid this, nor can I offer any hope that if you stick with it that eventually clarity will emerge. Don't feel bad if you find yourself despising VS Code - this too is normal.
1 - Nov - 2024
Sérgio Martins
It's a tradeoff. With VSCode, you pay for the frustration upfront over a couple of weeks. But once you've saved your ideal configuration, it’s stable for years (kind of like vim or emacs).
With QtCreator, you get a faster start, but I find myself having to fix kits and address random breakages now and then.
The goal of the blog is to ease the learning curve. Feel free to ping me in the Qt Discord if you run into any issues!