Home/Support/Support Forum/How to add QT project into Digi Rootfs project
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to add QT project into Digi Rootfs project

0 votes
So I'd like to build a QT app into my rootfs project. So I can see that there is an 'apps' category which I can add template projects to via the configure option.

However I cannot see where to add a Digi QT Gui project into the rootfs project such that when I build a rootfs image the QT project is built and included.
asked Apr 22, 2014 in Linux by craig.jamieson New to the Community (1 point)

Please log in or register to answer this question.

3 Answers

0 votes
Hello

I believe a similar question was asked an answered. Please see the following forum entry:

http://www.digi.com/support/forum/38899/must-i-rebuild-rootfs-with-qt
answered Apr 22, 2014 by dakotas_dad Veteran of the Digi Community (694 points)
0 votes
Hi, thanks for your reply.

I'm not sure think that's quite the same thing. I believe that facilitiates the installation of QT libraries onto the target and therefore you can run any standalone QT development on the target if you deploy the built rootfs.

However I actually want to add my app, not as standalone but as part of the kernel/uboot/rootfs project. There is an app directory and you can add 'template' apps but I want to add a full QT GUI application.

Thanks again though.
answered Apr 23, 2014 by craig.jamieson New to the Community (1 point)
0 votes
when you enable Qt-samples in the Digi Embedded Linux rootfs configuration (project configuration) it will add all pre-compiled libraries automatically.
If you need to add custom compiled libraries or files to the rootfs during build time, just modify the add_files.sh script to copy them to the rootfs. You find add_files.sh if you unfold your project in the project explorer, in the configs section
answered Apr 23, 2014 by User143 Community Contributor (116 points)
Yeah, so I figured if I wanted to add a QT GUI app on my target I needed to add QT-samples to the rootfs in order to get libQT*.so on my target.
So I've got that in place.

I don't want to especially add other pre-compiled binaries or special files, I actually want to add a full QT GUI app under the 'apps' section in the project view.
I can't see how to do that.

Apologies if I'm not explaining this very well :-)
apps section in project view is generated by default for the sample applications built along with DEL.

ie: when you create a kernel/rootfs/apps project and when you go to configure option you can choose some sample apps, those apps will get listed in apps folder.

And later if you want to include your full GUI QT project to go to apps folder then modify add_files.sh file so that it copies your project from any local directory and copies it to the apps folder if project in workspace.
...