Learning Qt
I decided to try out Qt, and was shocked how easy it was to "install" and use.
I only unpacked the mingw-Qt zip to my h:/lib/qt folder and it was "installed".
Then I only added the QtCore4.a and QtGui4.a to my codeblocks project's linker settings, and added the h:/lib/qt/include and h:/lib/qt/include/qtgui folder to my project's source files tab, and then I put the QtCore4.dll and QtGui4.dll in the same folder where my game.exe was.
A simple demo program like this already makes a fully functional text editor:
#include <QtGui> int main(int argc, char* argv[]) { QApplication app(argc, argv); QTextEdit edit; edit.show(); edit.append("Hello World!\n"); return app.exec(); }
It compiles in less than a second with codeblocks too B)
Now I will learn a bit more how to use Qt, and then make a demo with LE2 using Qt.
I think this will be the ultimate killer GUI, because it's so easy to use and extremely lightweight and fast (it only links what you use).
And it looks like it uses by default the OS style too, what Josh likes.
5 Comments
Recommended Comments