Here is an update I made to clearify the needed files for deployment of your applications helping to reduce the needed runtime files.
KBasic created the binary file (EXE on Windows, bin on Linux) by copying kbrun.exe and adding the generated pcode and some information about this pcode to the end of that new file.
Another option is to copy kbrun.exe and the pcode file runtime.pcode and start kbrun.exe with the option "-pcode runtime.pcode” (-pcode PATH). (Select in the binary creator: separate runtime and pcode)
Single File with all project files included
Give away a binary file using the KBasic compiler (Professional Edition only). If you compile a project, the binary file may contain many files of that project. All files are included in one large file.
For Windows:
Attention! You must always deploy some DLL files with your program (you will find it in the deployment installation directory of your project):
Basic requirement (at least):
*
QtCore4.dll
*
QtGui4.dll
*
msvcm90.dll
*
msvcp90.dll
*
msvcr90.dll
*
Microsoft.VC90.CRT.manifest
*
+ All files in plugins. Some plugins may be removed. It depends on what features you use.
If you use the movie or sound related controls:
*
phonon4.dll
If you use the webview control:
*
QtWebKit4.dll
*
QtNetwork4.dll
*
phonon4.dll
If you use SVG:
*
QtSvg4.dll
If you use MySQL:
*
libmySQL.dll
*
QtSql4.dll
If you use PostgreSQL:
*
QtSql4.dll
*
+ The rest of the not listed files yet.
Deployed for future releases (optional):
*
QtOpenGL4.dll
*
QtXml4.dll
*
QtXmlPatterns4.dll
For Linux:
Qt files are not provided by the compiler for Linux, because you cannot run shared libraries in a non-library directory. Therefore, all needed files must be installed on the target machine.
For Mac:
Attention! You must always deploy some dylib files with your program (you will find it in the deployment installation directory of your project):
Basically, it is like the Windows deployment.