3

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

2

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.

  • 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 – stommestack 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? – stommestack Jul 9 '13 at 20:10
  • 1
    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
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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