The build system for Qt is CMake. What are the benefits of CMake, and how can it help transform your build system? This whitepaper gives you the basic facts so you can take advantage of CMake for building Qt applications.
CMake is a buildsystem generator developed in the open, and widely used for Qt based development. Especially when creating large or complex software, CMake can be more suitable to use than QMake. KDE was even the tipping point for the popularity of CMake in general, and with Qt 4 in particular, according to Bill Hoffman. […]
KDAB's Kevin Funk presented Using Modern CMake with Qt at Qt Virtual Tech Con last month. He reported that the Qt Company did a great job moderating the sessions at this event, and there was a lively Q&A at the end - Kevin had to pick from about 60 questions, so this is a hot […]
This is a follow-up post to Qt on CMake Workshop Summary – Feb ’19 Intro From May 2nd to May 3rd another Qt on CMake workshop was hosted at the KDAB premises in Berlin, where interested stakeholders from both The Qt Company and KDAB gathered together to drive the CMake build system in Qt further. […]
Intro Last Monday and Tuesday a few brave souls from both the Qt Company and KDAB gathered together in the KDAB Berlin office premises to work on the CMake build system for building Qt. There was Mikhail, Liang, Tobias, Kai, Simon (QtCompany) as well as Jean-Michaël, Albert, Volker and me (KDAB) sitting together in a […]
This post is part of an ongoing series about developments and discussions in Qt. Some parts of this report are still under discussion, and don’t necessarily reflect the final state of Qt 5. The target audience is people involved in Qt development itself, but without the time to follow everything that happens, and others with […]
In this edition: Introduction, Qt 3D in Qt 6 interview with Mike Krus (Senior Software Developer at KDAB), Dashboard UI of new unu scooter, Minecraft's improved CMake build system, and Library of the month.
As the title would suggest, this video compares QMake and CMake, and explains why The Qt Company switched to CMake for Qt 6.
Yesterday Qt 5.0.0 was released. It is the culmination of huge amounts of work since the announcement of and start of Qt 5's development. This is the first major release of Qt since the launch of open governance in Autumn 2011, when it became much easier for external individuals and companies to contribute to Qt […]
CMake is increasingly becoming the de-facto build system for C++ projects. While it has been possible to build Qt applications using CMake for a long time, with Qt6, Qt switched its own internal build system to CMake. The KDE Community was among the first large, open-source projects that adopted CMake about 15 years ago. Over […]
The release of Qt 5.0 brought to an end the first opportunity in 7 years to break source and binary compatibility for a Qt release. It was a huge effort from across all disciplines and contributions, from design discussions, documentation and development to infrastructure, administration, marketing, testing and packaging. KDAB made significant contributions to the […]
We just released CXX-Qt version 0.7! CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It supports integrating Rust into C++ applications using CMake or building Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, QML, and JavaScript. […]
Qt development for embedded systems involves editing code on desktop and running on embedded devices multiple times daily. Qt Creator and CMake often create problems including installation failures and compiler detection issues. The Boot2Qt SDK solves this by creating CMake toolchain files and Qt Creator configurations for cross-compilation, deployment, and execution out-of-the-box.
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.
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.
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.
In recent years, a lot has been happening to improve performance, maintainability and tooling of QML. Some of those improvements can only take full effect when your code follows modern best practices. Here are 10 things you can do in order to modernize your QML code and take full advantage of QML's capabilities. 1. Use […]
In the last blog post we saw an essential, C++ oriented, Visual Studio Code setup. That was enough to get going right away, but we can still definitely do more and better. Here I'll show you how to get a complete setup for your qmake and CMake projects, all this while also wearing a Qt […]