Here we have a short article on installing Qt Creator on the NVIDIA Jetson TX1. Looky here:

Note: This article is about installing Qt Creator 3.3.1 for Qt 5.5.1 on a Jetson TX1. The Jetson TX1 is flashed using JetPack 2.3.1 and is running L4T 24.2.1.

Background

There are a couple of tricks to installing Qt Creator on the Jetson TX1 from the Ubuntu repositories. Some folks have reported issues installing Qt 5.5 on the TX1, so I revisited the installation we had done for the Jetson TK1.

Installation

First, install Qt Creator from the repositories. Open a Terminal and execute:

sudo apt-get install qt5-default qtcreator -y

Second, the compiler needs to be set up. Open Qt Creator, and go to:

Tools->Options->Build & Run->Compilers

Click the ‘Add’ button and select ‘GCC’. In the ‘Compiler path:’ text box, place the path to the gcc compiler. On a standard installation the path is: /usr/bin/gcc.

Here’s the where the first issue comes into play. When GCC is added to the compiler list, it does not set the processor architecture flag correctly. As shown in the video, remedy this issue by modifying the ABI section of the GCC compiler dialog. Change the
setting to:

custom – arm – linux – generic – elf – 64 bit

Then save the modifications by clicking ‘Apply’

The third and final step is to add a kit which supports the GCC compiler. Click the ‘Kit‘ tab. The ‘Desktop‘ kit appears to have an issue with setting the compiler. This means that you can find the Desktop kit configuration file and manually modify it, or you
can create a new Kit all together. In the video, a new Kit called ‘JetsonTX1’ is created and set to be the default.

Qt Creator is now ready for development, make sure that the JetsonTX1 Kit is selected when creating a new project.

Examples

In the video, the standard Qt examples were loaded for demonstration purposes. Also, Qt documentation was loaded. In the Terminal, execute:

$ sudo apt-get install qt5-doc qt5-doc-html qtbase5-doc-html qtbase5-examples -y

The examples are now available.

Conclusion

Getting Qt Creator up and running on the Jetson TX1 requires a couple of tricks, but fortunately we were able to figure them out.

Note: If you are running a version of L4T 24.X before 24.2.1, you may encounter errors associated with a soft link issue with the Mesa OpenGL drivers. In 24.2.1, these have been resolved. For previous versions, you may have to:

$ cd /usr/lib/aarch64-linux-gnu

$ sudo rm libGL.so

$ sudo ln -s /usr/lib/aarch64-linux-gnu/tegra/libGL.so libGL.so

最新文章

  1. iOS之判断字符串是否为空字符的方法
  2. linux设备驱动编写_tasklet机制(转)
  3. Json--Android中数据文件解析(Json解析--从服务器端获取数据并且解析,显示在客户端上面)
  4. php在apache中一共有三种工作方式:CGI模式、FastCGI模式、Apache 模块DLL
  5. 设计模式(Design Patterns——可复用面向对象软件的基础
  6. art.dialog 与 ajax 异步请求
  7. Hadoop2.4.1入门实例:MaxTemperature
  8. ThinkPHP使用Memcached缓存数据
  9. Java的基本语法
  10. hadoop-mapreduce在maptask执行分析
  11. 小程序 - pages/list/list出现脚本错误或者未正确调用 Page()
  12. 函数前加static与不加static的区别
  13. Leetcode88_Merge Sorted Array_Easy
  14. svn的上传冲突问题
  15. Haskell语言学习笔记(25)MonadState, State, StateT
  16. 来自苹果的编程语言——Swift简单介绍【整理】
  17. uva1391 2-SAT 问题
  18. MySQL设置某一字段默认为0,但是插入数据化却显示为null
  19. CF17E:Palisection——题解
  20. javascript 事件知识集锦

热门文章

  1. 【大数据】Hadoop单机安装配置
  2. NSSting NSData 与字符集合
  3. scala 型变
  4. codeforces B. A and B 找规律
  5. 可以使用WinDbg将PE映像作为转储文件打开
  6. prisma2 预览版
  7. MySQL中自增ID起始值修改方法
  8. Linux禁止ping和开启ping的方法
  9. YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe
  10. [技术博客] rails控制台调试路由