Qt_Kde_Gtk_Gnome
-
Hi ,
Is it true that Qt is for Kde desktops and Gtk for Gnome ?. If I make an application with Qt, could it work in Gnome? How can I know what kind of desktop a certain Linux distribution uses? Could you advise me a tutorial where it is explained how to deploy Qt on Linux? -
@dleyva said in Qt_Kde_Gtk_Gnome:
Hi ,
Is it true that Qt is for Kde desktops and Gtk for Gnome ?.No. Gnome is written using Gtk, and KDE is using Qt. But that does not "lock" apps to one desktop environment.
If I make an application with Qt, could it work in Gnome?
Yes. Not "could" - it will work. And also it will work on Windows, macOS etc.
How can I know what kind of desktop a certain Linux distribution uses?
You could scan the system for some well-known indicators that a certain desktop environment is running. But, as indicated in by answers above - you don't have to do it.
Could you advise me a tutorial where it is explained how to deploy Qt on Linux?
There are some docs: https://doc.qt.io/qt-5/linux-deployment.html
And there is linuxdeployqt
And in cmake, there is CPack, which can make DEB, RPM packages automatically for you, with minimal configuration.