<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Building and Deploying QT applications using Gitlab CI&#x2F;CD (docker preferably)]]></title><description><![CDATA[<p dir="auto">Hello. I have a server that is dedicated for storing my application update files. Whenever I want to deploy new application, I pack all required files (.exe, .dll and etc) to .zip file and upload it to my server. On my server I also have a <code>version.txt</code> document that simply shows which version is the latest version of my application. When a user runs my application, it automatically sends a request to my server to check the version.txt document and it performs an update if required.</p>
<p dir="auto">This process is tested and it works fine, however I do not like the fact that I have to manually build/deploy and upload my <code>update.zip</code> to the server, Ideally I would like to automate this process using Gitlab CI/CD pipeline.</p>
<p dir="auto">I have used CI/CD for various other projects (mostly involved STM32 MCU's and I am able to build/deploy STM32 projects and place the requires files to the Gitlab as artifacts using specific Docker image that is able to build STM32 projects. I am hoping to do the same with QT application.</p>
<p dir="auto">I have tried to find Docker image for building QT applications but I was not able to find any (I have found a few but they were last updated 5-6 years ago so they do not support latest QT versions). Perhaps someone have experience with QT applications build/deploy automation process and could throw some ideas?</p>
]]></description><link>https://forum.qt.io/topic/157578/building-and-deploying-qt-applications-using-gitlab-ci-cd-docker-preferably</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 17:30:51 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/157578.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Jul 2024 11:51:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building and Deploying QT applications using Gitlab CI&#x2F;CD (docker preferably) on Thu, 04 Jul 2024 17:24:20 GMT]]></title><description><![CDATA[<p dir="auto">Here is a sample project that I help maintain. It uses Github CI "runner" machines, which is very github-specific.</p>
<p dir="auto">However, despite the fact that the Github "runner" has a lot of packages preinstalled, the following script still captures 90% or more of my build dependencies:</p>
<ul>
<li><a href="https://github.com/219-design/qt-qml-project-template-with-ci/blob/a85e7f49a12/tools/ci/provision.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/219-design/qt-qml-project-template-with-ci/blob/a85e7f49a12/tools/ci/provision.sh</a></li>
</ul>
<p dir="auto">In other words, the apt-get <code>install</code> lines shown there are a half-decent starting point for your Docker.</p>
<p dir="auto">Caveat: the <code>i386</code> things are there for Android support. If you are not building for Android (or anything else with <code>i386</code> architecture), then you can delete those.</p>
]]></description><link>https://forum.qt.io/post/804123</link><guid isPermaLink="true">https://forum.qt.io/post/804123</guid><dc:creator><![CDATA[KH-219Design]]></dc:creator><pubDate>Thu, 04 Jul 2024 17:24:20 GMT</pubDate></item></channel></rss>