Also, if you have an android device , check the demo and the editor where you can directly try to code QML from your couch!
And keep in mind, Qtquick is not only for mobile! You can create nice desktop GUI very quickly!
Hi,
There are many free software for bioinformatics people, and many of them use Java as the GUI programming language. All of them have very good features, and we all probably use one of them. But Java make the GUI ugly, unresponsive, it is very slow, it depends of java and you have a non zero probably to crash it cause of the memory usage! I don't say anything about the language, but you probably understand why!
So, I suggest you all to switch to the Qt5 framework !
Qt (Cute) is a C++ framework that works everywhere : Linux, Mac , windows and also mobile, tablet or embedded devices. It uses LGPL license (there is also a commercial license).
If you are afraid of C++, don't worry! Qt has a very high level language, and it's very easy to understand! It also provides a Really good IDE (Qt creator)! And it's far away from the worst IDE of all the time (Eclipse). There is also a new declarative Language called "QML" which help you to design the graphics interface! You keep C++ for the logic! It's awesome, my grand mother would be able to design a nice interface ! :D
For example, you will be able to:
If you want to have a taste, here are software made or has switch to Qt:
Some videos to watch:
So, start now by downloading Qt [http://www.qt.io/] and try your first tutorial: http://doc.qt.io/qt-5/gettingstartedqt.html
Have fun! And say "Goodbye java"!
C++ is a big obstacle to some programmers. As much as I dislike Java, for common programmers, Java is easier to learn and less likely to blow your feet off. Yes, Java is a memory hog, but the GUI applications I see in our field do not require much RAM anyway. More importantly, Java is often "compile once, run anywhere". The same can't be said for C++ programs, especially when they have a 700MB dependency on Qt – don't underestimate the headaches on compilation and installation on those "managed" linux clusters. As I just tried Bandage, a Qt based assembly viewer, its Linux binary does not run on CentOS5/6. It is hard.
Qt is good and gaining ground, but Java is still a good option for GUI programming.
To Complete my arguments, let's have a look on a piece of code on the new QML script language:
import QtQuick 2.0
Rectangle {
id: page
width: 320; height: 480
color: "lightgray"
Text {
id: helloText
text: "Hello world!"
y: 30
anchors.horizontalCenter: page.horizontalCenter
font.pointSize: 24; font.bold: true
}
}
Here is the tutorial: http://doc.qt.io/qt-5/qml-tutorial1.html
Also, if you have an android device , check the demo and the editor where you can directly try to code QML from your couch!
And keep in mind, Qtquick is not only for mobile! You can create nice desktop GUI very quickly!
Log in to answer this question.
-> troll
yes! A big Qtroll! C++ apps crashs too ! But it still faster than java all the time !
I also like to troll back:
I hope, I made my point in rejecting Qt for the same arguments that you use to reject Java... Some of the arguments might be valid, for some you might find benchmarks falsifying my statement but if you try to falsify the above points, you didn't got my main message here ;-)
Having trolled like that, I like to also add a more adult answer: every GUI framework is bloated in some way and we (as programmers) should think more about the design than the language. In fact, you can write good GUIs in Java but often people in science crunch things together as they need it, e.g., because a reviewer requests a GUI. For this reason, a GUI is often one of the last things, most academics - from student to professor - think about. But, there are full professorships in Informatics that research on a good interfaces - let it be desktop or website. This shows that GUI development is not an easy task and consequently you should put more effort into proper design to get something good. And this does not one the actual framework that you use but on you as a good programmer...
But I just wanted to share my love for Qt and share it with you ! No offense! Have a try, you will fall in love!
I shouldn't, but I can't resist:
Stop to make GUI with anything .... Use command-line !!