How to use qt on pc to make application for an embedded device ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to use qt on pc to make application for an embedded device ?
I ask this because i am lost and going crazy since 2-3 days.
Right now on my ubuntu pc i have qt creator and qt designer installed.
I tried to use the qt site help to understand but the explanations are a total mess for me.
Honestly never had luck doing it in that form. I've installed and built the Qt tools on the target, or looked to install the tools on the target via a package installer.
I got Qt installed on Beaglebone Black, Rev C, Debian; via a package and it works fine.
I configured, built, and installed Qt on an Intel ATOM. It took a while and a few iterations to get it working right, but I did eventually get it working. Big ones were to do things like --no-webkit, and no SQL, stuff that I didn't want or need. I tried to cut it back as much as possible, also no demos, not docs, no examples.
Sorry, but never have I gotten it so that I could "build" it on a host and then run it on a target.
Maybe if you have cross compilation tools and build Qt to make static applications it may work, but that might also be very difficult as my configure/build/install path for the ATOM was.
Another suggestion is IMHO that while the designer is helpful, be aware of the code structure you need and be capable of creating your UI from purely code and not a bunch of design patterns. Many Qt examples are purely code, or so I've noticed. I do not use the designer.
Sorry, but never have I gotten it so that I could "build" it on a host and then run it on a target.
Maybe if you have cross compilation tools and build Qt to make static applications it may work, but that might also be very difficult as my configure/build/install path for the ATOM was.
The things is that i don't have the choice. It must be a cross compilation from a developement source to a target because of things that i don't control (but i wish i could...) The target i use is sbc6000x with linux 2.6.24 (and busybox 1.19 for some little commands), an old armv5 architecture that i can't update with archlinuxarm or even a debian distrib because of too much limitation or incompatibility and no way to install package on it, only copy paste binaries/folders/symlink will work on it.
Quote:
Originally Posted by rtmistler
Another suggestion is IMHO that while the designer is helpful, be aware of the code structure you need and be capable of creating your UI from purely code and not a bunch of design patterns. Many Qt examples are purely code, or so I've noticed. I do not use the designer.
This is not a problem, a little learning and it should be good after some mistakes too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.