Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

For developing an application optimized for LXDE, should you choose GTK2, GTK3 or QT?

Most LXDE apps are currently using GTK2, but it looks like GTK2 is becoming dead and the LXDE developers are porting everything over to QT

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

As far as I have understood the situation with LXDE, they are not 100% sure to switch to Qt.

Since there will not be any further development on GTK+ 2, they have to choose between GTK+ 3 and Qt. It looks like there will be two version of LXDE one with Qt and the other with GTK+ 2 or 3, until they decided which to choose.

To answer your question, today you can't really tell in which direction it will go. My advice would be, it doesn't really matter which framework you will choose, since on most unix desktops there are all three frameworks installed.

I would not recommend GTK+ 2, because this is definitely not beeing continued. The best bet looks to be Qt, but it is a gamble.

share|improve this answer
    
Ok, I'm going with QT. I also saw this and this. It really looks like they are going with QT because GTK3 is unsuitable for some reason –  Jop Jul 9 '13 at 18:18
    
It usually doesn't matter which framework you choose, since all frameworks are similar. –  Raphael Ahrens Jul 9 '13 at 18:22
    
Can you explain to me why does the PCManFM says GTK3 is totally unsuitable then? –  Jop Jul 9 '13 at 20:10
    
Take a look at blog.lxde.org/?p=990. There they justify the switch and say that the memory usage of GTK+ 3 is bigger. That should be the main reason. Also GTK+ is a C library and Qt is a C++ library and some see C++ as a more productive language then C. –  Raphael Ahrens Jul 10 '13 at 4:02
    
Ok, thank you! I'll go with QT –  Jop Jul 10 '13 at 6:34
add comment

Given it's developed using the GTK+ Toolkit I would assume that developing using GTK2 would make the most sense.

excerpt from LXDE wikipedia page

LXDE is written in the C programming language, using the GTK+ toolkit, and runs on Unix and other POSIX compliant platforms, such as Linux and BSD. GTK+ is commonly used in many Linux distributions and allows applications to run on different platforms.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.