[Qt-creator] What is the Deployment step doing on Windows desktop, and how can in be configured?

Eike Ziller Eike.Ziller at qt.io
Fri Aug 12 11:14:20 CEST 2016


Hi,

> On Aug 12, 2016, at 9:57 AM, Julius Bullinger <Julius.Bullinger at asctec.de> wrote:
> 
> I noticed that there are some new options in Qt Creator since 4.1 (maybe 4.0?) concerning deployment.
>  
> ·         There's a setting "Always deploy project before running it" in the Build & Run settings
> ·         There's an option "Run Without Deployment" in the Build menu

These exist at least since Qt Creator 2.7.

>  
> However, I didn’t find an in-depth documentation/explanation for these options.
>  
> Now, I understand what they do on Linux, and how they work for Device Creation/Android/Mobile apps. But what exactly is their purpose on Windows desktop? Do they run windeployqt by default, or do they call [mingw32-,n]make install after building? Or are they doing nothing by default?

Deployment does nothing by default on desktop, but in Projects mode > Run for your project, you can define deployment steps, as it looks like you do below.

> In the past, we used a deploy.pro file which was included in release builds only. In this file, we had several INSTALLSdirectives for the files we want to deploy, and a call to windeployqt.exe for Qt library deployment.
> We then needed to manually add an additional deploy step to call make install in the project’s Run settings.
>  
> Is this still the preferred way? What has changed with the integration of the new deployment options? Is there a way to configure them on a per-project basis?
>  
> Thanks for your help,
> Julius
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B






More information about the Qt-creator mailing list