I try build this project with cmake, qt5.1.1, vs2017 and python 3.6.4 with x86 arch and win10 SDK(version 10.0.16299.0).


I changed CMakeLists.txt file for WIN_QT_PATH and WIN_PYTHON_PATH(I didnt change windows kit path, but cmake could find it by self), Cmake has configured and generated successfully, but when I compile the project, I found it seems miss #include<gl/GL.h> so that an error ocuur----could not found define of some OpenGL function, Im not sure if it is a bug?(Sorry about my VS is a chinese language version)

I try to add the head file it compile successfully, and when the exe run, it misses some dll files.
So i have copied them to my project path(python3_d.dll & python36_d.dll are compiled from src, msvcp140d_app.dll & vcruntime140d_app.dll are from C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.25022.0_x86__8wekyb3d8bbwe, Qt5OpenGLd.dll & Qt5Widgetsd.dll & Qt5Guid.dll & Qt5Cored.dll & libGLESv2d.dll are from QT bin path D:\soft\Qt\5.11.0\winrt_x86_msvc2017\bin).

Finally, I could not run still :(
I try to debug the program for guiMain function in qtmain.cpp.
It crash in first line

I think it is because I copy some qt dll but not all required file or folder. I try to move the fold D:\soft\Qt\5.11.0\winrt_x86_msvc2017\plugins\platforms to my project path, failed either. the error info is a little different from above version.

I think i am near from succee. It must be some configures about Qt not correctly.
I have noticed I used win10, so there is a qwinrtd.dll ranther than qwindowsd.dll, I guess it may because manta not support winrt/win10 platforms or some other reason? I have no idea about why Qt not initialized platform plugin, some sample test code about qapplication in Qtcreator work well and load winrt plugin successfully, Could you give some suggestions?