简体   繁体   English

Qt Gui应用程序部署

[英]Qt Gui Application deployment

I have built a GUI application using QT Creator. 我已经使用QT Creator构建了一个GUI应用程序。 I want to deploy this application in my friend's computer. 我想在朋友的计算机上部署此应用程序。 He runs Ubuntu. 他运行Ubuntu。 To run this application I don't want to install any of the development tools in his machine like Qt Creator. 要运行此应用程序,我不想在他的计算机中安装任何开发工具,例如Qt Creator。 I just want to install the qt libraries. 我只想安装qt库。

If I do this will the application work? 如果执行此操作,该应用程序将正常工作吗?

You need to statically link the libraries with your application before deployment. 在部署之前,您需要将库与应用程序静态链接。 That way all the necessary libraries are included in your executable! 这样,所有必需的库都包含在可执行文件中!

This may help you out: http://www.qtcentre.org/wiki/index.php?title=Building_static_applications 这可能对您有帮助: http : //www.qtcentre.org/wiki/index.php?title=Building_static_applications

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM