IGOS Nusantara dan Qt: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari
Baris 1: Baris 1:
 +
 +
== 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 ==
 
== Pasang ==

Revisi per 27 Agustus 2014 02.00

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();
}