Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-08 Thread David Lewin
Thanks for your answer Hal.
I succeeded to build apps on my PC but the failing part is when
cross-compiling from PC and executing it to BBB.
Does this mean that a Qt application can only be developped from the board
, instead of QtCreator on PC as usual ?


2014-04-08 21:59 GMT+02:00 :

> dlewin,
>
> Assuming you have LXDE & X installed under Debian you can install qt4 with
> apt-get: "sudo apt-get install libqt4-dev". For a more comprehensive QT4
> install including qtCreator (natively on the BBB) try  "sudo apt-get
> install qt-sdk". To build a QT app from the command line, create a
> directory..add  source code for your project in that directory, cd into the
> directory then run:
>  i) "qmake -project"  (create .pro file),
> ii) "qmake" (create makefile) and finally
> iii) "make" ("build qt app)
>
> You can also try Qtcreator natively on the RPiit may be a little laggy
> though
>
>
> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>>
>> Hi,
>>
>> Is there finally someone who succeeded to have a GUI compiled with Qt
>> (from Debian for example ) ?
>>
>> I've tested many things, and they either rely on Angstrom (which I'd like
>> to avoid) or don't work at all (Timesys included)
>>
>> So I'm looking for a successful try ...
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-08 Thread Robert Nelson
On Tue, Apr 8, 2014 at 4:16 PM, David Lewin  wrote:
> Thanks for your answer Hal.
> I succeeded to build apps on my PC but the failing part is when
> cross-compiling from PC and executing it to BBB.
> Does this mean that a Qt application can only be developped from the board ,
> instead of QtCreator on PC as usual ?

Debian is using the "armhf" abi, so make sure your cross compiler is
of the "gnueabihf" variety..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-08 Thread David Lewin
Indeed, as I've already got the case now I pay attention to that point: the
gnueabihf from Linaro were used as in the Louis good tutorial  :
http://armsdr.blogspot.fr/2014/01/bare-metal-qt-52-on-beaglebone-black_16.html
Anyway, whereas the cross-compilation was ok-the app execute fine- the
display can't show GUI correctly (no btn, no label, ...) it seems that
everybody has that issue. I've looked in the forums (official Qt about BBB
included) for an alternative of linufb (xcb as instance) without better
results.
Therefore, I wonder if Qt is able to be cross-compiled for BBB.


2014-04-08 23:18 GMT+02:00 Robert Nelson :

> On Tue, Apr 8, 2014 at 4:16 PM, David Lewin  wrote:
> > Thanks for your answer Hal.
> > I succeeded to build apps on my PC but the failing part is when
> > cross-compiling from PC and executing it to BBB.
> > Does this mean that a Qt application can only be developped from the
> board ,
> > instead of QtCreator on PC as usual ?
>
> Debian is using the "armhf" abi, so make sure your cross compiler is
> of the "gnueabihf" variety..
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-08 Thread Hussam Hertani
David, yes absolutely You can build applications natively on the BBB using
a native compiler (ygcc compiler on the BBB not a cross compiler...) and a
native set of the QT4 libraries. Expect slightly slower build times though.
Also running QtCreator natively on the BBB might be a bit laggybut
usable. I typically build the applications from the command line. This
approach uses a pre-built armhf version of QT4 from the debian repos. It is
not as flexible as a custom QT library build and requires Xorg/server but
it works.


On Tue, Apr 8, 2014 at 6:12 PM, David Lewin  wrote:

> Indeed, as I've already got the case now I pay attention to that point:
> the gnueabihf from Linaro were used as in the Louis good tutorial  :
>
> http://armsdr.blogspot.fr/2014/01/bare-metal-qt-52-on-beaglebone-black_16.html
> Anyway, whereas the cross-compilation was ok-the app execute fine- the
> display can't show GUI correctly (no btn, no label, ...) it seems that
> everybody has that issue. I've looked in the forums (official Qt about BBB
> included) for an alternative of linufb (xcb as instance) without better
> results.
> Therefore, I wonder if Qt is able to be cross-compiled for BBB.
>
>
> 2014-04-08 23:18 GMT+02:00 Robert Nelson :
>
> On Tue, Apr 8, 2014 at 4:16 PM, David Lewin  wrote:
>> > Thanks for your answer Hal.
>> > I succeeded to build apps on my PC but the failing part is when
>> > cross-compiling from PC and executing it to BBB.
>> > Does this mean that a Qt application can only be developped from the
>> board ,
>> > instead of QtCreator on PC as usual ?
>>
>> Debian is using the "armhf" abi, so make sure your cross compiler is
>> of the "gnueabihf" variety..
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> http://www.rcn-ee.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-08 Thread Don deJuan
On 04/08/2014 04:14 PM, Hussam Hertani wrote:
> David, yes absolutely You can build applications natively on the BBB
> using a native compiler (ygcc compiler on the BBB not a cross
> compiler...) and a native set of the QT4 libraries. Expect slightly
> slower build times though. Also running QtCreator natively on the BBB
> might be a bit laggybut usable. I typically build the applications
> from the command line. This approach uses a pre-built armhf version of
> QT4 from the debian repos. It is not as flexible as a custom QT
> library build and requires Xorg/server but it works.  
>
>
> On Tue, Apr 8, 2014 at 6:12 PM, David Lewin  > wrote:
>
> Indeed, as I've already got the case now I pay attention to that
> point: the gnueabihf from Linaro were used as in the Louis good
> tutorial  :
> 
> http://armsdr.blogspot.fr/2014/01/bare-metal-qt-52-on-beaglebone-black_16.html
> Anyway, whereas the cross-compilation was ok-the app execute fine-
> the display can't show GUI correctly (no btn, no label, ...) it
> seems that 
> everybody has that issue. I've looked in the forums (official Qt
> about BBB included) for an alternative of linufb (xcb as instance)
> without better results. 
> Therefore, I wonder if Qt is able to be cross-compiled for BBB.
>
>
> 2014-04-08 23:18 GMT+02:00 Robert Nelson  >:
>
> On Tue, Apr 8, 2014 at 4:16 PM, David Lewin
> mailto:dlewin...@gmail.com>> wrote:
> > Thanks for your answer Hal.
> > I succeeded to build apps on my PC but the failing part is when
> > cross-compiling from PC and executing it to BBB.
> > Does this mean that a Qt application can only be developped
> from the board ,
> > instead of QtCreator on PC as usual ?
>
> Debian is using the "armhf" abi, so make sure your cross
> compiler is
> of the "gnueabihf" variety..
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a
> topic in the Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an
> email to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in
> the Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email
> to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

use distcc to help speed up on hardware compilation.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-08 Thread Hussam Hertani
David you can definitely cross-compile QT apps for the BBB as wellI
just found the process
 to be somewhat unwieldy. Getting native compilation to work is much easier
and achieves more or less the same thing most of the time


On Tue, Apr 8, 2014 at 8:05 PM, Don deJuan  wrote:

>  On 04/08/2014 04:14 PM, Hussam Hertani wrote:
>
> David, yes absolutely You can build applications natively on the BBB using
> a native compiler (ygcc compiler on the BBB not a cross compiler...) and a
> native set of the QT4 libraries. Expect slightly slower build times though.
> Also running QtCreator natively on the BBB might be a bit laggybut
> usable. I typically build the applications from the command line. This
> approach uses a pre-built armhf version of QT4 from the debian repos. It is
> not as flexible as a custom QT library build and requires Xorg/server but
> it works.
>
>
> On Tue, Apr 8, 2014 at 6:12 PM, David Lewin  wrote:
>
>> Indeed, as I've already got the case now I pay attention to that point:
>> the gnueabihf from Linaro were used as in the Louis good tutorial  :
>>
>> http://armsdr.blogspot.fr/2014/01/bare-metal-qt-52-on-beaglebone-black_16.html
>>  Anyway, whereas the cross-compilation was ok-the app execute fine- the
>> display can't show GUI correctly (no btn, no label, ...) it seems that
>> everybody has that issue. I've looked in the forums (official Qt about
>> BBB included) for an alternative of linufb (xcb as instance) without better
>> results.
>> Therefore, I wonder if Qt is able to be cross-compiled for BBB.
>>
>>
>> 2014-04-08 23:18 GMT+02:00 Robert Nelson :
>>
>>  On Tue, Apr 8, 2014 at 4:16 PM, David Lewin  wrote:
>>> > Thanks for your answer Hal.
>>> > I succeeded to build apps on my PC but the failing part is when
>>> > cross-compiling from PC and executing it to BBB.
>>> > Does this mean that a Qt application can only be developped from the
>>> board ,
>>> > instead of QtCreator on PC as usual ?
>>>
>>>  Debian is using the "armhf" abi, so make sure your cross compiler is
>>> of the "gnueabihf" variety..
>>>
>>> Regards,
>>>
>>> --
>>> Robert Nelson
>>> http://www.rcn-ee.com/
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "BeagleBoard" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> beagleboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>   --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> use distcc to help speed up on hardware compilation.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-09 Thread David Lewin
@Halherta : ater installed the sdk, I've tried this local solution, (ie :
qmake+make on the BBB)
thus executing the app lead me to :

> No protocol specified
>
> testapp: cannot connect to X server :0.0


Either I start or stop the lightdm, or did a


export DISPLAY=:0.0

the local app is unable to execute


2014-04-08 21:59 GMT+02:00 :

> dlewin,
>
> Assuming you have LXDE & X installed under Debian you can install qt4 with
> apt-get: "sudo apt-get install libqt4-dev". For a more comprehensive QT4
> install including qtCreator (natively on the BBB) try  "sudo apt-get
> install qt-sdk". To build a QT app from the command line, create a
> directory..add  source code for your project in that directory, cd into the
> directory then run:
>  i) "qmake -project"  (create .pro file),
> ii) "qmake" (create makefile) and finally
> iii) "make" ("build qt app)
>
> You can also try Qtcreator natively on the RPiit may be a little laggy
> though
>
>
> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>>
>> Hi,
>>
>> Is there finally someone who succeeded to have a GUI compiled with Qt
>> (from Debian for example ) ?
>>
>> I've tested many things, and they either rely on Angstrom (which I'd like
>> to avoid) or don't work at all (Timesys included)
>>
>> So I'm looking for a successful try ...
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-10 Thread David Lewin
Hussam,
export DISPLAY in the profile didn't changed the behaviour.I've tried with
and without lxds started

What I wonder the most is that the Qt app shouldn't need the X when
starting with "-qws" option, or "-plaform linuxfb".





2014-04-10 15:21 GMT+02:00 :

>
> David,
>  Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11 i.e
> lightdm/or LXDE. then try running the qt app binary again. I will retry
> this again myself and report back.
>
> Hussam
>
>
> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>>
>> Hi,
>>
>> Is there finally someone who succeeded to have a GUI compiled with Qt
>> (from Debian for example ) ?
>>
>> I've tested many things, and they either rely on Angstrom (which I'd like
>> to avoid) or don't work at all (Timesys included)
>>
>> So I'm looking for a successful try ...
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-10 Thread Hussam Hertani
David I'm currently running a headless setup on my BBB...I have xorg and
libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev,
qtcreator and some additional packages)

   - I SSHed into the BBB with X11 Forwarding: ssh -X debian@192.168.0.102
   - Made a directory containing a sample application
   - built it using "qmake -project", "qmake" & "make"
   - and ran the binary successfully!

This seems to work with SSH+X11 forwardingI will try it with the latest
Debian image +LXDE+Nodejs from http://beagleboard.org/latest-images here
and report back.

I'm attaching a compressed folder containing the example code and a pic of
the GUI UI as displayed over SSH+X11. I'm running Debian Jessie on my PC
and the latest Debian demo-image (headless)
http://elinux.org/BeagleBoardDebian on my BBB.


Hussam



On Thu, Apr 10, 2014 at 9:21 AM,  wrote:

>
> David,
>  Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11 i.e
> lightdm/or LXDE. then try running the qt app binary again. I will retry
> this again myself and report back.
>
> Hussam
>
>
> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>>
>> Hi,
>>
>> Is there finally someone who succeeded to have a GUI compiled with Qt
>> (from Debian for example ) ?
>>
>> I've tested many things, and they either rely on Angstrom (which I'd like
>> to avoid) or don't work at all (Timesys included)
>>
>> So I'm looking for a successful try ...
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


qttest.tar.gz
Description: GNU Zip compressed data
<>

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-10 Thread David Lewin
That a good example.
I've tried with the provided executable and build it myself also from the
board :
both gave the same results, even with ssh+X
BUT, what I see is that you use a different image as me: I ve used the git
repo and did a:

beagleboard.org_image.sh http://beagleboard.org/source


to use the setup_sdcard.sh as explained.

Maybe this is the problem root cause


2014-04-10 18:00 GMT+02:00 Hussam Hertani :

> David I'm currently running a headless setup on my BBB...I have xorg and
> libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev,
> qtcreator and some additional packages)
>
>- I SSHed into the BBB with X11 Forwarding: ssh -X debian@192.168.0.102
>- Made a directory containing a sample application
>- built it using "qmake -project", "qmake" & "make"
>- and ran the binary successfully!
>
> This seems to work with SSH+X11 forwardingI will try it with the
> latest Debian image +LXDE+Nodejs from 
> http://beagleboard.org/latest-imageshere and report back.
>
> I'm attaching a compressed folder containing the example code and a pic of
> the GUI UI as displayed over SSH+X11. I'm running Debian Jessie on my PC
> and the latest Debian demo-image (headless)
> http://elinux.org/BeagleBoardDebian on my BBB.
>
>
> Hussam
>
>
>
> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
>
>>
>> David,
>>  Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11 i.e
>> lightdm/or LXDE. then try running the qt app binary again. I will retry
>> this again myself and report back.
>>
>> Hussam
>>
>>
>> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>>>
>>> Hi,
>>>
>>> Is there finally someone who succeeded to have a GUI compiled with Qt
>>> (from Debian for example ) ?
>>>
>>> I've tested many things, and they either rely on Angstrom (which I'd
>>> like to avoid) or don't work at all (Timesys included)
>>>
>>> So I'm looking for a successful try ...
>>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-10 Thread Hussam Hertani
David,
If you are running an image with a Debian root filesystem this should work
no problems. I don't think that the QT4 built  in the Debian apt-get  armhf
repos was built with the -qws and -linuxfb options. As such it should only
work with X11. But I could be wrong as I can't quite confirm it.

I use the demo image available here..http://elinux.org/BeagleBoardDebian. I
always used it...never really bothered with angstrom even with the older
Beaglebone white. This image is headless and somewhat barebones. I also
really like the new official Debian release
http://beagleboard.org/latest-images. It comes with LXDE which is a very
good desktop environment for the BBB. andNodeJs..yuck!


On Thu, Apr 10, 2014 at 12:29 PM, David Lewin  wrote:

> That a good example.
> I've tried with the provided executable and build it myself also from the
> board :
> both gave the same results, even with ssh+X
> BUT, what I see is that you use a different image as me: I ve used the git
> repo and did a:
>
> beagleboard.org_image.sh http://beagleboard.org/source
>
>
> to use the setup_sdcard.sh as explained.
>
> Maybe this is the problem root cause
>
>
> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
>
> David I'm currently running a headless setup on my BBB...I have xorg and
>> libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev,
>> qtcreator and some additional packages)
>>
>>- I SSHed into the BBB with X11 Forwarding: ssh -X
>>debian@192.168.0.102
>>- Made a directory containing a sample application
>>- built it using "qmake -project", "qmake" & "make"
>>- and ran the binary successfully!
>>
>> This seems to work with SSH+X11 forwardingI will try it with the
>> latest Debian image +LXDE+Nodejs from
>> http://beagleboard.org/latest-images here and report back.
>>
>> I'm attaching a compressed folder containing the example code and a pic
>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie on my PC
>> and the latest Debian demo-image (headless)
>> http://elinux.org/BeagleBoardDebian on my BBB.
>>
>>
>> Hussam
>>
>>
>>
>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
>>
>>>
>>> David,
>>>  Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11 i.e
>>> lightdm/or LXDE. then try running the qt app binary again. I will retry
>>> this again myself and report back.
>>>
>>> Hussam
>>>
>>>
>>> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:

 Hi,

 Is there finally someone who succeeded to have a GUI compiled with Qt
 (from Debian for example ) ?

 I've tested many things, and they either rely on Angstrom (which I'd
 like to avoid) or don't work at all (Timesys included)

 So I'm looking for a successful try ...

>>>  --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "BeagleBoard" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> beagleboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread David Lewin
>From your capture, it seems that you use a "traditional" display, so you
are able to use the local lxde terminal.
While I use ssh session (I can't use the 4" display to type directly in) to
connect to the board and run the app there


2014-04-11 1:20 GMT+02:00 Hussam Hertani :

> David, here's a pic of the same app running in LXDE based on the
> latest official Debian image that I downloaded from:
> http://beagleboard.org/latest-images
>
> Make sure that you use a 4GB+ microsd. After burning the image onto
> the microsd, make sure you expand the root filesystemyou will need
> the space.
>
> Hussam
>
>
>
>
>
> On 4/10/14, Hussam  Hertani  wrote:
> > David,
> > If you are running an image with a Debian root filesystem this should
> work
> > no problems. I don't think that the QT4 built  in the Debian apt-get
>  armhf
> > repos was built with the -qws and -linuxfb options. As such it should
> only
> > work with X11. But I could be wrong as I can't quite confirm it.
> >
> > I use the demo image available here..http://elinux.org/BeagleBoardDebian.
> I
> > always used it...never really bothered with angstrom even with the older
> > Beaglebone white. This image is headless and somewhat barebones. I also
> > really like the new official Debian release
> > http://beagleboard.org/latest-images. It comes with LXDE which is a very
> > good desktop environment for the BBB. andNodeJs..yuck!
> >
> >
> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
> wrote:
> >
> >> That a good example.
> >> I've tried with the provided executable and build it myself also from
> the
> >> board :
> >> both gave the same results, even with ssh+X
> >> BUT, what I see is that you use a different image as me: I ve used the
> >> git
> >> repo and did a:
> >>
> >> beagleboard.org_image.sh http://beagleboard.org/source
> >>
> >>
> >> to use the setup_sdcard.sh as explained.
> >>
> >> Maybe this is the problem root cause
> >>
> >>
> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
> >>
> >> David I'm currently running a headless setup on my BBB...I have xorg and
> >>> libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev,
> >>> qtcreator and some additional packages)
> >>>
> >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
> >>>debian@192.168.0.102
> >>>- Made a directory containing a sample application
> >>>- built it using "qmake -project", "qmake" & "make"
> >>>- and ran the binary successfully!
> >>>
> >>> This seems to work with SSH+X11 forwardingI will try it with the
> >>> latest Debian image +LXDE+Nodejs from
> >>> http://beagleboard.org/latest-images here and report back.
> >>>
> >>> I'm attaching a compressed folder containing the example code and a pic
> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie on
> my
> >>> PC
> >>> and the latest Debian demo-image (headless)
> >>> http://elinux.org/BeagleBoardDebian on my BBB.
> >>>
> >>>
> >>> Hussam
> >>>
> >>>
> >>>
> >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
> >>>
> 
>  David,
>   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11
>  i.e
>  lightdm/or LXDE. then try running the qt app binary again. I will
> retry
>  this again myself and report back.
> 
>  Hussam
> 
> 
>  On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
> >
> > Hi,
> >
> > Is there finally someone who succeeded to have a GUI compiled with Qt
> > (from Debian for example ) ?
> >
> > I've tested many things, and they either rely on Angstrom (which I'd
> > like to avoid) or don't work at all (Timesys included)
> >
> > So I'm looking for a successful try ...
> >
>   --
>  For more options, visit http://beagleboard.org/discuss
>  ---
>  You received this message because you are subscribed to a topic in the
>  Google Groups "BeagleBoard" group.
>  To unsubscribe from this topic, visit
>  https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe
> .
>  To unsubscribe from this group and all its topics, send an email to
>  beagleboard+unsubscr...@googlegroups.com.
>  For more options, visit https://groups.google.com/d/optout.
> 
> >>>
> >>>  --
> >>> For more options, visit http://beagleboard.org/discuss
> >>> ---
> >>> You received this message because you are subscribed to a topic in the
> >>> Google Groups "BeagleBoard" group.
> >>> To unsubscribe from this topic, visit
> >>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
> >>> To unsubscribe from this group and all its topics, send an email to
> >>> beagleboard+unsubscr...@googlegroups.com.
> >>> For more options, visit https://groups.google.com/d/optout.
> >>>
> >>
> >>  --
> >> For more options, visit http://beagleboard.org/discuss
> >> ---
> >> You received this message because you are subscribed to a topic in the
> >> Google Groups "BeagleBoard" group.
> >> To unsubscribe from this topi

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread David Lewin
Besides, the app is starting well as if I try with
>
>  ssh -C -X root:root@192. /home/Qt_app/myApp


the app is shown  in the local display


2014-04-11 16:46 GMT+02:00 David Lewin :

> From your capture, it seems that you use a "traditional" display, so you
> are able to use the local lxde terminal.
> While I use ssh session (I can't use the 4" display to type directly in)
> to connect to the board and run the app there
>
>
> 2014-04-11 1:20 GMT+02:00 Hussam Hertani :
>
> David, here's a pic of the same app running in LXDE based on the
>> latest official Debian image that I downloaded from:
>> http://beagleboard.org/latest-images
>>
>> Make sure that you use a 4GB+ microsd. After burning the image onto
>> the microsd, make sure you expand the root filesystemyou will need
>> the space.
>>
>> Hussam
>>
>>
>>
>>
>>
>> On 4/10/14, Hussam  Hertani  wrote:
>> > David,
>> > If you are running an image with a Debian root filesystem this should
>> work
>> > no problems. I don't think that the QT4 built  in the Debian apt-get
>>  armhf
>> > repos was built with the -qws and -linuxfb options. As such it should
>> only
>> > work with X11. But I could be wrong as I can't quite confirm it.
>> >
>> > I use the demo image available here..
>> http://elinux.org/BeagleBoardDebian. I
>> > always used it...never really bothered with angstrom even with the older
>> > Beaglebone white. This image is headless and somewhat barebones. I also
>> > really like the new official Debian release
>> > http://beagleboard.org/latest-images. It comes with LXDE which is a
>> very
>> > good desktop environment for the BBB. andNodeJs..yuck!
>> >
>> >
>> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
>> wrote:
>> >
>> >> That a good example.
>> >> I've tried with the provided executable and build it myself also from
>> the
>> >> board :
>> >> both gave the same results, even with ssh+X
>> >> BUT, what I see is that you use a different image as me: I ve used the
>> >> git
>> >> repo and did a:
>> >>
>> >> beagleboard.org_image.sh http://beagleboard.org/source
>> >>
>> >>
>> >> to use the setup_sdcard.sh as explained.
>> >>
>> >> Maybe this is the problem root cause
>> >>
>> >>
>> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
>> >>
>> >> David I'm currently running a headless setup on my BBB...I have xorg
>> and
>> >>> libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev,
>> >>> qtcreator and some additional packages)
>> >>>
>> >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
>> >>>debian@192.168.0.102
>> >>>- Made a directory containing a sample application
>> >>>- built it using "qmake -project", "qmake" & "make"
>> >>>- and ran the binary successfully!
>> >>>
>> >>> This seems to work with SSH+X11 forwardingI will try it with the
>> >>> latest Debian image +LXDE+Nodejs from
>> >>> http://beagleboard.org/latest-images here and report back.
>> >>>
>> >>> I'm attaching a compressed folder containing the example code and a
>> pic
>> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie on
>> my
>> >>> PC
>> >>> and the latest Debian demo-image (headless)
>> >>> http://elinux.org/BeagleBoardDebian on my BBB.
>> >>>
>> >>>
>> >>> Hussam
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
>> >>>
>> 
>>  David,
>>   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11
>>  i.e
>>  lightdm/or LXDE. then try running the qt app binary again. I will
>> retry
>>  this again myself and report back.
>> 
>>  Hussam
>> 
>> 
>>  On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>> >
>> > Hi,
>> >
>> > Is there finally someone who succeeded to have a GUI compiled with
>> Qt
>> > (from Debian for example ) ?
>> >
>> > I've tested many things, and they either rely on Angstrom (which I'd
>> > like to avoid) or don't work at all (Timesys included)
>> >
>> > So I'm looking for a successful try ...
>> >
>>   --
>>  For more options, visit http://beagleboard.org/discuss
>>  ---
>>  You received this message because you are subscribed to a topic in
>> the
>>  Google Groups "BeagleBoard" group.
>>  To unsubscribe from this topic, visit
>> 
>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>>  To unsubscribe from this group and all its topics, send an email to
>>  beagleboard+unsubscr...@googlegroups.com.
>>  For more options, visit https://groups.google.com/d/optout.
>> 
>> >>>
>> >>>  --
>> >>> For more options, visit http://beagleboard.org/discuss
>> >>> ---
>> >>> You received this message because you are subscribed to a topic in the
>> >>> Google Groups "BeagleBoard" group.
>> >>> To unsubscribe from this topic, visit
>> >>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe
>> .
>> >>> To unsubscribe from this group and all its topics, send an email to
>> >>> 

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread Cody Lacey
If you are using debian
SSH to your BBB but instead of loging in as root log in as
username: debian (or whatever local username you use)
password: temppwd (or local password)

export DISPLAY=":0"
xhost +

Then try running your application


On Fri, Apr 11, 2014 at 10:13 AM, David Lewin  wrote:

> Besides, the app is starting well as if I try with
>>
>>  ssh -C -X root:root@192. /home/Qt_app/myApp
>
>
> the app is shown  in the local display
>
>
> 2014-04-11 16:46 GMT+02:00 David Lewin :
>
> From your capture, it seems that you use a "traditional" display, so you
>> are able to use the local lxde terminal.
>> While I use ssh session (I can't use the 4" display to type directly in)
>> to connect to the board and run the app there
>>
>>
>> 2014-04-11 1:20 GMT+02:00 Hussam Hertani :
>>
>> David, here's a pic of the same app running in LXDE based on the
>>> latest official Debian image that I downloaded from:
>>> http://beagleboard.org/latest-images
>>>
>>> Make sure that you use a 4GB+ microsd. After burning the image onto
>>> the microsd, make sure you expand the root filesystemyou will need
>>> the space.
>>>
>>> Hussam
>>>
>>>
>>>
>>>
>>>
>>> On 4/10/14, Hussam  Hertani  wrote:
>>> > David,
>>> > If you are running an image with a Debian root filesystem this should
>>> work
>>> > no problems. I don't think that the QT4 built  in the Debian apt-get
>>>  armhf
>>> > repos was built with the -qws and -linuxfb options. As such it should
>>> only
>>> > work with X11. But I could be wrong as I can't quite confirm it.
>>> >
>>> > I use the demo image available here..
>>> http://elinux.org/BeagleBoardDebian. I
>>> > always used it...never really bothered with angstrom even with the
>>> older
>>> > Beaglebone white. This image is headless and somewhat barebones. I also
>>> > really like the new official Debian release
>>> > http://beagleboard.org/latest-images. It comes with LXDE which is a
>>> very
>>> > good desktop environment for the BBB. andNodeJs..yuck!
>>> >
>>> >
>>> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
>>> wrote:
>>> >
>>> >> That a good example.
>>> >> I've tried with the provided executable and build it myself also from
>>> the
>>> >> board :
>>> >> both gave the same results, even with ssh+X
>>> >> BUT, what I see is that you use a different image as me: I ve used the
>>> >> git
>>> >> repo and did a:
>>> >>
>>> >> beagleboard.org_image.sh http://beagleboard.org/source
>>> >>
>>> >>
>>> >> to use the setup_sdcard.sh as explained.
>>> >>
>>> >> Maybe this is the problem root cause
>>> >>
>>> >>
>>> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
>>> >>
>>> >> David I'm currently running a headless setup on my BBB...I have xorg
>>> and
>>> >>> libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev,
>>> >>> qtcreator and some additional packages)
>>> >>>
>>> >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
>>> >>>debian@192.168.0.102
>>> >>>- Made a directory containing a sample application
>>> >>>- built it using "qmake -project", "qmake" & "make"
>>> >>>- and ran the binary successfully!
>>> >>>
>>> >>> This seems to work with SSH+X11 forwardingI will try it with the
>>> >>> latest Debian image +LXDE+Nodejs from
>>> >>> http://beagleboard.org/latest-images here and report back.
>>> >>>
>>> >>> I'm attaching a compressed folder containing the example code and a
>>> pic
>>> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie
>>> on my
>>> >>> PC
>>> >>> and the latest Debian demo-image (headless)
>>> >>> http://elinux.org/BeagleBoardDebian on my BBB.
>>> >>>
>>> >>>
>>> >>> Hussam
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
>>> >>>
>>> 
>>>  David,
>>>   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11
>>>  i.e
>>>  lightdm/or LXDE. then try running the qt app binary again. I will
>>> retry
>>>  this again myself and report back.
>>> 
>>>  Hussam
>>> 
>>> 
>>>  On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>>> >
>>> > Hi,
>>> >
>>> > Is there finally someone who succeeded to have a GUI compiled with
>>> Qt
>>> > (from Debian for example ) ?
>>> >
>>> > I've tested many things, and they either rely on Angstrom (which
>>> I'd
>>> > like to avoid) or don't work at all (Timesys included)
>>> >
>>> > So I'm looking for a successful try ...
>>> >
>>>   --
>>>  For more options, visit http://beagleboard.org/discuss
>>>  ---
>>>  You received this message because you are subscribed to a topic in
>>> the
>>>  Google Groups "BeagleBoard" group.
>>>  To unsubscribe from this topic, visit
>>> 
>>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe.
>>>  To unsubscribe from this group and all its topics, send an email to
>>>  beagleboard+unsubscr...@googlegroups.com.
>>>  For more options, visit https://groups.goo

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread David Lewin
Cody : that's it.

Thank you very much for that.


2014-04-11 17:57 GMT+02:00 Cody Lacey :

> If you are using debian
> SSH to your BBB but instead of loging in as root log in as
> username: debian (or whatever local username you use)
> password: temppwd (or local password)
>
> export DISPLAY=":0"
> xhost +
>
> Then try running your application
>
>
> On Fri, Apr 11, 2014 at 10:13 AM, David Lewin  wrote:
>
>> Besides, the app is starting well as if I try with
>>>
>>>  ssh -C -X root:root@192. /home/Qt_app/myApp
>>
>>
>> the app is shown  in the local display
>>
>>
>> 2014-04-11 16:46 GMT+02:00 David Lewin :
>>
>> From your capture, it seems that you use a "traditional" display, so you
>>> are able to use the local lxde terminal.
>>> While I use ssh session (I can't use the 4" display to type directly in)
>>> to connect to the board and run the app there
>>>
>>>
>>> 2014-04-11 1:20 GMT+02:00 Hussam Hertani :
>>>
>>> David, here's a pic of the same app running in LXDE based on the
 latest official Debian image that I downloaded from:
 http://beagleboard.org/latest-images

 Make sure that you use a 4GB+ microsd. After burning the image onto
 the microsd, make sure you expand the root filesystemyou will need
 the space.

 Hussam





 On 4/10/14, Hussam  Hertani  wrote:
 > David,
 > If you are running an image with a Debian root filesystem this should
 work
 > no problems. I don't think that the QT4 built  in the Debian apt-get
  armhf
 > repos was built with the -qws and -linuxfb options. As such it should
 only
 > work with X11. But I could be wrong as I can't quite confirm it.
 >
 > I use the demo image available here..
 http://elinux.org/BeagleBoardDebian. I
 > always used it...never really bothered with angstrom even with the
 older
 > Beaglebone white. This image is headless and somewhat barebones. I
 also
 > really like the new official Debian release
 > http://beagleboard.org/latest-images. It comes with LXDE which is a
 very
 > good desktop environment for the BBB. andNodeJs..yuck!
 >
 >
 > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
 wrote:
 >
 >> That a good example.
 >> I've tried with the provided executable and build it myself also
 from the
 >> board :
 >> both gave the same results, even with ssh+X
 >> BUT, what I see is that you use a different image as me: I ve used
 the
 >> git
 >> repo and did a:
 >>
 >> beagleboard.org_image.sh http://beagleboard.org/source
 >>
 >>
 >> to use the setup_sdcard.sh as explained.
 >>
 >> Maybe this is the problem root cause
 >>
 >>
 >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
 >>
 >> David I'm currently running a headless setup on my BBB...I have xorg
 and
 >>> libqt4-dev packages installed (qt-sdk package encompasses
 libqt4-dev,
 >>> qtcreator and some additional packages)
 >>>
 >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
 >>>debian@192.168.0.102
 >>>- Made a directory containing a sample application
 >>>- built it using "qmake -project", "qmake" & "make"
 >>>- and ran the binary successfully!
 >>>
 >>> This seems to work with SSH+X11 forwardingI will try it with the
 >>> latest Debian image +LXDE+Nodejs from
 >>> http://beagleboard.org/latest-images here and report back.
 >>>
 >>> I'm attaching a compressed folder containing the example code and a
 pic
 >>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie
 on my
 >>> PC
 >>> and the latest Debian demo-image (headless)
 >>> http://elinux.org/BeagleBoardDebian on my BBB.
 >>>
 >>>
 >>> Hussam
 >>>
 >>>
 >>>
 >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
 >>>
 
  David,
   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start
 X11
  i.e
  lightdm/or LXDE. then try running the qt app binary again. I will
 retry
  this again myself and report back.
 
  Hussam
 
 
  On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
 >
 > Hi,
 >
 > Is there finally someone who succeeded to have a GUI compiled
 with Qt
 > (from Debian for example ) ?
 >
 > I've tested many things, and they either rely on Angstrom (which
 I'd
 > like to avoid) or don't work at all (Timesys included)
 >
 > So I'm looking for a successful try ...
 >
   --
  For more options, visit http://beagleboard.org/discuss
  ---
  You received this message because you are subscribed to a topic in
 the
  Google Groups "BeagleBoard" group.
  To unsubscribe from this topic,

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread David Lewin
just a side question  : I just need to have my Qt GUI app to be shown,
without lxde: what do I need to do  ?


2014-04-11 18:23 GMT+02:00 David Lewin :

> Cody : that's it.
>
> Thank you very much for that.
>
>
> 2014-04-11 17:57 GMT+02:00 Cody Lacey :
>
> If you are using debian
>> SSH to your BBB but instead of loging in as root log in as
>> username: debian (or whatever local username you use)
>> password: temppwd (or local password)
>>
>> export DISPLAY=":0"
>> xhost +
>>
>> Then try running your application
>>
>>
>> On Fri, Apr 11, 2014 at 10:13 AM, David Lewin wrote:
>>
>>> Besides, the app is starting well as if I try with

  ssh -C -X root:root@192. /home/Qt_app/myApp
>>>
>>>
>>> the app is shown  in the local display
>>>
>>>
>>> 2014-04-11 16:46 GMT+02:00 David Lewin :
>>>
>>> From your capture, it seems that you use a "traditional" display, so you
 are able to use the local lxde terminal.
 While I use ssh session (I can't use the 4" display to type directly
 in) to connect to the board and run the app there


 2014-04-11 1:20 GMT+02:00 Hussam Hertani :

 David, here's a pic of the same app running in LXDE based on the
> latest official Debian image that I downloaded from:
> http://beagleboard.org/latest-images
>
> Make sure that you use a 4GB+ microsd. After burning the image onto
> the microsd, make sure you expand the root filesystemyou will need
> the space.
>
> Hussam
>
>
>
>
>
> On 4/10/14, Hussam  Hertani  wrote:
> > David,
> > If you are running an image with a Debian root filesystem this
> should work
> > no problems. I don't think that the QT4 built  in the Debian apt-get
>  armhf
> > repos was built with the -qws and -linuxfb options. As such it
> should only
> > work with X11. But I could be wrong as I can't quite confirm it.
> >
> > I use the demo image available here..
> http://elinux.org/BeagleBoardDebian. I
> > always used it...never really bothered with angstrom even with the
> older
> > Beaglebone white. This image is headless and somewhat barebones. I
> also
> > really like the new official Debian release
> > http://beagleboard.org/latest-images. It comes with LXDE which is a
> very
> > good desktop environment for the BBB.
> andNodeJs..yuck!
> >
> >
> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
> wrote:
> >
> >> That a good example.
> >> I've tried with the provided executable and build it myself also
> from the
> >> board :
> >> both gave the same results, even with ssh+X
> >> BUT, what I see is that you use a different image as me: I ve used
> the
> >> git
> >> repo and did a:
> >>
> >> beagleboard.org_image.sh http://beagleboard.org/source
> >>
> >>
> >> to use the setup_sdcard.sh as explained.
> >>
> >> Maybe this is the problem root cause
> >>
> >>
> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
> >>
> >> David I'm currently running a headless setup on my BBB...I have
> xorg and
> >>> libqt4-dev packages installed (qt-sdk package encompasses
> libqt4-dev,
> >>> qtcreator and some additional packages)
> >>>
> >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
> >>>debian@192.168.0.102
> >>>- Made a directory containing a sample application
> >>>- built it using "qmake -project", "qmake" & "make"
> >>>- and ran the binary successfully!
> >>>
> >>> This seems to work with SSH+X11 forwardingI will try it with
> the
> >>> latest Debian image +LXDE+Nodejs from
> >>> http://beagleboard.org/latest-images here and report back.
> >>>
> >>> I'm attaching a compressed folder containing the example code and
> a pic
> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie
> on my
> >>> PC
> >>> and the latest Debian demo-image (headless)
> >>> http://elinux.org/BeagleBoardDebian on my BBB.
> >>>
> >>>
> >>> Hussam
> >>>
> >>>
> >>>
> >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
> >>>
> 
>  David,
>   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start
> X11
>  i.e
>  lightdm/or LXDE. then try running the qt app binary again. I will
> retry
>  this again myself and report back.
> 
>  Hussam
> 
> 
>  On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
> >
> > Hi,
> >
> > Is there finally someone who succeeded to have a GUI compiled
> with Qt
> > (from Debian for example ) ?
> >
> > I've tested many things, and they either rely on Angstrom (which
> I'd
> > like to avoid) or don't work at all (Timesys included)
> >
> >>>

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread Micka
I use xinit, it's light enough.

But if someone can compile qt4.8 for us with the extension qws and the
touchscreen, it would be awesome..

Micka,
On Apr 11, 2014 6:37 PM, "David Lewin"  wrote:

> just a side question  : I just need to have my Qt GUI app to be shown,
> without lxde: what do I need to do  ?
>
>
> 2014-04-11 18:23 GMT+02:00 David Lewin :
>
>> Cody : that's it.
>>
>> Thank you very much for that.
>>
>>
>> 2014-04-11 17:57 GMT+02:00 Cody Lacey :
>>
>> If you are using debian
>>> SSH to your BBB but instead of loging in as root log in as
>>> username: debian (or whatever local username you use)
>>> password: temppwd (or local password)
>>>
>>> export DISPLAY=":0"
>>> xhost +
>>>
>>> Then try running your application
>>>
>>>
>>> On Fri, Apr 11, 2014 at 10:13 AM, David Lewin wrote:
>>>
 Besides, the app is starting well as if I try with
>
>  ssh -C -X root:root@192. /home/Qt_app/myApp


 the app is shown  in the local display


 2014-04-11 16:46 GMT+02:00 David Lewin :

 From your capture, it seems that you use a "traditional" display, so
> you are able to use the local lxde terminal.
> While I use ssh session (I can't use the 4" display to type directly
> in) to connect to the board and run the app there
>
>
> 2014-04-11 1:20 GMT+02:00 Hussam Hertani :
>
> David, here's a pic of the same app running in LXDE based on the
>> latest official Debian image that I downloaded from:
>> http://beagleboard.org/latest-images
>>
>> Make sure that you use a 4GB+ microsd. After burning the image onto
>> the microsd, make sure you expand the root filesystemyou will need
>> the space.
>>
>> Hussam
>>
>>
>>
>>
>>
>> On 4/10/14, Hussam  Hertani  wrote:
>> > David,
>> > If you are running an image with a Debian root filesystem this
>> should work
>> > no problems. I don't think that the QT4 built  in the Debian
>> apt-get  armhf
>> > repos was built with the -qws and -linuxfb options. As such it
>> should only
>> > work with X11. But I could be wrong as I can't quite confirm it.
>> >
>> > I use the demo image available here..
>> http://elinux.org/BeagleBoardDebian. I
>> > always used it...never really bothered with angstrom even with the
>> older
>> > Beaglebone white. This image is headless and somewhat barebones. I
>> also
>> > really like the new official Debian release
>> > http://beagleboard.org/latest-images. It comes with LXDE which is
>> a very
>> > good desktop environment for the BBB.
>> andNodeJs..yuck!
>> >
>> >
>> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
>> wrote:
>> >
>> >> That a good example.
>> >> I've tried with the provided executable and build it myself also
>> from the
>> >> board :
>> >> both gave the same results, even with ssh+X
>> >> BUT, what I see is that you use a different image as me: I ve used
>> the
>> >> git
>> >> repo and did a:
>> >>
>> >> beagleboard.org_image.sh http://beagleboard.org/source
>> >>
>> >>
>> >> to use the setup_sdcard.sh as explained.
>> >>
>> >> Maybe this is the problem root cause
>> >>
>> >>
>> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
>> >>
>> >> David I'm currently running a headless setup on my BBB...I have
>> xorg and
>> >>> libqt4-dev packages installed (qt-sdk package encompasses
>> libqt4-dev,
>> >>> qtcreator and some additional packages)
>> >>>
>> >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
>> >>>debian@192.168.0.102
>> >>>- Made a directory containing a sample application
>> >>>- built it using "qmake -project", "qmake" & "make"
>> >>>- and ran the binary successfully!
>> >>>
>> >>> This seems to work with SSH+X11 forwardingI will try it with
>> the
>> >>> latest Debian image +LXDE+Nodejs from
>> >>> http://beagleboard.org/latest-images here and report back.
>> >>>
>> >>> I'm attaching a compressed folder containing the example code and
>> a pic
>> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian
>> Jessie on my
>> >>> PC
>> >>> and the latest Debian demo-image (headless)
>> >>> http://elinux.org/BeagleBoardDebian on my BBB.
>> >>>
>> >>>
>> >>> Hussam
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
>> >>>
>> 
>>  David,
>>   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start
>> X11
>>  i.e
>>  lightdm/or LXDE. then try running the qt app binary again. I
>> will retry
>>  this again myself and report back.
>> 
>>  Hussam
>> 
>> 
>>  On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote:
>

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread David Lewin
Micka I did this,as qws is enabled in configure by default, but it didn't
seems to be taken in account


2014-04-11 18:42 GMT+02:00 Micka :

> I use xinit, it's light enough.
>
> But if someone can compile qt4.8 for us with the extension qws and the
> touchscreen, it would be awesome..
>
> Micka,
> On Apr 11, 2014 6:37 PM, "David Lewin"  wrote:
>
>> just a side question  : I just need to have my Qt GUI app to be shown,
>> without lxde: what do I need to do  ?
>>
>>
>> 2014-04-11 18:23 GMT+02:00 David Lewin :
>>
>>> Cody : that's it.
>>>
>>> Thank you very much for that.
>>>
>>>
>>> 2014-04-11 17:57 GMT+02:00 Cody Lacey :
>>>
>>> If you are using debian
 SSH to your BBB but instead of loging in as root log in as
 username: debian (or whatever local username you use)
 password: temppwd (or local password)

 export DISPLAY=":0"
 xhost +

 Then try running your application


 On Fri, Apr 11, 2014 at 10:13 AM, David Lewin wrote:

> Besides, the app is starting well as if I try with
>>
>>  ssh -C -X root:root@192. /home/Qt_app/myApp
>
>
> the app is shown  in the local display
>
>
> 2014-04-11 16:46 GMT+02:00 David Lewin :
>
> From your capture, it seems that you use a "traditional" display, so
>> you are able to use the local lxde terminal.
>> While I use ssh session (I can't use the 4" display to type directly
>> in) to connect to the board and run the app there
>>
>>
>> 2014-04-11 1:20 GMT+02:00 Hussam Hertani :
>>
>> David, here's a pic of the same app running in LXDE based on the
>>> latest official Debian image that I downloaded from:
>>> http://beagleboard.org/latest-images
>>>
>>> Make sure that you use a 4GB+ microsd. After burning the image onto
>>> the microsd, make sure you expand the root filesystemyou will
>>> need
>>> the space.
>>>
>>> Hussam
>>>
>>>
>>>
>>>
>>>
>>> On 4/10/14, Hussam  Hertani  wrote:
>>> > David,
>>> > If you are running an image with a Debian root filesystem this
>>> should work
>>> > no problems. I don't think that the QT4 built  in the Debian
>>> apt-get  armhf
>>> > repos was built with the -qws and -linuxfb options. As such it
>>> should only
>>> > work with X11. But I could be wrong as I can't quite confirm it.
>>> >
>>> > I use the demo image available here..
>>> http://elinux.org/BeagleBoardDebian. I
>>> > always used it...never really bothered with angstrom even with the
>>> older
>>> > Beaglebone white. This image is headless and somewhat barebones. I
>>> also
>>> > really like the new official Debian release
>>> > http://beagleboard.org/latest-images. It comes with LXDE which is
>>> a very
>>> > good desktop environment for the BBB.
>>> andNodeJs..yuck!
>>> >
>>> >
>>> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin 
>>> wrote:
>>> >
>>> >> That a good example.
>>> >> I've tried with the provided executable and build it myself also
>>> from the
>>> >> board :
>>> >> both gave the same results, even with ssh+X
>>> >> BUT, what I see is that you use a different image as me: I ve
>>> used the
>>> >> git
>>> >> repo and did a:
>>> >>
>>> >> beagleboard.org_image.sh http://beagleboard.org/source
>>> >>
>>> >>
>>> >> to use the setup_sdcard.sh as explained.
>>> >>
>>> >> Maybe this is the problem root cause
>>> >>
>>> >>
>>> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
>>> >>
>>> >> David I'm currently running a headless setup on my BBB...I have
>>> xorg and
>>> >>> libqt4-dev packages installed (qt-sdk package encompasses
>>> libqt4-dev,
>>> >>> qtcreator and some additional packages)
>>> >>>
>>> >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
>>> >>>debian@192.168.0.102
>>> >>>- Made a directory containing a sample application
>>> >>>- built it using "qmake -project", "qmake" & "make"
>>> >>>- and ran the binary successfully!
>>> >>>
>>> >>> This seems to work with SSH+X11 forwardingI will try it with
>>> the
>>> >>> latest Debian image +LXDE+Nodejs from
>>> >>> http://beagleboard.org/latest-images here and report back.
>>> >>>
>>> >>> I'm attaching a compressed folder containing the example code
>>> and a pic
>>> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian
>>> Jessie on my
>>> >>> PC
>>> >>> and the latest Debian demo-image (headless)
>>> >>> http://elinux.org/BeagleBoardDebian on my BBB.
>>> >>>
>>> >>>
>>> >>> Hussam
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Apr 10, 2014 at 9:21 AM,  wrote:
>>> >>>
>>> 
>>>  David,
>>>   Put "export DISPLAY=:0.0" in the /etc/profile, reboot and

Re: [beagleboard] Re: Finally : did someone succeeded to have a Qt GUI app ?

2014-04-11 Thread Micka
Well, did someone manage to make it work ?

It would be cool to share with us :) .


On Fri, Apr 11, 2014 at 7:13 PM, David Lewin  wrote:

> Micka I did this,as qws is enabled in configure by default, but it didn't
> seems to be taken in account
>
>
> 2014-04-11 18:42 GMT+02:00 Micka :
>
> I use xinit, it's light enough.
>>
>> But if someone can compile qt4.8 for us with the extension qws and the
>> touchscreen, it would be awesome..
>>
>> Micka,
>> On Apr 11, 2014 6:37 PM, "David Lewin"  wrote:
>>
>>> just a side question  : I just need to have my Qt GUI app to be shown,
>>> without lxde: what do I need to do  ?
>>>
>>>
>>> 2014-04-11 18:23 GMT+02:00 David Lewin :
>>>
 Cody : that's it.

 Thank you very much for that.


 2014-04-11 17:57 GMT+02:00 Cody Lacey :

 If you are using debian
> SSH to your BBB but instead of loging in as root log in as
> username: debian (or whatever local username you use)
> password: temppwd (or local password)
>
> export DISPLAY=":0"
> xhost +
>
> Then try running your application
>
>
> On Fri, Apr 11, 2014 at 10:13 AM, David Lewin wrote:
>
>> Besides, the app is starting well as if I try with
>>>
>>>  ssh -C -X root:root@192. /home/Qt_app/myApp
>>
>>
>> the app is shown  in the local display
>>
>>
>> 2014-04-11 16:46 GMT+02:00 David Lewin :
>>
>> From your capture, it seems that you use a "traditional" display, so
>>> you are able to use the local lxde terminal.
>>> While I use ssh session (I can't use the 4" display to type directly
>>> in) to connect to the board and run the app there
>>>
>>>
>>> 2014-04-11 1:20 GMT+02:00 Hussam Hertani :
>>>
>>> David, here's a pic of the same app running in LXDE based on the
 latest official Debian image that I downloaded from:
 http://beagleboard.org/latest-images

 Make sure that you use a 4GB+ microsd. After burning the image onto
 the microsd, make sure you expand the root filesystemyou will
 need
 the space.

 Hussam





 On 4/10/14, Hussam  Hertani  wrote:
 > David,
 > If you are running an image with a Debian root filesystem this
 should work
 > no problems. I don't think that the QT4 built  in the Debian
 apt-get  armhf
 > repos was built with the -qws and -linuxfb options. As such it
 should only
 > work with X11. But I could be wrong as I can't quite confirm it.
 >
 > I use the demo image available here..
 http://elinux.org/BeagleBoardDebian. I
 > always used it...never really bothered with angstrom even with
 the older
 > Beaglebone white. This image is headless and somewhat barebones.
 I also
 > really like the new official Debian release
 > http://beagleboard.org/latest-images. It comes with LXDE which
 is a very
 > good desktop environment for the BBB.
 andNodeJs..yuck!
 >
 >
 > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin <
 dlewin...@gmail.com> wrote:
 >
 >> That a good example.
 >> I've tried with the provided executable and build it myself also
 from the
 >> board :
 >> both gave the same results, even with ssh+X
 >> BUT, what I see is that you use a different image as me: I ve
 used the
 >> git
 >> repo and did a:
 >>
 >> beagleboard.org_image.sh http://beagleboard.org/source
 >>
 >>
 >> to use the setup_sdcard.sh as explained.
 >>
 >> Maybe this is the problem root cause
 >>
 >>
 >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani :
 >>
 >> David I'm currently running a headless setup on my BBB...I have
 xorg and
 >>> libqt4-dev packages installed (qt-sdk package encompasses
 libqt4-dev,
 >>> qtcreator and some additional packages)
 >>>
 >>>- I SSHed into the BBB with X11 Forwarding: ssh -X
 >>>debian@192.168.0.102
 >>>- Made a directory containing a sample application
 >>>- built it using "qmake -project", "qmake" & "make"
 >>>- and ran the binary successfully!
 >>>
 >>> This seems to work with SSH+X11 forwardingI will try it
 with the
 >>> latest Debian image +LXDE+Nodejs from
 >>> http://beagleboard.org/latest-images here and report back.
 >>>
 >>> I'm attaching a compressed folder containing the example code
 and a pic
 >>> of the GUI UI as displayed over SSH+X11. I'm running Debian
 Jessie on my
 >>> PC
 >>> and the latest Debian demo-image (headless)
>>>