Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:general_information:qt_creator [2014/10/22 09:46] – created liedmann | en: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%> | ||
- | | + | |
</ | </ | ||
=== Install python devel packages === | === Install python devel packages === | ||
- | - Update Packetmanager | + | |
- | <code bash> | + | - Install python devel packages <code bash> |
- | - Install python devel packages | + | |
- | <code bash> | + | |
Line 22: | Line 20: | ||
=== Host === | === Host === | ||
* installed PTXdist [[http:// | * installed PTXdist [[http:// | ||
- | * OSELAS TOOLCHAIN including GDB with python support [[http:// | + | * OSELAS TOOLCHAIN including GDB with python support [[http:// |
* 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> |
- | <code bash> | + | - Install Qt Creator <code bash> |
- | - Install Qt Creator | + | |
- | <code bash> | + | |
---- | ---- | ||
Line 58: | Line 55: | ||
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** | ||
\\ | \\ | ||
- | {{:intern: | + | |
+ | {{:en: | ||
\\ | \\ | ||
\\ | \\ | ||
In the Options menu select **Build & Run** from the menu tab on the left side then select the **Compilers** tab and click on **Add** button on the upper right side then select **Custom** from the dropdown menu\\ | In the Options menu select **Build & Run** from the menu tab on the left side then select the **Compilers** tab and click on **Add** button on the upper right side then select **Custom** from the dropdown menu\\ | ||
- | {{:intern: | + | {{:en: |
Now you have to set | Now you have to set | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
__**Name**__ should be named like the toolchain compiler in this case **< | __**Name**__ should be named like the toolchain compiler in this case **< | ||
Line 88: | Line 86: | ||
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** | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
\\ | \\ | ||
In the Options menu select **Build & Run** from the menu tab an the left side then select **Debuggers** tab and click on **Add** button on the upper right side | In the Options menu select **Build & Run** from the menu tab an the left side then select **Debuggers** tab and click on **Add** button on the upper right side | ||
- | {{:intern: | + | {{:en: |
Line 99: | Line 97: | ||
now you have to set | now you have to set | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
__**Name**__ should be named like the toolchain compiler in this case **< | __**Name**__ should be named like the toolchain compiler in this case **< | ||
Line 114: | Line 112: | ||
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** | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
\\ | \\ | ||
In the Options menu select **Build & Run** from the menu tab on the left side then select **Qt Versions** tab and click on the **Add** button on the upper right side a filemanager window appers | In the Options menu select **Build & Run** from the menu tab on the left side then select **Qt Versions** tab and click on the **Add** button on the upper right side a filemanager window appers | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
- | navigte | + | navigate |
for this tutorial **/ | for this tutorial **/ | ||
Line 130: | Line 128: | ||
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** | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
- | \\ | + | |
- | \\ | + | |
- | In the main window of Qt Creator select the tab **Tools** and in the dropdown menu **Options** | + | |
- | \\ | + | |
- | {{:intern: | + | |
\\ | \\ | ||
\\ | \\ | ||
in the Options menu select **Device** and click on **Add** button | in the Options menu select **Device** and click on **Add** button | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
The device configuration wizard appears | The device configuration wizard appears | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
select **Generic Linux Device** and click on **Start Wizard** | select **Generic Linux Device** and click on **Start Wizard** | ||
Line 149: | Line 142: | ||
in the following window you have to set the connection parameters | in the following window you have to set the connection parameters | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
__**The name to identify this configuration**__ you can enter any Name here e.g. **<your device name> | __**The name to identify this configuration**__ you can enter any Name here e.g. **<your device name> | ||
Line 170: | Line 163: | ||
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** | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
\\ | \\ | ||
Line 176: | Line 169: | ||
\\ | \\ | ||
- | {{:intern: | + | {{:en: |
\\ | \\ | ||
you have to set\\ | you have to set\\ | ||
Line 189: | Line 182: | ||
__**Device**__ will be automatically fill up if you configured a[[intern: | __**Device**__ will be automatically fill up if you configured a[[intern: | ||
\\ | \\ | ||
- | __**Sysroot**__ | + | __**Sysroot**__ |
- | for this tutorial**/ | + | for this tutorial**/ |
\\ | \\ | ||
__**Compiler**__ select [[intern: | __**Compiler**__ select [[intern: | ||
Line 202: | 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 | ||
+ |