Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 26156

Re: [DOC] Configuring Qt Creator as SDK for uClinux

$
0
0

8. Open Qt Creator

 

9. In Option window, click “Build&Run” “Tool Chains” “Add” “GCC”:

Untitled.png

To select new tool chain, Change the “Compile path” to “/opt/uClinux/bfin-linux-uclibc/bin/bfin-linux-uclibc-g++”;

Change the “Debugger” to “/opt/uClinux/bfin-linux-uclibc/bin/bfin-linux-uclibc-gdb”.

 

10. In Option window, click “Build&Run” “Qt Versions” “Add”:

2.png

In “Add” dialog, navigate the path to /usr/bin. Choose “qmake” and then click “Open”.

Then rename “Version name” to “Qt Embedded for Blackfin”. Click “Apply”.

 

11.Open a Blackfin project. Click “Project” in the left panel. Under Build Setting, Add build configuration:

 

Untitled.png

Make sure Qt embedded for Blackfin is selected for "Qt version" and BFIN toolchain is selected for "Tool chain".

 

 

 

After the above steps, Qt creator should be successfully configured for uClinux. When you doing program, you can run the program on PC first by using the default configuration, e.g. "Qt 4.8.1" in last picture. After everything is working properly, you can compile the codes using "Qt embedded for Blackfin" configuration for uClinux.

 

To add libraries or other gcc option, simple edit the Qt project file.

 

 

 

 

 



Viewing all articles
Browse latest Browse all 26156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>