Qt5.x on Jetson TK1 ?
-
Hi,
Do you mean run Qt Creator directly on the TK1 ?
AFAIK, the TK1 comes with a debian distribution so Qt should be able to run on it through e.g. the xcb plugin. However, I can't tell if you can run a Qt application completely standalone (as in full screen/no X server) on it.
It's all based on an educated guess, I haven't got one to test.
-
Thanks for your reply.
Well, there are actually 3 things here indeed:
most important: being able to run Qt console applications on the board
next: being able to build these console applications on the board itself (without the full Qt Creator IDE, just running command line tools)
last: being able to run Qt Creator on the board so we can do the development on the board itself
Actually, I wouldn't mind doing the development itself on Windows in Visual Studio with the Qt Add-in and cross-compiling for the board to test, if that is even possible.
Also, if anyone else has experience with this, feel free to share your experiences.
-
- QCoreApplication and you're good to go
- Since it runs a debian, you should have all the tools needed on it so you should be able to compile Qt natively (or even install it directly from the debian repository but they will probably be a bit behind the latest version)
- Same answer as 2
It probably is, but to the best of my knowledge, cross-compiling from Windows to arm-linux is not easy to setup. The easiest way is a virtual machine with e.g. Kubuntu installed.
-
thanks for all this info.
I also want to install Qt on TK1.
Mainly for running one 3D app that depends on Qt as for the UI.
Is there any standard/experimental procedure I should follow?
I am interested in bare-bones functionality, you want me to send Qt's features we actually use?thanks
NY -
I'd start by checking what the linux distribution for the TK1 provides. Then if needed compile/cross-compile a more recent version of Qt.
Sure you can
-
Linux for Tegra https://developer.nvidia.com/linux-tegra-rel-19
(Ubuntu 10.4 TLS w/ preconfigured drivers).will check
-
Unlike other embedded boards, the Jetson is pretty much the same as any Linux desktop from Qt's point of view. It has a standard X11 environment so you can just compile and use Qt with the xcb platform plugin, like on desktop. OpenGL should also work out of the box.
(note that running on EGL+fbdev without X, i.e. using eglfs, is not going to work - as I understand the Tegra EGL/OpenGL drivers only support X11)
As SGaist pointed out cross compilation is probably doable (see e.g. https://devtalk.nvidia.com/default/topic/740473/jetson-tk1-cross-compiles ) but not straightforward. It might be a better approach to build on the board at first.
-
Unlike other embedded boards, the Jetson is pretty much the same as any Linux desktop from Qt's point of view. It has a standard X11 environment so you can just compile and use Qt with the xcb platform plugin, like on desktop. OpenGL should also work out of the box.
(note that running on EGL+fbdev without X, i.e. using eglfs, is not going to work - as I understand the Tegra EGL/OpenGL drivers only support X11)
As SGaist pointed out cross compilation is probably doable (see e.g. https://devtalk.nvidia.com/default/topic/740473/jetson-tk1-cross-compiles ) but not straightforward. It might be a better approach to build on the board at first.
-
Hi,
I am working with Jetson TK1 and I have already built Qt5.5 and Qt Creator 3.5.
The system looks good and I can run the examples and any other code I am trying to write.
The main problem I have is about the navigation with the mouse inside the folders of Project Side in Qt Creator.
When I tried to open a folder can be that the folder doesn't open or it is opend a folder before or after.
Sometimes, on a opened folder that shows the list of files, I click on the file but the file doesn't open and instead the folder is closed.
And so on...I have already tried to compile a second time and also with a different version like 3.4.
Without result.Have you experienced something like that?
Do you have any suggestions?Thank you.
Regards. -
Hi,
Likely I found a solution.
Up to know I connectd the keyboard and mouse by USB Hub Trust/14591.Today I changed with a new AUKEY/CB-H19 and I can work much better.
The differences are 2:
- Trust is USB 2.0 / AUEKY is USB 3.0
- Trust is not declared for Linux / AUKEY is declared for Linux.
I do not understand why with Trust I have problem just on some part of Qt Creator, but anyway now I can work.