LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2009, 01:53 AM   #1
pavan.manipal
Member
 
Registered: Mar 2009
Posts: 42

Rep: Reputation: 15
help me out in QT


what do i need to build applications on mobile platform Qt Embedded or Qtopia, i m having Qt designer with Fedora 9, is it sufficient to build gui apps to the mobile platform ,m using intel PXA255 Board(ARM core 10 processor), and how can i cross compile .ui fles to execute them into my board?
 
Old 03-24-2009, 06:28 PM   #2
JaksoDebr
Member
 
Registered: Mar 2009
Distribution: Fedora, Slackware
Posts: 104

Rep: Reputation: 21
Your embedded QT toolkit must have surely provided the needed info and tools. The .ui file is just a config file, so it will be portable, but your request for cross-compilation infos indicates that you want it build it on your Fedora box anyway. I'm pretty sure that you will need some commercial tool from QT for this purpose.

Linux Archive

Last edited by JaksoDebr; 04-02-2009 at 05:20 AM.
 
Old 03-25-2009, 03:53 AM   #3
pavan.manipal
Member
 
Registered: Mar 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JaksoDebr View Post
Your embedded QT toolkit must have surely provided the needed info and tools. The .ui file is just a config file, so it will be portable, but your request for cross-compilation infos indicates that you want it build it on your Fedora box anyway. I'm pretty sure that you will need some commercial tool from QT for this purpose.
i got the toolchain now , but i dont know how to compile a .pro project file for my arm board, m able to compile for x86 system
 
Old 03-25-2009, 05:14 PM   #4
JaksoDebr
Member
 
Registered: Mar 2009
Distribution: Fedora, Slackware
Posts: 104

Rep: Reputation: 21
Usually you need to:

1. run qmake if you have no Makefile or the default Makefile fails to build.
2. run make.
3. launch ./your-application-name-here

When recreating the Makefile, make sure to have the needed headers and library files added.

I have read that cross-compiling Qt/X11 is not supported, but I can neither confirm nor deny that statement. You must also make sure to setup the cross-compile environment correctly. An error like
"include/qglobal.h:156:4: #error "Qt has not been ported to this OS ..."
actually means that none of the expected macros that describe the OS are defined.
 
Old 03-26-2009, 09:25 AM   #5
pavan.manipal
Member
 
Registered: Mar 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JaksoDebr View Post
Usually you need to:

1. run qmake if you have no Makefile or the default Makefile fails to build.
2. run make.
3. launch ./your-application-name-here

When recreating the Makefile, make sure to have the needed headers and library files added.

I have read that cross-compiling Qt/X11 is not supported, but I can neither confirm nor deny that statement. You must also make sure to setup the cross-compile environment correctly. An error like
"include/qglobal.h:156:4: #error "Qt has not been ported to this OS ..."
actually means that none of the expected macros that describe the OS are defined.
Actually while installing Qt-embedded we have to give the path of the cross compiler so that it will take the gcc, in my case arm-linux-g++ is placed in the bin, so i have given the path and it successfully built for arm architecture it doesn't run in X86 system i checked using the command file binary-name, it gives the out put like the ELf is run on ARm ver 1 ...(etc)(i dont remember it), the thing is i have to place the executable in the target board , but it shows the error whn i tried to execute it , that it requires the dynamic libraries, so i need to install gcc 3.4 which supports Qt-embedded 4 , i will it if i wont get pls help me out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 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