Try it this thus way:

DISPLAY=:0 myapp -qws
19 Дек 2015 г. 23:07 пользователь "Bremenpl" <[email protected]> написал:

> I am not sure, coz i wasnt building it- i fownloaded it from paxjage
> manager.
>
> On December 19, 2015 7:51:18 PM John Syne <[email protected]> wrote:
>
>> i haven’t done this in ages, but try to run your QT app with the "-platform
>> eglfs” option. I’m assuming you built QT with EGL.
>>
>> Regards,
>> John
>>
>>
>>
>>
>> On Dec 19, 2015, at 3:46 AM, Bremenpl <[email protected]> wrote:
>>
>> Hello there,
>> I managed to set up qt 5.3.2 on the beaglebone. I have build everything
>> there and it took ages but it works :).
>>
>> Next step is that I need to check either it is possible to run qt app on
>> bbb without gui with qws parameter. Because at the moment when i run it
>> with qws i get QXcbconnection: Could not connect to display. I need to do
>> it like this because thw gui is really really slow.
>>
>> On December 15, 2015 6:10:13 AM John Syne <[email protected]> wrote:
>>
>>> For purely building armhf code, Odroid XU4 might be a good choice:
>>>
>>> http://www.hardkernel.com/main/main.php
>>>
>>> This is an Octacore processor with 4 CortexA15 and 4 CortexA7
>>> processors. I don’t know how good their kernel/debian support is, but I
>>> know Robert had looked at this board or a predecessor in the past, so
>>> perhaps he can give his input here.
>>>
>>> Clearly this board doesn’t have the flexibility of the BeagleBoard-x15
>>> with it’s dual DSP, Dual CortexM4, Quad PRU, SATA interface, PCIe
>>> interface, etc.
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>>
>>> On Dec 14, 2015, at 4:29 PM, William Hermans <[email protected]> wrote:
>>>
>>> Anyway, the main problem with the rPI 2 is that it has no "fast" non
>>> destructive storage. But the Omilex . . let me look it up.
>>>
>>>
>>> https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2-4GB/open-source-hardware
>>> Has SATA and GbE both. Dual cores too I think. However, you'd have to ask
>>> someone who has one how well they think it would work as a build board.
>>> RObert might know, as his Debian build guide also includes this board too I
>>> believe.
>>>
>>> On Mon, Dec 14, 2015 at 5:25 PM, William Hermans <[email protected]>
>>> wrote:
>>>
>>>> https://www.adafruit.com/product/2358
>>>>
>>>> On Mon, Dec 14, 2015 at 5:23 PM, William Hermans <[email protected]>
>>>> wrote:
>>>>
>>>>> The new board is armv7. Positively.
>>>>>
>>>>> On Mon, Dec 14, 2015 at 5:24 PM, Bremenpl <[email protected]> wrote:
>>>>>
>>>>>> Okay, thank :P. I am quite sure raspberry pi is not hard float.
>>>>>>
>>>>>> W dniu 2015-12-15 o 01:21, William Hermans pisze:
>>>>>>
>>>>>> So just thinking for a minute. A Raspberry PI 2, the new board with
>>>>>> quad cores, and 1 GB ram would probably work fairly decent as a build
>>>>>> system for the Beaglebones. Granted, something like the X15, of that new
>>>>>> nVidia ARM board, or even the Omelex A20 board with SATA would probably 
>>>>>> be
>>>>>> a much better choice if cost is not a problem.
>>>>>>
>>>>>> By the way, I have no idea what Robert is talking about. You need to
>>>>>> ask him.
>>>>>>
>>>>>> On Mon, Dec 14, 2015 at 5:15 PM, Bremenpl <[email protected]> wrote:
>>>>>>
>>>>>>> I have just flashed my BeagleBone Black emmc  with lxqt image linked
>>>>>>> by Robert. I cant seem to find qmake anywhere. I thought there would be 
>>>>>>> qt
>>>>>>> installed and all. Am I missing something again?
>>>>>>>
>>>>>>> W dniu 2015-12-15 o 00:54, William Hermans pisze:
>>>>>>>
>>>>>>> Not necessarily, but consider this. How much does an embedded
>>>>>>> systems specialist in your area get paid per hour ? In my area, about 
>>>>>>> 15-20
>>>>>>> years ago. The cost of a board like the X15 would have been absorbed in
>>>>>>> roughly half a day. That is to say, an embedded systems specialist could
>>>>>>> buy a board for $239 after working roughly half a day.
>>>>>>>
>>>>>>> Now take into account that figuring out how to cross compile
>>>>>>> something like this is a serious headache, and often takes days, if not
>>>>>>> weeks to get right . . .
>>>>>>>
>>>>>>> On Mon, Dec 14, 2015 at 4:32 PM, Bremenpl < <[email protected]>
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> So if I understand correctly, I should have a second board that is
>>>>>>>> more powerfull than beagle just to compile the code for beagle?
>>>>>>>>
>>>>>>>> W dniu 2015-12-15 o 00:26, William Hermans pisze:
>>>>>>>>
>>>>>>>> *I cant change the board right now, it has to be BeagleBone Black.
>>>>>>>>> Thats why I need to build on my host. Did you succed on installing 
>>>>>>>>> QT5.1
>>>>>>>>> and deploying it to BeagleBone Black? Maybe I should use it instead of
>>>>>>>>> 4.8.6 if its easier?*
>>>>>>>>>
>>>>>>>>
>>>>>>>> No one was saying change boards. Use the same board, but use a
>>>>>>>> faster, more powerful ARM board to compile native ARM executable. The
>>>>>>>> reasons are simple. No need to mess with cross compiling, which in many
>>>>>>>> cases is messy, and sometimes near impossible.
>>>>>>>>
>>>>>>>> You don't think Robert spends days, or weeks compiling packages do
>>>>>>>> you ? But why don't we ask Robert. Robert, hey what percentage of the
>>>>>>>> packages you build are compiled native to ARM, from some sort of beefy 
>>>>>>>> ARM
>>>>>>>> board? I'm guessing nearly 100% if not 100% but . . .
>>>>>>>>
>>>>>>>> On Mon, Dec 14, 2015 at 4:00 PM, Bremenpl < <[email protected]>
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Ahh., thats the way, you are right...
>>>>>>>>> Thank you for all the support guys, I really mean it! Hope to get
>>>>>>>>> it working in a while if i wont fall asleep on my desk!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On December 14, 2015 11:55:59 PM John Syne < <[email protected]>
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> On Dec 14, 2015, at 2:34 PM, Bremenpl < <[email protected]>
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Okay guys, atm I am donwloading the lxqt image. AT first I will
>>>>>>>>>>> try to open the app on the BeagleBone Black itself. But after that 
>>>>>>>>>>> works I
>>>>>>>>>>> need to figure out how to remote debug while building on beagle 
>>>>>>>>>>> instead of
>>>>>>>>>>> cross compile on host.
>>>>>>>>>>> Could you please only clarify my thoughts about it? If
>>>>>>>>>>> gdb-multiarch needs crosscompiled executable, how do I use it if I 
>>>>>>>>>>> dont
>>>>>>>>>>> download the executable from target like you said i dont?
>>>>>>>>>>>
>>>>>>>>>> On BBB you run gdbserver. On your host, you run gdb and then
>>>>>>>>>> remote connect to your gdbserver. Watch Derrek Molloy’s chapter 7 
>>>>>>>>>> video I
>>>>>>>>>> gave you, starting at about 30 minutes.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> John
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> W dniu 2015-12-14 o 23:23, John Syne pisze:
>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> John
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Dec 14, 2015, at 2:23 PM, Bremenpl < <[email protected]>
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Okay, I think I figured it out, but it would be a bit messy...
>>>>>>>>>>>>> So lets say I would have a postbuild script on my host, that 
>>>>>>>>>>>>> after each
>>>>>>>>>>>>> succesfull build would scp over all .h and .c files to BeagleBone 
>>>>>>>>>>>>> Black and
>>>>>>>>>>>>> build on the target as well (ssh command).
>>>>>>>>>>>>>
>>>>>>>>>>>>> But then again, for gdb-multiarch I need to provide an
>>>>>>>>>>>>> executable on the host. So if I am building on target device, do 
>>>>>>>>>>>>> I need to
>>>>>>>>>>>>> download the built executable back to host…?
>>>>>>>>>>>>>
>>>>>>>>>>>> No
>>>>>>>>>>>>
>>>>>>>>>>>>> W dniu 2015-12-14 o 23:13, Robert Nelson pisze:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Dec 14, 2015 at 4:13 PM, Bremenpl <
>>>>>>>>>>>>>> <[email protected]>[email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Yes but in that case I would have to program for hours on
>>>>>>>>>>>>>>> BeagleBone
>>>>>>>>>>>>>>> Black... The point is, can I remote debug in this
>>>>>>>>>>>>>>> configuration?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> gdb can communicate over tcp/ip..
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>> Bremenpl
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> For more options, visit <http://beagleboard.org/discuss>
>>>>>>>>>>>>> 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
>>>>>>>>>>>>> <[email protected]>
>>>>>>>>>>>>> [email protected].
>>>>>>>>>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>>>>>>>>>> https://groups.google.com/d/optout.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Bremenpl
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> For more options, visit <http://beagleboard.org/discuss>
>>>>>>>>>>> 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 <[email protected]>
>>>>>>>>>>> [email protected].
>>>>>>>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>>>>>>>> https://groups.google.com/d/optout.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> For more options, visit <http://beagleboard.org/discuss>
>>>>>>>>>> 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/FUq8HRSvw_g/unsubscribe>
>>>>>>>>>> https://groups.google.com/d/topic/beagleboard/FUq8HRSvw_g/unsubscribe
>>>>>>>>>> .
>>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>>> to <[email protected]>
>>>>>>>>>> [email protected].
>>>>>>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>>>>>>> https://groups.google.com/d/optout.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> For more options, visit <http://beagleboard.org/discuss>
>>>>>>>>> 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%[email protected]>
>>>>>>>>> [email protected].
>>>>>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>>>>>> https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> For more options, visit <http://beagleboard.org/discuss>
>>>>>>>> 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/FUq8HRSvw_g/unsubscribe
>>>>>>>> .
>>>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>>>> <[email protected]>
>>>>>>>> [email protected].
>>>>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>>>>> https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Bremenpl
>>>>>>>>
>>>>>>>> --
>>>>>>>> For more options, visit <http://beagleboard.org/discuss>
>>>>>>>> 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 [email protected].
>>>>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>>>>> 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/FUq8HRSvw_g/unsubscribe>
>>>>>>> https://groups.google.com/d/topic/beagleboard/FUq8HRSvw_g/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>>> [email protected].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Bremenpl
>>>>>>>
>>>>>>> --
>>>>>>> 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 [email protected].
>>>>>>> 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/FUq8HRSvw_g/unsubscribe
>>>>>> .
>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>> [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Bremenpl
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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 [email protected].
>>>>>> 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 [email protected].
>>> 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/FUq8HRSvw_g/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> 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 [email protected].
>> 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/FUq8HRSvw_g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to