Sorry to be late at the party but I think that it is possible to make Qt work with Nim. Just have a look at how a Go binding to Qt was created. <https://golangexample.com/qt-binding-for-golang-aims-get-gos-compile-speed-again/>
They just compiled Qt to a library and they created pseudo code to "mimic Qt calls". The only two problems with this wrapper is that the library looks to be "abandoned" and that Qt6 is not supported. That said, it looks to be complete. So... if you want it to work with Nim, then I suggest to create a Go wrapper instead of copying the Go code to Nim. The good part is that Go is "easy", because it is simple.
