Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Compiling process
@ 2012-08-22 10:18 Zoran Djordjevic
  2012-08-22 10:26 ` Stephan Hoffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Zoran Djordjevic @ 2012-08-22 10:18 UTC (permalink / raw)
  To: buildroot

Hello
?
Can someone tell me through an example?what compiler line 
should look like for compiling SomeFile.c (or .cpp) using compiler, 
built by Buildroot. 
Also, does Qt need building X server, or it run independently of it ?
Does some window manager have to be installed??
?
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120822/1854730a/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Compiling process
  2012-08-22 10:18 [Buildroot] Compiling process Zoran Djordjevic
@ 2012-08-22 10:26 ` Stephan Hoffmann
  2012-08-22 10:50   ` Zoran Djordjevic
  2012-08-22 13:18   ` Grant Edwards
  2012-08-22 10:30 ` Fabio Porcedda
  2012-08-22 17:47 ` Thomas Petazzoni
  2 siblings, 2 replies; 8+ messages in thread
From: Stephan Hoffmann @ 2012-08-22 10:26 UTC (permalink / raw)
  To: buildroot

Am 22.08.2012 12:18, schrieb Zoran Djordjevic:
> Hello
>  
> Can someone tell me through an example what compiler line
> should look like for compiling SomeFile.c (or .cpp) using compiler,
> built by Buildroot.
> Also, does Qt need building X server, or it run independently of it ?
Hi,

I am currently working with QT without X. It runs directly on the Linux
framebuffer.
> Does some window manager have to be installed ?
No, but you have to start the app with the "-qws" option.

Kind regards

Stephan
>  
> Best regards
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


-- 
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120822/ed3edb18/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Compiling process
  2012-08-22 10:18 [Buildroot] Compiling process Zoran Djordjevic
  2012-08-22 10:26 ` Stephan Hoffmann
@ 2012-08-22 10:30 ` Fabio Porcedda
  2012-08-22 17:47 ` Thomas Petazzoni
  2 siblings, 0 replies; 8+ messages in thread
From: Fabio Porcedda @ 2012-08-22 10:30 UTC (permalink / raw)
  To: buildroot

On Wed, Aug 22, 2012 at 12:18 PM, Zoran Djordjevic <djdjdjole@yahoo.com> wrote:
> Hello
>
> Can someone tell me through an example what compiler line
> should look like for compiling SomeFile.c (or .cpp) using compiler,
> built by Buildroot.

http://buildroot.uclibc.org/downloads/manual/manual.html#_using_the_generated_toolchain_outside_buildroot

Regards
-- 
Fabio Porcedda

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Compiling process
  2012-08-22 10:26 ` Stephan Hoffmann
@ 2012-08-22 10:50   ` Zoran Djordjevic
  2012-08-22 11:36     ` Stephan Hoffmann
  2012-08-22 13:18   ` Grant Edwards
  1 sibling, 1 reply; 8+ messages in thread
From: Zoran Djordjevic @ 2012-08-22 10:50 UTC (permalink / raw)
  To: buildroot

Can you tell me, Stephan, what is your developement environment?
Can I use some ordinary?editor to create .c or .cpp file and then 
compile from command line?
Do I have to write some code in Qt related source to react on -qws
option ?
?
Thanks
 

________________________________
 From: Stephan Hoffmann <sho@relinux.de>
To: buildroot at busybox.net 
Sent: Wednesday, August 22, 2012 12:26 PM
Subject: Re: [Buildroot] Compiling process
  

  
Am 22.08.2012 12:18, schrieb Zoran Djordjevic: 
Hello 
>
>Can someone tell me through an example?what compiler line  
>should look like for compiling SomeFile.c (or .cpp) using compiler,  
>built by Buildroot.  
>Also, does Qt need building X server, or it run independently of it ?  
Hi,

I am currently working with QT without X. It runs directly on the
    Linux framebuffer.

Does some window manager have to be installed??  
No, but you have to start the app with the "-qws" option.

Kind regards

Stephan


>
>Best regards  
>
_______________________________________________
buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot  


-- 
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64 http://www.relinux.de/ sho at reLinux.de   
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120822/08932ed1/attachment-0001.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Compiling process
  2012-08-22 10:50   ` Zoran Djordjevic
@ 2012-08-22 11:36     ` Stephan Hoffmann
  0 siblings, 0 replies; 8+ messages in thread
From: Stephan Hoffmann @ 2012-08-22 11:36 UTC (permalink / raw)
  To: buildroot

Am 22.08.2012 12:50, schrieb Zoran Djordjevic:
> Can you tell me, Stephan, what is your developement environment?
> Can I use some ordinary editor to create .c or .cpp file and then
> compile from command line?
> Do I have to write some code in Qt related source to react on -qws
> option ?
For now I only use the example and demo programs included in the QT
distribution (have to be enabled in buildroot xconfig).

For a user application I would create a package according to the
buildroot documentation. Of Course you have to write a QT application;-)

QT has the advantage to be cross-platform, so you should be able to
create and test the application on your desktop (e.g. with qt designer)
and compile it afterwards within buildroot.

Regards

Stephan
 
> Thanks
>
> *From:* Stephan Hoffmann <sho@relinux.de>
> *To:* buildroot at busybox.net
> *Sent:* Wednesday, August 22, 2012 12:26 PM
> *Subject:* Re: [Buildroot] Compiling process
>
> Am 22.08.2012 12:18, schrieb Zoran Djordjevic:
>> Hello
>>  
>> Can someone tell me through an example what compiler line
>> should look like for compiling SomeFile.c (or .cpp) using compiler,
>> built by Buildroot.
>> Also, does Qt need building X server, or it run independently of it ?
> Hi,
>
> I am currently working with QT without X. It runs directly on the
> Linux framebuffer.
>> Does some window manager have to be installed ?
> No, but you have to start the app with the "-qws" option.
>
> Kind regards
>
> Stephan
>>  
>> Best regards
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
> -- 
> reLinux     -    Stephan Hoffmann
> Am Schmidtgrund 124    50765 K?ln
> Tel. +49.221.95595-19    Fax: -64
> http://www.relinux.de/     sho at reLinux.de <mailto:sho@reLinux.de>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net <mailto:buildroot@busybox.net>
> http://lists.busybox.net/mailman/listinfo/buildroot
>


-- 
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120822/ba28cc31/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Compiling process
  2012-08-22 10:26 ` Stephan Hoffmann
  2012-08-22 10:50   ` Zoran Djordjevic
@ 2012-08-22 13:18   ` Grant Edwards
  1 sibling, 0 replies; 8+ messages in thread
From: Grant Edwards @ 2012-08-22 13:18 UTC (permalink / raw)
  To: buildroot

On 2012-08-22, Stephan Hoffmann <sho@relinux.de> wrote:
> Am 22.08.2012 12:18, schrieb Zoran Djordjevic:

>> Also, does Qt need building X server, or it run independently of it ?
>
> I am currently working with QT without X. It runs directly on the Linux
> framebuffer.

You should also be able to build/use Qt-based X clients without
building an X server.  The same is true of any X client, regardless of
framework/widget-library.  You'll probably have to build Xlib, but you
shouldn't have to build an X server.  [I vaguely remember an X11
widget library that didn't use Xlib, but I think all the popular ones
do.]

>> Does some window manager have to be installed ?
>
> No, but you have to start the app with the "-qws" option.

Or with whatever option points the X-client Qt app at an X server on a
different host.

-- 
Grant Edwards               grant.b.edwards        Yow! What UNIVERSE is this,
                                  at               please??
                              gmail.com            

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Compiling process
  2012-08-22 10:18 [Buildroot] Compiling process Zoran Djordjevic
  2012-08-22 10:26 ` Stephan Hoffmann
  2012-08-22 10:30 ` Fabio Porcedda
@ 2012-08-22 17:47 ` Thomas Petazzoni
  2012-08-23  6:01   ` [Buildroot] QT " Stephan Hoffmann
  2 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2012-08-22 17:47 UTC (permalink / raw)
  To: buildroot

Le Wed, 22 Aug 2012 03:18:35 -0700 (PDT),
Zoran Djordjevic <djdjdjole@yahoo.com> a ?crit :

> Can someone tell me through an example?what compiler line 
> should look like for compiling SomeFile.c (or .cpp) using compiler, 
> built by Buildroot. 

Use the compiler in output/host/usr/bin/<arch>-gcc.

> Also, does Qt need building X server, or it run independently of it ?

No, it can run directly on the framebuffer.

> Does some window manager have to be installed??

For a simple full screen application, just run your Qt application with
-qws as others mentioned.

If you want to build your Qt application with qmake, then use the qmake
installed in output/host/usr/bin/qmake.

I should probably put together a step-by-step tutorial on how to use
Buildroot to write Qt apps, as this sounds like a popular request.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] QT Compiling process
  2012-08-22 17:47 ` Thomas Petazzoni
@ 2012-08-23  6:01   ` Stephan Hoffmann
  0 siblings, 0 replies; 8+ messages in thread
From: Stephan Hoffmann @ 2012-08-23  6:01 UTC (permalink / raw)
  To: buildroot

Am 22.08.2012 19:47, schrieb Thomas Petazzoni:
> I should probably put together a step-by-step tutorial on how to use
> Buildroot to write Qt apps, as this sounds like a popular request.
>
> Best regards,
>
> Thomas
Hi,

I would really welcome such a paper since I am currently working on a QT
platform based on iMX5.

BTW: Does anybody have experiences with multitouch and QT?

Kind regards

Stephan

-- 
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-23  6:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 10:18 [Buildroot] Compiling process Zoran Djordjevic
2012-08-22 10:26 ` Stephan Hoffmann
2012-08-22 10:50   ` Zoran Djordjevic
2012-08-22 11:36     ` Stephan Hoffmann
2012-08-22 13:18   ` Grant Edwards
2012-08-22 10:30 ` Fabio Porcedda
2012-08-22 17:47 ` Thomas Petazzoni
2012-08-23  6:01   ` [Buildroot] QT " Stephan Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox