Developing on NVIDIA® Jetson™ for AI on the Edge

Install Qt Creator on NVIDIA Jetson TK1

For the next project, Qt Creator is needed. Here’s a little video showing the installation on a NVIDIA Jetson Tk1 Development Kit. Looky here:

Nothing difficult here. Open up a Terminal and execute:

sudo apt-get install build-essential qt5-default qtcreator -y

which will load Qt Creator. Once Qt Creator is installed, there is still a little setup needed.

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.

You should also check the ‘Kits’ setting, available from the ‘Kits’ tab. Selecting the Desktop (default) kit, you should see Compiler: GCC. The name GCC should match the Compiler named in the previous tab.

The installation was shown on Linux for Tegra (L4T) release 21.3. Note that no special compiler flags were set. Also, CUDA was not configured.


14 Responses

  1. Hi,
    I attempting to compile QT GUI application on Nvidia EVB, I tried to cross compile my code using qmake with arm-g++-gnueabifh-gcc compiler but it won’t compile.
    Do you have a guide for compile QT application on ARM target?
    Regards, Yakov S.

    1. I am unfamiliar with the NVIDIA EVB, what is it?
      Unfortunately I do not use a cross compiler, I only compile on the Jetson device itself. Once Qt Creator is installed as described in the video, it works as a regular Qt system.
      There is not enough information in “it won’t compile” for me to offer any suggestions.

  2. I have suceed installed Qt Creator on my LT4 r19 with this command, but after i flash it to make it LT4 r21.1 i cannot use this way to install it, do you know how to solve this problem?

  3. I followed this procedure but the “Kits” setting page does not find gcc. When I try to add a new kit, and specify gcc, it tells me “the compiler gcc (unknown-linux-generic-elf-64 bit) cannot produce code for the QT version 5.5.1 in PATH(qt5) (arm-generic-elf-64bit)

  4. oops, I am on a TX1, not a TK1. Sorry, I didn’t realize until just now that this post was about creator on the TK1

    1. No worries, I wish the names were a little different to avoid confusion. K and X both usually look the same to me at a quick glance. As I recall on the TX1 it takes a little fiddling for everything to work correctly. First you have to come up with the compiler. The issues was associating the compiler with the kit, I think that I ended up having to hand edit the project file so it recognized the compiler. Unfortunately it’s been a while since I’ve done a Qt installation, or I would give better instructions.

      Thanks for reading!

  5. Hi, thanks for sharing your website helps a lot in our project. we are usiing TX1 and haping the same problem “Kit tab GCC not visible”…. anyone soved or any pointer for the solution!
    Thanks in advance

  6. I solved it, based on kangalow’s help. You have to go into the compilers, and manually enter a compiler–not just use the definition of gcc that they give you. Then use the ABI input widgets (you’ll see what I mean when you do it) and make it match the real compiler–so it doesn’t find “unknown-linux-generic-elf-64 bit” it finds arm-generic-elf-64bit. I wish I could be more specific, but I only have one TX1 to work on, and I made it work–and now try and remember all the steps…but if you set up the compiler in this way, then in the kits page, it finds it and lets you use it.

  7. I have installed Qt creator on Jetson nano as guided above but when creating a qt quick application i get the following error: Project ERROR: Unknown module(s) in QT: quick

    How can i solve it?

Leave a Reply

Your email address will not be published. Required fields are marked *


Some links here are affiliate links. If you purchase through these links I will receive a small commission at no additional cost to you. As an Amazon Associate, I earn from qualifying purchases.

Books, Ideas & Other Curiosities