A busy day, GTK and QT environments are built! QT5 (including creator and tools), installation is really slow, install file 300MB, install download source file 700 MB, Total spent 3/4 hours, mainly because, the site speed limit, not to 100kb/s the rate is really pit Ah, Ben thought, and also forget, but, really use up, Or the same as the installation of egg pain, only the Chinese panel options, sub-menu What the whole English, for me such a novice, is really difficult on the blue sky, and finally chose GTK +, after all, will point C language, look for information good understand, convenient! Can only abandon, good-looking, easy to transplant, processing a bit faster QT (but will not uninstall, after all the useful time, perhaps after the career development needs, I will overcome the Shushan, for now, only to generate a square chart, or with GTK + cost).
QT 5.3:http://mirrors.hustunique.com/qt/archive/qt/5.3/5.3.2/qt-opensource-linux-x64-5.3.2.run
Give execution permission to run directly
GTK (Reference http://www.cppblog.com/deercoder/archive/2012/03/11/108743.html)
Apt-get Install build-essential #这将安装gcc/g++/gdb/make and other BASIC programming tools
Apt-get Install Gnome-core-devel #这将安装 Libgtk2.0-dev Libglib2.0-dev and other development-related library files
Apt-get Install Pkg-config #用于在编译GTK程序时自动找出头文件及库文件位置
Apt-get Install devhelp #这将安装 devhelp GTK Document viewer
Apt-get Install Libglib2.0-doc libgtk2.0-doc #这将安装 gtk/glib API Reference manuals and other help documents
Apt-get Install glade Libglade2-dev #这将安装基于GTK的界面GTK是开发Gnome窗口的c/c++ Language graphics library.
Apt-get install libgtk2.0*, all files required for gtk+2.0 Shitong download and installation are complete.
Application compilation command: GCC test.c ' pkg-config--cflags--libs gtk+-2.0 ', compile and run normally.
Pkg-config is a program to manage the package, in the console input pkg-config--cflags--libs gtk+-2.0, you can find the output of the text includes all the options required for GCC compilation gtk+2.0 (header file directory and library file).
About GTK and QT Environment Building (Ubuntu14.04)