Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:general_information:qt_creator [2014/10/22 09:54] liedmannen:general_information:qt_creator [2022/08/04 15:02] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ==== Prerequisites ==== ==== Prerequisites ====
 <WRAP round important 75%> <WRAP round important 75%>
- You need to install  python devel packages on the build host and then compile the OSELAS toolchain !+ You have to install the Python devel packages on the build host and then compile the OSELAS toolchain !
 </WRAP> </WRAP>
  
 === Install python devel packages === === Install python devel packages ===
- - Update Packetmanager +  - Update Packetmanager <code bash>sudo apt-get update</code> 
-<code bash>sudo apt-get update</code> +  - Install python devel packages <code bash>sudo apt-get install python-dev</code>
-  - Install python devel packages +
-<code bash>sudo apt-get install python-dev</code>+
  
  
Line 22: Line 20:
 === Host === === Host ===
   * installed PTXdist [[http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf|Pengutronix quickstart guide]]   * installed PTXdist [[http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf|Pengutronix quickstart guide]]
-  * OSELAS TOOLCHAIN including GDB with python support [[http://www.ptxdist.org/software/ptxdist/appnotes  /AppNote_BuildingToolchain.pdf|Appnote building OSELAS Toolchain]]+  * OSELAS TOOLCHAIN including GDB with python support [[http://www.pengutronix.de/software/ptxdist/appnotes/AppNote_BuildingToolchain.pdf|Appnote building OSELAS Toolchain]]
   * PTXdist images    * PTXdist images 
 +
  
    
Line 30: Line 29:
   * User with password (needed for ssh remote access)   * User with password (needed for ssh remote access)
   * gdbserver   * gdbserver
-  * OpenSSH with sshd and sftpd+  * OpenSSH with sshd and sftpd (disable dropbear in ptxdist menu and build a new image)
   * Network connection to development host   * Network connection to development host
  
Line 44: Line 43:
  
 === Ubuntu packetmanager installation === === Ubuntu packetmanager installation ===
-  - Update Packetmanager +  - Update Packetmanager <code bash>sudo apt-get update</code> 
-<code bash>sudo apt-get update</code> +  - Install Qt Creator <code bash>sudo apt-get install qtcreator</code>
-  - Install Qt Creator +
-<code bash>sudo apt-get install qtcreator</code>+
  
 ---- ----
Line 123: Line 120:
  
  
-navigte to **/your/BSP source/platform-<PTXCONF_PLATFORM>/sysroot-cross/bin/qmake-cross**\\+navigate to **/your/BSP source/platform-<PTXCONF_PLATFORM>/sysroot-cross/bin/qmake-cross**\\
  
 for this tutorial **/home/tq/workspace/BSPs/TQMa6x-BSP_REV.0104/platform-MBa6x/sysroot-cross/bin/qmake-cross** for this tutorial **/home/tq/workspace/BSPs/TQMa6x-BSP_REV.0104/platform-MBa6x/sysroot-cross/bin/qmake-cross**
Line 129: Line 126:
 ==== Add a device ==== ==== Add a device ====
  
-In the main window of Qt Creator select the tab **Tools** and in the dropdown menu **Options** 
-\\ 
-{{:en:general_information:qt_1.jpg?nolink&800|  }} 
-\\ 
-\\ 
 In the main window of Qt Creator select the tab **Tools** and in the dropdown menu **Options** In the main window of Qt Creator select the tab **Tools** and in the dropdown menu **Options**
 \\ \\
Line 190: Line 182:
 __**Device**__ will be automatically fill up if you configured a[[intern:general_information:qt_creator#Add a device| device]] before\\ __**Device**__ will be automatically fill up if you configured a[[intern:general_information:qt_creator#Add a device| device]] before\\
 \\ \\
-__**Sysroot**__  set your root debug folder **/path/to/your/BSP source/platform<PTXCONF_PLATFORM>/root-debug**\\  +__**Sysroot**__  set your root debug folder **/path/to/your/BSP source/platform<PTXCONF_PLATFORM>/sysroot-target**\\  
-for this tutorial**/home/tq/workspace/BSPs/TQMa6x-BSP-REV.0104/platform-MBa6x/root-debug**\\+for this tutorial**/home/tq/workspace/BSPs/TQMa6x-BSP-REV.0104/platform-MBa6x/sysroot-target**\\
 \\ \\
 __**Compiler**__ select [[intern:general_information:qt_creator#Add compiler from BSP source| compiler]] you configured before\\  __**Compiler**__ select [[intern:general_information:qt_creator#Add compiler from BSP source| compiler]] you configured before\\ 
Line 203: Line 195:
 \\ \\
 __**Qt mkspec**__\\ __**Qt mkspec**__\\
 +
 +===== Creating a Hello World Application =====
 +
 +To create a new project select File > New file or project > Other Projects > Empty Qt Project
 + 
  • Last modified: 2022/08/04 15:04