Yes I put a label and a button on the main widget with the qt form editor also I can start the widget project with the desktop MSVC qt kit but when I change to uwp MSVC kit I just get a blank window and lots of errors (see above). Also I did all updates one thing to say it is only a windows 10 vm but it should work anyway right?
Thanks for the help. I am going to mark this closed.
Seems like loading MSVS 2019 does something to the MSVS2017 install. I was able to get it to run on a new machine without either Qt or MSVS already installed. I was able to get QtCreator running and compiling on the machine I had previously loaded MSVS 2019 installed but it was still doing flaky things.
@Photatum I guess QtCreator needs to be adapted to different folder structure in order to recognise the compiler installed this way. I'm sure QtCreator developers are working on this :-) If not it is possible to file a change request.
One question: the list of dependent dlls for an .exe file only include the filenames, the source path windeployqt uses for the copying seems to be Qt's bin directory only. So, in order for your Qt5Pdf.dl to be successfully copied by windeployqt, did you first copy Qt5Pdf.dl into Qt's bin directory?
Yep, both Qt5Pdf.dll and qca-qt5.dll are inside C:\Qt\5.12.3\msvc2017_64\bin (same folder as windeploy). They were automatically copied with their post-build installation
Final Edit! Got it working thanks to you. The subdirectories got completely wiped for some reason, but after rebuilding the file with the correct Qt version for the project and using the proper version of Windeployqt, the application works! Thank you so much :)
@jsulm By the looks of things, copying the Qt5Widgets.dll from the 5.11.2 version did not resolve the issue. Now it does not give out the same error, though. It says "No Qt platform plugin could be initialized" I could build the project again and re-do the deployment process. I'd just need to get another computer to test it on (which shouldn't be an issue). What do you think?
Edit: It seems as if though for some reason the subdirectories got wiped? I'll investigate.