Qt 5.0.0 beta1 application deployment problem
I am trying to deploy application developed with Qt 5.0.0 beta1 to computer without development tools. Unfortunately it crashes in QApplication a(argc, argv) silently without any debug or assert windows or other information. Dependency Walker shows no missed DLLs. But when I install Qt 5.0.0 beta1 to this computer application starts to work. I tried several computers and the same situation took place.
Please tell what components should be deployed with application else?
My configuration:
* Windows 7 x64
* MS Visual Studio 2010 SP1
* Qt 5.0.0 beta1
Code:
#include <Logger/Logger.h>
#include <Logger/LoggerLink.h>
#include <QApplication>
int main(int argc, char *argv[])
{
int nRetCode = EXIT_SUCCESS;
try
{
InitConfigurator("Log.conf");
LOG4CXX_INFO(pLogger, "Entering application");
LOG4CXX_INFO(pLogger, "main(): Creating application");
LOG4CXX_INFO(pLogger, "main(): Application was created");
nRetCode = a.exec();
LOG4CXX_INFO(pLogger, "Exiting application");
}
catch(log4cxx::helpers::Exception&)
{
nRetCode = EXIT_FAILURE;
}
return nRetCode;
}
Re: Qt 5.0.0 beta1 application deployment problem
Yes, indeed, Qt5 application has implicit dependency to windows5.dll plugin which should be placed to <ApplicationDir>/platforms/windows5.dll while deploying to customer.