Deploy an QML App in Windows!
-
Hi there! I had just started working on QT and QML for a project!
I had compiled a sample program with QT5.1 and used dependency walker for solving the dll dependencies!
While running the exe it asked for more dependencies at last following dll were addedicudt49.dll
icuin49.dll
icuuc49.dll
libgcc_s_sjlj-1.dll
libGLESv2.dll
libstdc++-6.dll
libwinpthread-1.dll
Qt5Core.dll
Qt5Declarative.dll
Qt5Gui.dll
Qt5Network.dll
Qt5Script.dll
Qt5Sql.dll
Qt5Widgets.dll
Qt5XmlPatterns.dllAtlast it gave me an VC Runtime error! Any idea how to solve this!
-
VC redistributable not installed? And you need to add QPA plugin for your platform (copy qwindows.dll to plugins/platforms. If I remember the path well, that is ;) ).
-
Ah yes, you are right. Are you sure you have MinGW build of Qt? You cannot mix libraries build with MSVC with MinGW code (there is no binary compatibility).
-
Hm, it could be that ICU was built with MSVC.
Anyway, no, I have not encountered a deployment tutorial for Qt5. But search, maybe some good lad has created a wiki for it here on DevNet.