LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2007, 03:46 PM   #1
MrFixit
Member
 
Registered: Aug 2004
Posts: 32

Rep: Reputation: 15
Qt under gnome


Hello, I know to program with Qt, and I like the way it is designed.
but I prefer Gnome, my question is - will there be any performance penalty for using Qt apps under Gnome?
(apart from the need to install the Qt runtime, and the fact that the looks might be different).

is there anything i can do with Gtk that i can't do with Qt because my program operates under Gnome?
 
Old 12-11-2007, 04:40 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Yes, there will be a performance hit - startup time may be increased in a GTK environment, as a QT app will have to load the QT libs into memory, whereas most of the GTK libs will already be loaded for a GTK app. There will be more total memory used in a GTK + QT situation for the same reason.

"is there anything i can do with Gtk that i can't do with Qt because my program operates under Gnome?"
Probably not. Unless you're relying on KDE environment stuff like arts you should be fine, and even then it shouldn't be an insurmountable problem.

Plenty of people run Gnome but use, for example, k3b for burning CDs, and don't have any issues. I wouldn't worry about it.

Dave
 
Old 12-11-2007, 07:35 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Many Gnome users object to running KDE applications because they tend to start up a bunch of KDE daemon processes which hog memory and CPU cycles. QT apps don't have to use the KDE libraries of course, so if you intend to appeal to gnome users avoid using KDE libraries.
 
Old 12-11-2007, 11:47 PM   #4
MrFixit
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
Thank you both, you have been very useful.

As long as the loading time and memory footprint overhead aren't that bad, I still prefer Qt.
(it's like preferring C++ over C, I get some overhead, but it's worth it as long as it's not runtime critical application.)
if I wanted to take it to extreme i could have use pyQt (which is even more fun to program, but even less efficient).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
update removes gnome-panel & gnome-core adamruss Debian 9 09-23-2007 11:11 PM
Gnome-panel, nautilus and gnome settings daemon Fail on Startup hitman_et Linux - General 0 04-01-2005 09:06 PM
automount cd and usb memory in gnome 2.8 testing sarge with gnome-volume-manager gvm pevelius Debian 0 12-20-2004 02:15 AM
Palm and Gnome: problem with gnome-pilot and how to view/edit memopad entries lhoff Linux - Software 4 12-07-2004 11:55 AM
missing gnome option in gnome-keybinding-properties fedora core 1? lrt2003 Fedora 0 04-18-2004 07:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration