IGOS Nusantara dan Qt
Dari IGNwiki
Daftar isi
Unduh
Akses ke: http://download.qt-project.org/archive/qt/5.3/5.3.1/
Unduh:
qt-opensource-linux-x86-5.3.1.run 24-Jun-2014 10:31 447M qt-opensource-linux-x64-5.3.1.run 24-Jun-2014 10:30 444M
Pasang
# yum install libxcb libxcb-devel xcb-util xcb-util-devel xcb-util-*-devel libX11-devel libXrender-devel libXi-devel
Contoh Non GUI
#include<QtCore> int main(){ qDebug() << "Halo Dunia\n"; }
Contoh Program GUI
#include<QApplication> #include<QLabel> int main(int argc, char *argv[]){ QApplication a(argc, argv); QLabel label; label.setText("Hello World"); label.show(); a.exec(); }