The code made with Java is compiled once and can then be used anywhere. It is a good promise. It is nice, but slow. By Qt, the same code is made, but compiled on different platforms. It is much more efficient. Also GUI layout in Qt is much simpler than the one in Java.