Skip to main content

Source Building Qt Marketplace {Qt Virtual Tech Con 2020}

There are two ways for developers to start using Qt. One way is to download Qt source code and build Qt framework from the sources for one or more targets. The other approach is to use Qt Installers and install ready-made Qt libraries for the required targets. Both approaches have shortcomings. Because of the lack of package management, it has not been easy to build plugins for Qt Creator or add third-party libraries on the top of the Qt framework. Building Qt Creator plugins requires Creator sources and very often a custom build of Qt Creator itself. Third party libraries may have dependencies to other libraries, and developers have needed to resolve, download, and build dependencies themselves. This may be a rather time-consuming and error-prone process. The problem with the installers is that components available in the installer may not have been available for the needed embedded platform or a toolchain. Qt Marketplace is going to solve these shortcomings. Qt Marketplace is a central place, where developers can get both free and paid tools and libraries, boosting the development work. We call these marketplace components extensions, as they extend the development workflow or Qt framework features. Compared to traditional software repositories, which host the source code and sometimes binaries to a limited number of targets, Qt Marketplace supports source building. Developers can purchase or get extensions from the marketplace to their projects. The extensions will become available in Qt Online Installer. Rather than providing ready-made extension libraries, the extensions are built from the sources with the same toolchain used by the project itself. Package manager is used to resolve the extension dependencies and build them to the same target as the rest of the project. The build takes place in the IDE and not during the extension download. We call this feature lazy building and it avoids possibly unnecessary builds for those targets, which are not in user interest in the existing project. Developers experience this in reduced extension build times. All this happens without the user interaction and the user experiences the usage of Qt Marketplace extensions similar to any existing Qt modules. In this presentation, we go through the new technical implementation of Qt Marketplace source build support and how it benefits developers in the software development cycle. Speaker: Tino Pyssysalo, Senior Product Manager Tino Pyssysalo has worked as a Senior Product Manager and Senior Software Specialist for Qt over a decade. During this time, he became more involved in numerous software projects on mobile platforms. He is the main author of the book "Programming for the S60 Series 60 Platform and Symbian OS". For the last decade, he has actively managed teams to maintain the developer experience, Qt training, and created Qt and QML SW for desktop and embedded targets. Before joining The Qt Company and Digia, he worked as a professor of embedded systems at the university of Oulu Finland. Qt Virtual Tech Con 2020 was held in May 2020. 35+ live tech talks, Q&As, and more were carried out by members of the international Qt community, in a free online event for designers, developers, and technology managers; focusing on interactive learning to create high performance UI/UX, applications with the Qt framework. More recordings of the talks can be found in the 'Resource Centre' at #QtVTC20 Visit Visit