Skip to content

CMake and Qt

Here, you can find a collection of resources about CMake with or without Qt. Additionally a first short series on CMake started to introduce you to CMake, the industry-standard buildsystem for C/C++ code. Why is Qt 6 switching to CMake? What does a simple CMake file look like? How do I create a library that other projects can use? How do I use such a library? The topics in this series are an extract of a 2-day training. Find more information about our CMake training here…

This video introduces the CMake series, starting with: What is CMake? It will also mention the pre-requisites for this series and the topics that will be covered by the other videos in this series.

More information on CMake:
- training : https://www.kdab.com/software-services/scheduled-training/introduction-to-cmake/
- resources : https://www.kdab.com/qt-and-cmake/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/
CMake and Qt (Part 1) - CMake Introduction

This video introduces the CMake series, starting with: What is CMake? It will also mention the pre-requisites for this series and the topics that will be covered by the other videos in this series.

More information on CMake:
- training : https://www.kdab.com/software-services/scheduled-training/introduction-to-cmake/
- resources : https://www.kdab.com/qt-and-cmake/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more. https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/

109 6

YouTube Video UEw2Q0pZbjQwZ042ZzFfeVkyWWtxU3ltN0ZXVWlkOTI2TS41MjE1MkI0OTQ2QzJGNzNG

CMake and Qt (Part 1) - CMake Introduction

This video features a comparison between QMake and CMake, to explain why Qt 6 switched to CMake.

Learn more about CMake during the training day at QtDevCon 2021: https://www.qtdevcon.com/training-day/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/
CMake and Qt (Part 2) - Qt6 switches to CMake

This video features a comparison between QMake and CMake, to explain why Qt 6 switched to CMake.

Learn more about CMake during the training day at QtDevCon 2021: https://www.qtdevcon.com/training-day/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/

94 3

YouTube Video UEw2Q0pZbjQwZ042ZzFfeVkyWWtxU3ltN0ZXVWlkOTI2TS4wOTA3OTZBNzVEMTUzOTMy

CMake and Qt (Part 2) - Qt6 switches to CMake

This video shows and explains the source code of a CMake build definition file (CMakeLists.txt) for a simple Qt application.

Although the example is based on Qt 5, the same CMakeLists.txt can be used with Qt 6, by simply replacing '5' with '6' everywhere.

The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/CMake/HelloWorld

Learn more about CMake during the training day at QtDevCon 2021: https://www.qtdevcon.com/training-day/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/
CMake and Qt (Part 3) - Hello World in CMake

This video shows and explains the source code of a CMake build definition file (CMakeLists.txt) for a simple Qt application.

Although the example is based on Qt 5, the same CMakeLists.txt can be used with Qt 6, by simply replacing '5' with '6' everywhere.

The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/CMake/HelloWorld

Learn more about CMake during the training day at QtDevCon 2021: https://www.qtdevcon.com/training-day/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more. https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/

124 11

YouTube Video UEw2Q0pZbjQwZ042ZzFfeVkyWWtxU3ltN0ZXVWlkOTI2TS4xMkVGQjNCMUM1N0RFNEUx

CMake and Qt (Part 3) - Hello World in CMake

One of CMake's strongest points is making it easy to provide and use libraries, in the same project or in different projects. This video explains the feature in more details and shows a simple example.

Learn more about CMake during the training day at QtDevCon 2021: https://www.qtdevcon.com/training-day/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/
CMake and Qt (Part 4) - Using Libraries with CMake

One of CMake's strongest points is making it easy to provide and use libraries, in the same project or in different projects. This video explains the feature in more details and shows a simple example.

Learn more about CMake during the training day at QtDevCon 2021: https://www.qtdevcon.com/training-day/

Every month our newsletter is featuring technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/

91 5

YouTube Video UEw2Q0pZbjQwZ042ZzFfeVkyWWtxU3ltN0ZXVWlkOTI2TS41MzJCQjBCNDIyRkJDN0VD

CMake and Qt (Part 4) - Using Libraries with CMake

Want to know more about CMake? Watch this video to see what is covered in our 2-day training: https://www.kdab.com/software-services/scheduled-training/introduction-to-cmake/

Register for the 1-day version during QtDevCon 2021 in Berlin (28 September 2021): https://www.qtdevcon.com/training-day/

Every month our newsletter features technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/
CMake and Qt (Part 5) - CMake Training Course

Video Synopsis: Want to know more about CMake? Watch this video to see what is covered in our 2-day training: https://www.kdab.com/software-services/scheduled-training/introduction-to-cmake/

Register for the 1-day version during QtDevCon 2021 in Berlin (28 September 2021): https://www.qtdevcon.com/training-day/

Every month our newsletter features technical blogs on CMake, Qt 6 and C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

All CMake and Qt videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

About the host:
This video is presented by David Faure, Senior Software Engineer and Trainer at KDAB. David is a CMake user ever since KDE adopted it, in 2006. Over the years, he has made numerous contributions to build systems written in CMake, and even a few contributions to CMake itself. He has taught CMake development for numerous customers, and has migrated the entire buildsystem of large existing projects to CMake.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world.  We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK, and the USA. https://www.kdab.com/about/contact/

8 0

YouTube Video UEw2Q0pZbjQwZ042ZzFfeVkyWWtxU3ltN0ZXVWlkOTI2TS40NzZCMERDMjVEN0RFRThB

CMake and Qt (Part 5) - CMake Training Course

Vous voulez en savoir plus sur CMake? Cette vidéo vous présente le contenu de notre formation CMake de 2 jours : https://www.kdab.com/fr/formation-introduction-a-cmake/

Chaque mois notre newsletter technique (en anglais) contient des blogs sur des sujets tels que CMake, Qt 6 ou C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

Toutes les CMake and Qt vidéos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

À propos du porte-parole:
Cette vidéo est présentée par David Faure, ingénieur en développement logiciel et formateur à KDAB. David est un utilisateur de CMake depuis que KDE l'a adopté en 2006. Au fil des années il a fait de nombreuses contributions aux systèmes de compilation écrits avec CMake, et même quelques contributions à CMake lui-même. Il a formé de nombreux clients au développement avec CMake et a également migré le système de compilation d'un projet existant à CMake.

À propos de KDAB :

KDAB met à votre service des experts en développement logiciel pour vous aider dans vos projets sur l'embarqué et les ordinateurs de bureau utilisant le C++, Qt, QML/Qt Quick, OpenGL, Qt 3D et autres : https://www.kdab.com/fr/services/

En plus de participer à des projets clients, nos experts donnent également des formations, soit en intra-entreprise, soit en inter-entreprises. KDAB est le leader sur le marché des formations Qt, OpenGL et C++.
https://www.kdab.com/fr/formations/

Nous sommes 90 employés distribués à travers le monde. Notre maison mère est en Suède et nous avons des bureaux en France, en Allemagne, au Royaume-Uni et aux Etats-Unis. https://www.kdab.com/about/contact/
CMake and Qt (Part 5 French) - Formation Introduction à CMake

Vous voulez en savoir plus sur CMake? Cette vidéo vous présente le contenu de notre formation CMake de 2 jours : https://www.kdab.com/fr/formation-introduction-a-cmake/

Chaque mois notre newsletter technique (en anglais) contient des blogs sur des sujets tels que CMake, Qt 6 ou C++: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/

Toutes les CMake and Qt vidéos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6g1_yY2YkqSym7FWUid926M

À propos du porte-parole:
Cette vidéo est présentée par David Faure, ingénieur en développement logiciel et formateur à KDAB. David est un utilisateur de CMake depuis que KDE l'a adopté en 2006. Au fil des années il a fait de nombreuses contributions aux systèmes de compilation écrits avec CMake, et même quelques contributions à CMake lui-même. Il a formé de nombreux clients au développement avec CMake et a également migré le système de compilation d'un projet existant à CMake.

À propos de KDAB :

KDAB met à votre service des experts en développement logiciel pour vous aider dans vos projets sur l'embarqué et les ordinateurs de bureau utilisant le C++, Qt, QML/Qt Quick, OpenGL, Qt 3D et autres : https://www.kdab.com/fr/services/

En plus de participer à des projets clients, nos experts donnent également des formations, soit en intra-entreprise, soit en inter-entreprises. KDAB est le leader sur le marché des formations Qt, OpenGL et C++.
https://www.kdab.com/fr/formations/

Nous sommes 90 employés distribués à travers le monde. Notre maison mère est en Suède et nous avons des bureaux en France, en Allemagne, au Royaume-Uni et aux Etats-Unis. https://www.kdab.com/about/contact/

2 0

YouTube Video UEw2Q0pZbjQwZ042ZzFfeVkyWWtxU3ltN0ZXVWlkOTI2TS5GNjNDRDREMDQxOThCMDQ2

CMake and Qt (Part 5 French) - Formation Introduction à CMake