Cannot deploy my Quick 2 application on Windows without installing Qt

I am using Qt 5 with the Visual Studio compiler. I have a Quick 2 application with a C ++ backend.

I combined my exe, a bunch of dll files and all the plugins from Qt into one folder. When I run exe in this folder on a system with Qt, but Qt Creator is closed, it works fine. When I run it on a system without Qt installed, it does not crash, but it just opens a small 1-inch square window that is all white, nothing more.

I am using the Qt resource file for QML, so there are no stand-alone QML files that exe might skip. Again, it works fine on a Qt system, so what else can I skip? The walker does not report any problems.

Here is what is in the directory of my application:

enter image description here

I have been looking at this for several hours, and I cannot figure out what I am missing (or why deploying Windows is so difficult with Qt).

+4
source share
1 answer

The problem was resolved by adding these directories:

enter image description here

+3
source

All Articles