1
votes

I have worked with VC++ project during my past days. Whenever the project is build in release mode or debug mode, the exe runs itself without any additional dependencies. We just have to click on the exe, and the project runs.

But this is not working in QML project. I have both debug & release desktop versions of project, but they are not running on clicking the exe. Do we need some additional component to make a sort of wrapper for exe to make it run.

I would like to mention that I'm not asking regarding the deployment of QtQuick application.

1
Qt is seperated into modules such as Gui, Core, Webkit, Declarative etc.Since this is a QML Project it needs the QtDeclarative library file to execute properly. Just add the QtDeclarative.dll to the folder where your exe file resides. You can verify this link doc-snapshot.qt-project.org/4.8/deployment-windows.html for further information on deploying Qt Windows application. You are not asking for deployment but still the steps will be helpful. - RajaRaviVarma

1 Answers

1
votes

You should add some dlls: QtCore4.dll QtCored4.dll QtGui4.dll QtGuid4.dll