Difference between revisions of "Installing QtCreator"

From wiki.emacinc.com
Jump to: navigation, search
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{todo| Write this|Michael Gloff|project=oe 5,mg}}
+
{{todo| Review (06.18.2015-15:50->KY+)|Brian Serrano|project=oe 5,bs,ky,Review}}
  
 
==Install Qt Creator==
 
==Install Qt Creator==
 +
 
<cl>
 
<cl>
 
1. Download Qt Creator from the Qt project web page:
 
1. Download Qt Creator from the Qt project web page:
  * [http://download.qt-project.org/official_releases/qtcreator/3.1/3.1.0/qt-creator-opensource-linux-x86-3.1.0.run Qt Creator x86 32-bit]
+
  * [https://download.qt.io/official_releases/qtcreator/4.8/4.8.2/qt-creator-opensource-linux-x86_64-4.8.2.run Qt Creator x86 64-bit]
* [http://download.qt-project.org/official_releases/qtcreator/3.1/3.1.0/qt-creator-opensource-linux-x86_64-3.1.0.run Qt Creator x86 64-bit]
 
  
 
* Change to the directory where Qt Creator was downloaded from the command line:
 
* Change to the directory where Qt Creator was downloaded from the command line:
Line 15: Line 15:
  
 
  <syntaxhighlight lang="bash">
 
  <syntaxhighlight lang="bash">
  developer@ldc:~$ chmod +x qt-creator-opensource-linux-x86-3.1.0.run
+
  developer@ldc:~$ chmod +x qt-creator-opensource-linux-x86_64-4.8.2.run
  developer@ldc:~$ ./qt-creator-opensource-linux-x86-3.1.0.run
+
  developer@ldc:~$ ./qt-creator-opensource-linux-x86_64-4.8.2.run
 
  </syntaxhighlight>
 
  </syntaxhighlight>
  
 
The installation wizard will start.  
 
The installation wizard will start.  
  
[[File:Qt_Creator_Install_1.png|400px|thumb|left|Figure 1: Qt Creator Installation Wizard]]
+
[[File:Setup1.PNG|400px|thumb|left|Figure 1: Qt Creator Installation Wizard]]
  
 
<br clear=all>
 
<br clear=all>
  
* Press '''next''' to proceed.
+
* Log in or create an account
 +
 
 +
[[File:Login.PNG|400px|thumb|left|Figure 2: Qt Creator Installation Wizard]]
 +
 
 +
<br clear=all>
 +
* Press '''next''' to proceed with setup.
  
[[File:Qt_Creator_Install_2.png|400px|thumb|left|Figure 1: Qt Creator Installation Wizard]]
+
[[File:Setup.PNG|400px|thumb|left|Figure 3: Qt Creator Installation Wizard]]
  
 
<br clear=all>
 
<br clear=all>
Line 33: Line 38:
 
* Choose an installation directory then press '''next'''
 
* Choose an installation directory then press '''next'''
  
[[File:Qt_Creator_Install_3.png|400px|thumb|left|Figure 1: Qt Creator Installation Wizard]]
+
[[File:InstallationFolder.PNG|400px|thumb|left|Figure 4: Qt Creator Installation Wizard]]
 +
 
 +
<br clear=all>
 +
* Select the components you want to install then press '''next'''
 +
 
 +
[[File:Select components.PNG|400px|thumb|left|Figure 5: Qt Creator Installation Wizard]]
  
 
<br clear=all>
 
<br clear=all>
 
* Accept the license agreement then press '''next'''
 
* Accept the license agreement then press '''next'''
  
[[File:Qt_Creator_Install_4.png|400px|thumb|left|Figure 1: Qt Creator Installation Wizard]]
+
[[File:Terms.PNG|400px|thumb|left|Figure 6: Qt Creator Installation Wizard]]
  
 
<br clear=all>
 
<br clear=all>
Line 44: Line 54:
 
* Press '''install''' to begin the installation
 
* Press '''install''' to begin the installation
  
[[File:Qt_Creator_Install_5.png|400px|thumb|left|Figure 1: Qt Creator Installation Wizard]]
+
[[File:Install.PNG|400px|thumb|left|Figure 7: Qt Creator Installation Wizard]]
  
 
<br clear=all>
 
<br clear=all>
Line 50: Line 60:
 
* A status bar will appear. Press '''finish''' to exit the installation wizard
 
* A status bar will appear. Press '''finish''' to exit the installation wizard
 
</cl>
 
</cl>
==Configure Kits in Qt Creator==
+
 
<cl>
+
== Next Steps ==
1. Open Qt Creator
+
 
* Click Tools->Options...
+
Once Qt Creator is installed, the next step is to [[Configuring_Qt_Creator|configure Qt Creator.]]
* Select '''Devices''' from the left pane
 
i. Press the '''Add...''' button
 
* Select Generic Linux Device then press '''Start Wizard'''
 
* Type in a name, the IP address, user name and password for the device
 
* Click '''Next >'''
 
* Click '''Finish'''
 
* A connection will be established with the target device
 
* Click Apply
 
* Select Build & Run from the left pane
 
* Select the '''Qt Versions''' tab
 
i. Press the '''Add...''' button
 
* Navigate to /opt/emac/5.0.0/sysroots/i686-emacsdk-linux/usr/bin/
 
* Select qmake2
 
* Press apply
 
* Select the '''Compilers''' tab
 
i. Press Add->GCC
 
* Type in a name such as Armv7 Gcc
 
* Click Browse...
 
* Navigate to /opt/emac/5.0.0/sysroots/i686-emacsdk-linux/usr/bin/''target_arch''/
 
* Select ''target_arch''-emac-linux-gcc
 
* Select the '''Debuggers''' tab
 
i. 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
 
* Select the '''Kits''' tab
 
i. Press the '''Add''' button
 
* Type in a name such as Armv7
 
* Change the '''Device type:''' to Generic Linux Device
 
* Change the '''Device:''' to the one configured in step 3
 
* Type /opt/emac/5.0.0/sysroots/''target_arch'' into the '''Sysroot''' line
 
* Change the '''Compiler:''' to the one created in step 6
 
* Change the '''Debugger:''' to the one created in step 7
 
* Change the '''Qt version:''' to the one created in step 5
 
* Press '''Apply''' then '''Ok'''
 
</cl>
 

Latest revision as of 18:22, 5 March 2019

TODO: {{#todo: Review (06.18.2015-15:50->KY+)|Brian Serrano|oe 5,bs,ky,Review}}

Install Qt Creator

  1. Download Qt Creator from the Qt project web page:

  2. Change to the directory where Qt Creator was downloaded from the command line:

     developer@ldc:~$ cd /download/directory
    
  3. Make Qt Creator installer executable and run installer script:

     developer@ldc:~$ chmod +x qt-creator-opensource-linux-x86_64-4.8.2.run
     developer@ldc:~$ ./qt-creator-opensource-linux-x86_64-4.8.2.run
    

    The installation wizard will start.

    Figure 1: Qt Creator Installation Wizard


  4. Log in or create an account

    Figure 2: Qt Creator Installation Wizard


  5. Press next to proceed with setup.

    Figure 3: Qt Creator Installation Wizard


  6. Choose an installation directory then press next

    Figure 4: Qt Creator Installation Wizard


  7. Select the components you want to install then press next

    Figure 5: Qt Creator Installation Wizard


  8. Accept the license agreement then press next

    Figure 6: Qt Creator Installation Wizard


  9. Press install to begin the installation

    Figure 7: Qt Creator Installation Wizard


  10. A status bar will appear. Press finish to exit the installation wizard

Next Steps

Once Qt Creator is installed, the next step is to configure Qt Creator.