QT app crash at startup
I'm working on a QT based software, this one works well on my computer (and another development machine) but once that I start it on a customer computer,
there is no "window" appearing !!!!!
By example, we double click on the desktop icon and nothing appear... but it seems that the application start, then exit.
I have even add a module to catch all the exceptions (CrashRpt), but no log is created !!!!
So, for information :
- The software use VS 2010, only in 64 bits
- I have build QT5 64 bits (VS 2010) myself, with the following script :
- You can download it at : "http://www.spectralpixel.com/index.php/spectral-studio-trial":http://www.spectralpixel.com/index.php/spectral-studio-trial
How is it possible ?
Here is the script that I have used :
REM Start command line this way to support 64 bits:
REM %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x64
REM ---------- Configure ----------
rmdir /Q /S C:\Qt\qt-5.0.2-build
..\qt-5.0.2-src\configure -debug-and-release -opensource -shared -qt-sql-sqlite -no-dbus -no-accessibility -no-audio-backend -platform win32-msvc2010 -no-c++11 -no-openvg -nomake examples -nomake tests -confirm-license -opengl desktop
REM ---------- Build ----------
REM nmake qdoc3
REM editbin command fixes a stack overflow that none of the developers seem to care about because it only shows up in 64-bit windows
REM editbin /STACK:0x200000 bin\qdoc3.exe
REM nmake docs
REM nmake install
REM nmake clean
Read how to deploy your Qt app here: http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html
You can also use Dependency Walker to check which libraries are needed for your app.
I'm getting tired of this... the same question almost every day.
See "the deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html, please.
Thanks a lot,
But previously I was using QT4 and everything was fine. Since the last release... I have this problem and don't know how to debug that ! I have also try with the dependency walker... but it does not help a lot (At least I have find nothing).
Also, I have check the "deployment guide", but find nothing that help !
Copy the platform plugin.