Is there a Native to Qt layer?

With all the porting going on, there’s a lot of Gtk, Qt apps. I just wondered, flipping the idea on its head if after writing a native app, there could be headers and a lib to make it a Qt/KDE app (almost).

  1. This would encourage native app development
  2. Qt/KDE would feel like the second option (port)
  3. The APIs being in some sense simpler/more-concise, better for initial development

I remember when the Eclipse Foundation made a Gtk implementation of the AWT, so just an include change made a Gtk Java application. So I kind of had the idea today. I guess the APIs do look good.

Maybe it’s counter intuitive?

EDIT: I remember when Kt used to be wrapper classes around Qt for KDE specifics. In the times of NXPlugin … should Haiku have a man2md? Documentation Formats? (html, md, ...) as html has a lot of surplus tags. Ah Mandrake Linux, blah, blah, …

Not Qt/KDE, but have you heard of Cosmoe?

Not really what you are asking for, but I have been working on this library for the last year GitHub - gen2brain/iup-go: Cross-platform UI library with native controls · GitHub (still not fully ready for release, almost there). The same app can be compiled for Win32, WinUI3, Cocoa, GTK2, GTK3, GTK4, Qt5, Qt6, FLTK, EFL, GNUStep, Haiku, WebAssembly, Android, and iOS. I guess everything is covered, and I answered the famous “but what is the native UI on Linux” question. Of course, you can use C or C++; there is a nice C++ wrapper that is maintained.

I just shared an app I did here, Comic Book Converter.