[SOLVED]Exe file crashes
-
Hello, i have a problem with my .exe. If i try to run program in QT everything works fine. But if i try to run it from .exe its crashes, when i press button, which connect to slot. And this slot сonnect app to server with QTcpSocket. I think problem in my code, but why it works in QT?
Help me, please!My list of files in exe dir:
icudt53.dll
icuin53.dll
icuuc53.dll
libeay32.dll
libssl32.dll
msvcr120.dll
qt.conf
Qt5Core.dll
Qt5Gui.dll
Qt5Network.dll
Qt5WebSockets.dll
Qt5Widgets.dll
res.qrc
Settings.ini
ssleay32.dll
qminimal.dll
qwindows.dllhttp://pastebin.com/28pT1hkr its my mainwindow.h
http://pastebin.com/dURpKQwt and mainwindow.cpp -
Hi and welcome to devnet,
Looks like you are missing the network plugins. You should use windeployqt to grab the dependencies of your executable, it should get everything you need to make your application run.
-
Thanks so much. Everything works fine now.
-
You're welcome !
Since you have it running now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
Also, consider up-voting answer(s) that helped you, it will make them easier to find for other users :)