Building Standalone exe file for PCs without QT
First of all, apologies, I am extremely new to QT and programming in general, so this may be incredibly basic or even not-possible.
I have built a QT Creator project that I would like to package and send to people (who don't have QT) so they can use them. On my own computer it works by copying all the necessary .dll files to a folder containing my exe file. But when I tried to send this folder to other people it has had runtime errors.
I have read about building static libraries and even the Visual Studios 2015 plug in to build an exe that can work without QT, but I have no experience building static libraries and my attempts have all failed so far.
My question is: Is there a way to build a QT Creator project that will automatically include all the files and libraries needed to run as a standalone exe?
Apologies again for a silly question,
Hi and welcome to devnet,
No, you first have to build Qt statically also modifying its configuration to use the VS static runtime. If you want to use a static build you also have to abide by the LGPL/GPL license constraints unless you are using a commercial license for Qt.
On the other hand, you have the windowsdeployqt helper to prepare a package to deploy on other computers.