Deploy Aplikasi QT untuk Platform Windows (MinGW 32 Bit)

Berikut ini adalah cara deploying aplikasi yang diprogram menggunakan QT untuk Platform Windows 32 Bit dan di compile menggunakan MinGW 32 Bit. Contoh saya menggunakan QT Open Source 5.3.1 dengan Compiler MinGW 4.8.2 Sejak QT 5.2, telah disediakan tools bernama windeployqt.exe. Pada QT Open Source 5.3.1  dengan compiler MinGW 4.8.2, windeployqt.exe dapat dicari di C:\Qt\5.3\mingw482_32\bin (apabila anda menggunakan default instalation). Menggunkan command prompt ubah ke directory di mana terdapat windeployqt.exe. Jalankan dahulu qtenv2.bat untuk setting up environment c:\Qt\5.3\mingw482_32\bin\qtenv2.bat qtenv2.bat akan menyipakan environment path supaya windeployqt.exe dapat dijalankan pada prompt di folder aplikasi.

Continue readingDeploy Aplikasi QT untuk Platform Windows (MinGW 32 Bit)

Code::Blocks Simple Hello World Console Applications

Create New Project from File -> New -> Project Pick New Console Project then Click Go Click Next Select C then Click Next Fill project title and choose folder to create project in Choose GNU GCC Compiler and then click Finish Create Code in main.c files #include <stdio.h> #include <stdlib.h> int main() { printf(“Hello world!\n”); return 0; } Build -> Run (or simply press Ctrl + F10) or Press F9 to Build and Run Yes Your first C program accomplished