Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, November 2006
Qwt Cross-Compile to Arm


Message 1 in thread

    Hi!

   I am new on Qt and I need to know how to cross-compile a qwt program to
arm plataform.

   I am using the qwt to plot a graph and it's work fine on PC plataform.
But I don't know how to compile to arm.

   My other program without qwt (only with qt) are working on arm plataform.

   Some body can teach me how to compile a qwt program using the
arm-linux-gcc?

   Thank you very much!

-- 
 [ signature omitted ] 

Message 2 in thread

On Tuesday 28 November 2006 00:23, Paulo Siécola wrote:
>     Hi!
>
>    I am new on Qt and I need to know how to cross-compile a qwt program to
> arm plataform.
>
>    I am using the qwt to plot a graph and it's work fine on PC plataform.
> But I don't know how to compile to arm.
>
>    My other program without qwt (only with qt) are working on arm
> plataform.
>
>    Some body can teach me how to compile a qwt program using the
> arm-linux-gcc?
>

You could check out the documentation. For version 4.2: 
http://doc.trolltech.com/4.2/qtopiacore-crosscompiling.html.

If you're lucky it's just a matter of configuring Qtopia Core / Qt/Embedded 
with configure -embedded arm.

--
 [ signature omitted ] 

Message 3 in thread

   I have a program in embedded Linux using Qt. I can compile and run this
program on my arm plataform.

   When I use a QWT lib (qwt.sourceforge.net) in my program, I don't know
how to cross-compile it to arm plataform.

   I think that I need to re-compile the qwt lib to arm plataform with the
arm-linux-gcc compiler, but I don't know how too.

   That's it.

    Thank's.


2006/11/28, Sakthivel Palanisamy <ppsakthivel@xxxxxxxxx>:
>
> can you eloborate more about the problem?
>
> On 11/28/06, Paulo SiÃcola <siecola@xxxxxxxxx> wrote:
> >
> >     Hi!
> >
> >    I am new on Qt and I need to know how to cross-compile a qwt program
> > to arm plataform.
> >
> >    I am using the qwt to plot a graph and it's work fine on PC
> > plataform. But I don't know how to compile to arm.
> >
> >    My other program without qwt (only with qt) are working on arm
> > plataform.
> >
> >    Some body can teach me how to compile a qwt program using the
> > arm-linux-gcc?
> >
> >    Thank you very much!
> >
> > --
> > Eng. Paulo C. SiÃcola
> > siecola@xxxxxxxxx
> > Cel.: (35) - 9131 8144
> >
> > "O conhecimento à a concha que construimos a fim de sobreviver." -
> > Piaget
>
>
>
>
> --
> Regards
> -$akthi
> ------------------------------------------------------------------------
> You never know, how soon it may be too lateâ...
> ------------------------------------------------------------------------
> ààààààà ààààààà ààààààààààà ààààààààà
> ààààà àààààààà àààààà ààààààààà
> ààààà àààààààà àààààà àààààààààà
> ààààà ààààààà àààààààààààààààà




-- 
 [ signature omitted ] 

Message 4 in thread

>    I think that I need to re-compile the qwt lib to arm plataform with the
> arm-linux-gcc compiler, but I don't know how too.

Use your cross-compiled Qt library:
cd <path-to-qwt>
<path-to-qtopia-core-compiled-for-arm>/bin/qmake
make

--
 [ signature omitted ] 

Message 5 in thread

Try using the arm toolchain that comes with many distros or download and use crosstool.
 
cheers
Ben


________________________________

	From: Paulo SiÃcola [mailto:siecola@xxxxxxxxx] 
	Sent: Tuesday, November 28, 2006 11:58 AM
	To: Sakthivel Palanisamy; qt-embedded-interest@xxxxxxxxxxxxx
	Subject: Re: Qwt Cross-Compile to Arm
	
	
	   I have a program in embedded Linux using Qt. I can compile and run this program on my arm plataform.
	 
	   When I use a QWT lib (qwt.sourceforge.net) in my program, I don't know how to cross-compile it to arm plataform. 
	 
	   I think that I need to re-compile the qwt lib to arm plataform with the arm-linux-gcc compiler, but I don't know how too.
	 
	   That's it.
	 
	    Thank's.
	
	 
	2006/11/28, Sakthivel Palanisamy <ppsakthivel@xxxxxxxxx>: 

		can you eloborate more about the problem? 
		
		
		
		On 11/28/06, Paulo SiÃcola <siecola@xxxxxxxxx > wrote: 

			    Hi!
			
			   I am new on Qt and I need to know how to cross-compile a qwt program to arm plataform.
			
			   I am using the qwt to plot a graph and it's work fine on PC plataform. But I don't know how to compile to arm. 
			
			   My other program without qwt (only with qt) are working on arm plataform.
			
			   Some body can teach me how to compile a qwt program using the arm-linux-gcc? 
			
			   Thank you very much!
			
			-- 
			Eng. Paulo C. SiÃcola
			siecola@xxxxxxxxx
			Cel.: (35) - 9131 8144 
			
			"O conhecimento à a concha que construimos a fim de sobreviver." - Piaget 




		-- 
		Regards
		-$akthi
		------------------------------------------------------------------------ 
		You never know, how soon it may be too lateâ...
		------------------------------------------------------------------------
		ààààààà ààààààà ààààààààààà ààààààààà 
		ààààà àààààààà àààààà ààààààààà 
		ààààà àààààààà àààààà àààààààààà 
		ààààà ààààààà àààààààààààààààà 




	-- 
	Eng. Paulo C. SiÃcola
	siecola@xxxxxxxxx
	Cel.: (35) - 9131 8144
	
	"O conhecimento à a concha que construimos a fim de sobreviver." - Piaget