Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt cross-platform development?

I just have a little question about running Qt created apps on different operating systems. As a normal user do i have to install Qt framework to run Qt apps ? I mean i've created Qt app using Windows , then i made a build for Linux . Do i need to install the Qt framework on the Linux pc inorder to run that app ? Or there is a way to package all the needed libraries into the app installer .

Best Regards

like image 780
Bashar Yassin Tahir Avatar asked Aug 28 '26 11:08

Bashar Yassin Tahir


1 Answers

You can deliver the dynamic libs you need with your application, as it's described here: http://doc.qt.io/qt-5/deployment.html

Since Qt is not a system library, it has to be redistributed along with your application; the minimum is to redistribute the run-time of the libraries used by the application. Using static linking, however, the Qt run-time is compiled into the executable.

like image 114
atamanroman Avatar answered Aug 29 '26 23:08

atamanroman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!