"But I was also thinking ahead: even if the direct bindings could be made, I 
can see no clear way of using inheritance in Nim like it is used in C++ for 
creating new widgets.

So I am starting to think that a better approach would be to write something 
native in Nim: maybe Fidget (Fidgetty) or nimx?"

I think that you are wrong about making new widgets. Who wants to make new 
widgets? That seems... wrong to me.

But the approach that they did with 
<https://golangexample.com/qt-binding-for-golang-aims-get-gos-compile-speed-again/>
 I like a lot!

Why? Because compiling Qt is a ONE time operation. After that you can use the 
Qt stuff. You don't need to compile everything again and again, which I think 
is not the right approach.

So, I still think that creating a go2nim would be the better approach. They 
already created the entire QT wrapper, why try to reinvent the wheel again?

Reply via email to