LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-19-2015, 09:02 AM   #1
wowy
Member
 
Registered: Mar 2015
Location: France
Distribution: Ubuntu 14.04
Posts: 61

Rep: Reputation: Disabled
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.
 
Old 03-19-2015, 09:27 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
Old 03-19-2015, 10:21 AM   #3
wowy
Member
 
Registered: Mar 2015
Location: France
Distribution: Ubuntu 14.04
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
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 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: ITTIA DB SQL and IAR Embedded Workbench(R) Make Embedded Development Smarter LXer Syndicated Linux News 0 03-28-2012 12:30 AM
windows application -> dial in -> linux embedded -> rs485 -> external device Hark28 Linux - Embedded & Single-board computer 22 03-05-2010 11:24 AM
linux embedded application jfsebastian Linux - General 4 10-24-2006 12:21 PM
Embedded application etmabreu Linux - Newbie 1 08-19-2005 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration