Difference between revisions of "Configuring Qt Creator"
Kyoungmeyer (talk | contribs) |
Kyoungmeyer (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{todo| Review |Brian Serrano|project=oe 5,bs,ky,mg}} | + | {{todo| Review (11.09.2015-13:55->KY+)|Brian Serrano|project=oe 5,bs,ky,mg}} |
{{#seo: | {{#seo: |
Revision as of 14:29, 12 November 2015
NOTE |
For paths that contain {-gnueabi}, if the target architecture is ARM, just remove the curly braces. If the target architecture is x86, remove the curly braces and the text they contain entirely. |
Configure Kits in Qt Creator
-
Open Qt Creator
developer@ldc:~$ /home/developer/qtcreator-3.1.0/bin/qtcreator
-
Click Tools->Options...
-
Select Devices from the left pane
-
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
-
Press the Add... button
-
Navigate to /opt/emac/5.0/sysroots/x86_64-emacsdk-linux/usr/bin/
-
Select qmake
-
Press apply
-
-
Select the Compilers tab
-
Press Add->GCC
-
Type in a name such as OE5 ARM GCC
-
Click Browse...
-
Navigate to /opt/emac/5.0/sysroots/x86_64-emacsdk-linux/usr/bin/target_arch/
-
Select target_arch-emac-linux{-gnueabi}-gcc
-
-
Select the Debuggers tab
-
Press Add
-
Type in a name such as GDB OE5 ARM
-
Click Browse...
-
Navigate to /opt/emac/5.0/sysroots/x86_64-emacsdk-linux/usr/bin/target_arch/
-
Select target_arch-emac-linux{-gnueabi}-gdb
-
-
Select the Kits tab
-
Press the Add button
-
Type in a name such as OE 5.0 arm
-
Change the Device type: to Generic Linux Device
-
Change the Device: to the one configured in step 3
-
Type /opt/emac/5.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
-
Type target_arch-emac-linux{-gnueabi}-g++ into the Qt mkspec line
-
Press Apply then Ok
-