I want to write a program for linux with Qt.
I know KDE is coded in Qt and Gnome isn't. Is it still possible to write a program in Qt for Gnome?
🔗 Qt Wayland By Default On GnomeMake Qt applications to run natively on Gnome Wayland session, using the Qt Wayland platform plugin instead of the XCB plugin which is used for X11/XWayland. Other desktop environments already run natively on Wayland sessions, only Gnome is excluded by Qt.
For console applications, check the Run in terminal check box. To specify the terminal to use on Linux and macOS, select Edit > Preferences > Environment > System. To run with special environment variables set up, select them in the Run Environment section. For more information, see Selecting the Run Environment.
If you write a Qt app, it will run fine under GNOME, provided that the user has the Qt libraries installed (or, and this is often better, you ship them with your app)
Your Qt app will look almost native under GNOME if you make it use QGtkStyle as its widgetstyle (this is done via QApplication::setStyle). This means the app won't look ugly or foreign under GNOME (except for some very small details)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With