1. Vmware workstation Creating virtual machines
BIOS opens INTEL virtual technology (AMD does not need)
Install ubuntu 12.04.1 System
when customizing hardware, use the INTEL virtual technology to turn off the 3D graphics effect on your display .
Divide the hard disk of a virtual machine into a single file
2. Modify Ubuntu Configuration
Modify the software source select Best Server
download software synaptic
Login Options
in file /etc/lightdm/lightdm.conf
Add greeter-show-manual-login=true allow-guest=false
3. Create a shared folder
edit virtual machine settings Options Settings shared folder is always enabled
Open /mnt to see if there is a shared folder name
If not:
Bash executes vmware-hgfsclient for example:
$ vmware-hgfsclient Share
When you open Vmware-tools in the VMware software,
Bash Execution vmware-config-tools.pl
4. Installing QT4.8.4
View qt4.8.4 required library files http://doc.qt.io/qt-4.8/requirements-x11.html
Libfontconfig1-dev
Libfreetype6-dev
Libx11-dev
Libxcursor-dev
Libxext-dev
Libxfixes-dev
Libxft-dev
Libxi-dev
Libxrandr-dev
Libxrender-dev
download these library files with synaptic
See if there is a build-essential library, and if not, you cannot use g++ and need to download it.
Download qt-everywhere-opensource-src-4.8.7.tar.gz
Gunzip qt-everywhere-opensource-src-4.8.7.tar.gz
Tar xvf Qt-everywhere-opensource-src-4.8.7.tar
./configure
Make time minutes
Make Install
Setting Environment Variables
qtdir=/usr/local/trolltech/qt-4.8.7
Path= $QTDIR/bin: $PATH
Ld_library_path= $QTDIR/lib:ld_library_path
Export Qtdir PATH Ld_library_path
5. Installing Qt-creator
Download qt-creator-2.8.1-src.tar.gz File
Gunzip qt-creator-2.8.1-src.tar.gz
Tar xvf Qt-creator-2.8.1-src.tar
Qmake–r
Make it take a minute
Make install Install_root=\usr\local\qt-creator
Set the path after installation, if not set, it will be installed in the source folder
Tip: This is best to download the installation package file directly, the compilation time itself is too long, and after compiling only through bash open qt-creator,
The installation package files can be clicked and run directly after installation.
Installing QT with Ubuntu under VMware