I was wondering, how an app which uses Qt for its GUI can be adapted to the Elementary Look & Feel. I know that elementary-specific apps are typically written in Vala, where, according to the docs, Gtk+ is used for user interfaces. So since Qt is able to delegate its renderings to Gtk+, at least as far as I know, is there any "best practice" on how to immitate the Elementry Look & Feel when one is bound to Qt and e.g. C++?
For example, elementary app windows lack classic title bars, whereas QMainWindow
and QDialog
all come along with such. We can get rid of them using Qt::FramelessWindowHint
though, but how do keep the window borders? And is there any convenient approach to achieving these elementary-typical toolbars?
Or maybe, is the adaption of the elementary Look & Feel only possible when using Vala and Gtk+, but if so, then why?