Closed cretz closed 4 years ago
I have solved this, see the README at https://github.com/cretz/rust-qthello. I put the Windows subsystem on main which is important in the latest release for removing the console win in the background. Then I took the two dlls built by your libs and coupled them w/ 3 from the Qt bin dir adjacent to the exe for it to work.
My issue, based on my use of the dependency walker, was that I was using old Qt libs that were on my PATH from elsewhere. Here's what that simple prog looks like:
Note, you cannot use windeployqt because the exe is not recognized as a Qt app. Shall I leave this open pending some documentation on Windows deployment, or close as not a bug?
Let's leave it open. A deployment tutorial is definitely needed.
When doing
cargo run --release
on https://github.com/cretz/rust-qthello (with qmake and msvc 64 bit vars on path to properly build deps), I get the following on execution:It should be noted that it all builds properly. Am I missing some DLLs I need to place in the output folder?