Installing QtCreator
Install Qt Creator
-
Download Qt Creator from the Qt project web page:
-
Change to the directory where Qt Creator was downloaded from the command line:
developer@ldc:~$ cd /download/directory
-
Make Qt Creator installer executable and run installer script:
developer@ldc:~$ chmod +x qt-creator-opensource-linux-x86-3.1.0.run developer@ldc:~$ ./qt-creator-opensource-linux-x86-3.1.0.run
The installation wizard will start.
-
Press next to proceed.
-
Choose an installation directory then press next
-
Accept the license agreement then press next
-
Press install to begin the installation
-
A status bar will appear. Press finish to exit the installation wizard
Configure Kits in Qt Creator
-
Open Qt Creator
-
Click Tools->Options...
-
Select Build & Run from the left pane
-
Select the Qt Versions tab
-
Press the Add... button
-
Navigate to /opt/emac/5.0.0/sysroots/i686/usr/bin/
-
Select qmake2
-
Press apply
-
-
Select the Compilers tab
-
Press Add->GCC
-
Type in a name such as Armv7 Gcc
-
Click Browse...
-
Navigate to /opt/emac/5.0.0/sysroots/i686/usr/bin/target_arch/
-
Select target_arch-emac-linux-gcc
-
-
Select the Debuggers tab
-
Press Add
-
Type in a name such as Armv7 Debugger
-
Click Browse...
-
Navigate to /opt/emac/5.0.0/sysroots/i686/usr/bin/target_arch/
-
Select target_arch-emac-linux-gdb
-