[SOLVED] Finishing app
-
The DLL's are located in your Qt installation folder inside the "bin" sub-folder.
You should redistribute the DLL's from the very same Qt version that you used to build your application.
For distribution, simply put the required DLL's into the same folder as the EXE file.
(Do NOT "install" the DLL's into "C:\Windows" or "C:\Windows\System32", because it causes DLL Hell!)
And again: Use Dependency Walker to figure out which DLL's your application really needs :-)
-
[quote author="hsrt" date="1396901206"]Hello,
I have a question. My exe is fine, it runs on another computer. My app has a gui, the black terminal is occured when I run .exe ...But I don't want to create it.Is this situation normal state?[/quote]
On Windows, program files can be compiled with subsystem "Windows" or "Console". Only the latter will have a console window attached. If you use Visual Studio compiler, you can control it with the /SUBSYSTEM option.
Also note that for "Console" application you must have a main() or wmain() function as the entry point of your program, but for "Windows" applications you need to have a wWinMain() function (or link in qtmain.lib) instead!
See also:
http://msdn.microsoft.com/en-us/library/fcc1zstk.aspx -
[quote author="hsrt" date="1396904788"]I use QT Creator. There is "main" function in my project. sorry, I don't understand clearly what I should do.[/quote]
See here:
http://qt-project.org/forums/viewthread/20168/#97251