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.
As an Easter treat here is a quick taster of some of the animation goodies coming to Qt 3D along with Qt 5.9. In this post we will briefly outline the steps needed to create a simple Qt 3D application and the assets it uses to produce this little animation:
To watch this video on our website please or view it directly on YouTube
The basic steps are:
Create the geometry
UV unwrap the geometry
Create textures
Create the animation
Code the application
The full code for this example is available on GitHub (requires OpenGL 4 on Windows/Linux at the moment). So without further ado, let's get cracking (sorry).
Modeling the Egg
I won't bore you with all the details but using your favourite 3D tool create the basic character geometry. I used Blender as it is free, easily customisable, and also an awesome 3d editor. This little egg-like character is simply a collection of 5 icospheres that have been distorted using the proportional editing tool to get the ovoid appearance.
UV Unwrapping
In order to be able to apply images as textures onto our little eggy friend, we need some texture coordinates or uv coords as they are commonly known. All these are is a set of normalised 2D coordinates, one for each vertex in our mesh, that says where to look within an image when applying it to the geometry.
Don't worry too much about the procedure for generating these coordinates. It varies from mesh to mesh and between 3D editing tools. Typically you mark some seams and use some built in functionality in the editor to do most of the work for you. Think of the seams as being where you would cut a flat sheet of paper if you wanted to wrap it around your mesh without ripping or distorting it. Doing this we end up with something like this:
Please bear in mind that I am not an artist, my day job is pretending to be a developer, yet even with a little bit of practice you can get some nice results in Blender or similar tools.
The final thing we need to do is to export our geometry from Blender for use in the next phases.
Qt 3D itself has a plugin based system for loading geometry in various formats. Here we will use the simple Wavefront OBJ file format within Qt 3D. However, to feed our mesh into the texturing tool we will use, we also need to export it into the FBX file format. In Blender, just go to File->Export->[FBX (.fbx) or Wavefront (.obj) to do the export steps.
Texturing
To make our character look nice (from a material point of view, remember I'm not an artist), we will make use of the new PBR based materials in Qt 3D. These materials require textures to be made such that they represent slightly different quantities than older ad-hoc lighting models such as Phong. The king of the hill for PBR texturing work is the suite of Substance tools (written with Qt) from Allegorithmic.
We will use Substance Painter to give our egg a nice surface appearance. To get started, simply create a new project in substance painter and import the FBX mesh we exported from Blender. Then we can use the bakers in Substance Painter to create some additional texture maps for us such as the ambient occlusion map which shadows the areas under the egg's arms and feet.
A whole bunch of other helper textures can be baked in Substance Painter but we don't need those here for this simple project. In more complex projects you can use for e.g. the curvature map to add nice effects like damage or paint flaking off the sharp edges of your objects in an automated way.
We can now start adding layers, either fill layers or paint layers, just like in Photoshop or Gimp. Using the texture coordinates in our geometry, Substance Painter performs the inverse mapping to that which Qt 3D will use at run-time to create the 2D images we will need. Essentially Substance Painter is like Photoshop for 3D objects. We start by adding a simple fill layer using a matte paint substance, choosing a blue colour for it, and adjusting the scaling and paint fleck intensity.
Then by adding a few more fill layers we can make our little guy look a bit more "Eastery" and adding a paint layer or two give him a happy(/quizzical/pained) face and a nice KDAB branded stamp. Note that it is trivial to create your own alpha masks for brushes or even to create your own custom materials using the sister application Substance Designer.
Once happy with your creation, go to File->Export Textures and save the resulting images to disk.
Notice that this work flow is non-destructive. You can come back into Substance Painter, tweak it further and then re-export a new set of textures.
Create the Animation
Back in Blender, we can switch from modeling/uv-unwrapping to animation (it can do way more than what I'm showing here). Along the bottom of the window is the timeline and we can split the main view into two parts and switch the top view into a graph editor. This is very handy when animating to make adjustments to your animation curves.
Just as I am not a 3D modeler or texture artist, I am also not an animator. So if you are any of these things please excuse my poor attempts. Even with my lack of skills, animating in Blender is very easy. Simply follow these steps:
Choose a frame in the timeline
Adjust the position/scale/rotation of your character/objects
Hit the "I" shortcut to and from the popup choose which quantity you wish to key frame (Location/Rotation/Scale here)
As you add key frames to animate your character, play the animation back often within blender to see how it looks. And if it needs adjusting, this can be done in the graph editor by grabbing the key frames or their control handles.
Once happy with your animation we can export the key frame data it contains into a format that can be consumed by Qt 3D using the Blender addon provided in the Qt 3D git repository. Once enabled, it's as simple as File->Export->Qt 3D Animation.
Creating the Qt 3D Application
At last we come to the easy part of writing a simple application that uses Qt 3D to render all of the content we have created: the geometry, the textures and the key frame animation data. This is just a perfectly standard Qt 3D application containing a single Entity:
Here you can see that: the Mesh component consumes the geometry; the TexturedMetalRoughMaterial component consumes the texture images; and the ClipAnimator component consumes the key frame animation data. Using the Entity Component System of Qt 3D all of these are optional and you don't pay the price for them when not using any of these features.
The ClipAnimator is one of the new types available with Qt 3D in Qt 5.9 and it allows the playback of animation clips. The animation clips can either be exported from a digital content creation tool as we did here, or created in your application using Qt 3D APIs. In addition to the animation clip,
it also uses a ChannelMapper which allows us to map the channels within the animation clip onto properties of objects in our application. Separating the animation data from what is being targeted by the animator allows us to reuse the same animation many times without having to store multiple copies of it. It also allows us to retarget the animations on to other objects that your animators may not even have known about when creating the animation data.
Qt 3D also provides support for animation blend trees in Qt 5.9 and there's a whole lot more planned for Qt 5.10 later this year. That's it for now but we'll be back after the holiday with more details of the animation framework in Qt 3D.
Hello, I know this is an old post but I haven't found answers anywhere else. Is it possible to have a C++ only version of this sample program ? I know there is a QML version on github and I tried to replicate it in C++ without much success. Thank you
Sean Harmer
Managing Director KDAB UK
Dr Sean Harmer is a senior software engineer at KDAB where he heads up our UK office and also leads the 3D R&D team. He has been developing with C++ and Qt since 1998 and is Qt 3D Maintainer and lead developer in the Qt Project. Sean has broad experience and a keen interest in scientific visualization and animation in OpenGL and Qt. He holds a PhD in Astrophysics along with a Masters in Mathematics and Astrophysics.
1 Comment
29 - Apr - 2018
Adriel
Hello, I know this is an old post but I haven't found answers anywhere else. Is it possible to have a C++ only version of this sample program ? I know there is a QML version on github and I tried to replicate it in C++ without much success. Thank you