Build Nextcloud windows client failed to linking with Qt

Hi !
I have a problem when tried to build ownCloud/NextCloud on Windows using MingW.
I followed the tutorial at: but not lucky.
I faced error in step 7.
OpenSSL, qtkeychain, Qt, Mingw have set in PATH.
This is my CMake configure:

Building CXX object is OK:

But error when linking to necessary Qt object:

I guest it not found Qt library in path.
Please help me to solve problem. Thanks everyone !

I would suggest to use the docker image available for build. See “Building on Windows” here: