Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt vs Swing : Similarities and Disimilarities?

Tags:

swing

qt

Do they have any common concepts like C++ and Java do? So that, anyone who learn either gets the basics of other? Like C++ and Java share some common concepts of OOP. You learn them in Java, you can apply them in C++ too and vice versa. Do, Qt and Swing has such property?


1 Answers

Since I have used both Swing and QT, I think that they do have some commons and being familiar with one can help you to learn the other faster. A good example is layouts. For example a grid layout is a grid layout no matter whether QT or Swing (or any other GUI library I guess) is used. The fundamental difference between the two frameworks is the event based nature of Swing (basically implementing listeners for everything and catching the generated events that interest you) vs. the slots and signals mechanism of QT.

like image 185
sakisk Avatar answered Feb 03 '26 01:02

sakisk