I think William is right about developing natively on the beaglebone. The
GUI design could be done from other desktop and copied to BBB, or done
natively. So are the cpp files (if you are using C++, I don't know how to
do other languages like Python or bonescript). But all the program files
(to me there are only four: mainwindow.h, mainwindow.cpp, mainwindow.ui,
and mian.cpp) should be kept together into a single folder (the folder's
name should be the project's name), and compiled and built by very simple
command as follows: 1) qmake - project; 2) qmake; 3) make.

2015-07-26 18:44 GMT-04:00 William Hermans <[email protected]>:

> Another option I did not mention is developing natively on the beaglebone.
> There are also ways to keep from ruining flash media in the process as
> well. Such as using a rootfs mounted over a network, or a rootfs mounted
> from a USB hard drive. Self powered of course.
>
> On Sun, Jul 26, 2015 at 3:40 PM, William Hermans <[email protected]>
> wrote:
>
>> *I just downloaded QT Creator on my Win7 PC, and was hoping there's an
>>> example program that I can cross compile for the BBB and be off and running
>>> within a few hours. Does not seem like the case. Is cross compilation even
>>> possible from Win7 PC for BBB target?*
>>
>>
>> Cross compiling QT can, and will be quite a daunting task for the
>> inexperienced. I can tell you that I have experience in several programming
>> languages, and compilers  since around '93, and I'm not sure I could do
>> this. Or if I could, I know it would be a difficult task.
>>
>> Honestly though, short of the possibility of someone already having gone
>> through the  process, who frequents this google group. This question is
>> best asked of the QT project maintainers. That is, for the QT specific
>> questions. As for the rest . . . Toggling GPIOs should not be too hard to
>> do. I have not done this myself to date, but there are many blog post on
>> the web covering the subject. Using SYSFS, mmap, and bonescript, just to
>> name 3 ways.
>>
>> *Ideally I do not want to use a uSD card with some other Linux version to
>>> make this work. I'd like to just send a binary to the BBB running the
>>> pre-installed Debian and have it work without much reconfiguring. *
>>>
>>
>> So you propose writing a binary for an ARM + Linux target on Windows ?
>> This *may* be possible, but really is asking for trouble. Let me clarify. I
>> use Windows on a daily basis. All my desktops run some form of Windows from
>> Win 7 on up. Having said that, I would not *dream* of doing the above.
>> Perhaps "dream" is also the wrong word. "Nightmare" would be more like it.
>>
>> Hate to burst your bubble, but if you want to develop for the BBB,
>> running Linux. You're going to have to learn, and use Linux as a
>> development tool. It may take some time sure, but that is nothing compared
>> to the troubles you're very likely to run into when developing software on
>> Windows for the BBB running Linux. Just for starters: If you run into a
>> problem that is specific to a Linux API / library. How would you know what
>> to look for ? *OR* How would you even use the linux-header files for your
>> specific kernel?
>>
>> Anyway, it is not impossible, but trust me it is more headache than it's
>> worth. That, and you'd probably be spinning your wheels indefinitely, when
>> instead you could simply setup a Linux machine in hardware, or virtual
>> machine, and be long done with all that.
>>
>> *If you or anyone else can shed some more light on this that would be
>>> much appreciated. Thanks.*
>>>
>>
>> On Sun, Jul 26, 2015 at 10:11 AM, Frank Rizzo <[email protected]
>> > wrote:
>>
>>> Hi Henry,
>>>
>>> Did you ever get something going?
>>>
>>> I just received my BBB with Debian and 4D Systems 7" LCD cape.
>>>
>>> All I want my app to do is display a few soft buttons that control some
>>> gpios. I also want the BBB to boot into my app automatically at startup.
>>>
>>> I just downloaded QT Creator on my Win7 PC, and was hoping there's an
>>> example program that I can cross compile for the BBB and be off and running
>>> within a few hours. Does not seem like the case. Is cross compilation even
>>> possible from Win7 PC for BBB target?
>>>
>>> Ideally I do not want to use a uSD card with some other Linux version to
>>> make this work. I'd like to just send a binary to the BBB running the
>>> pre-installed Debian and have it work without much reconfiguring.
>>>
>>> If you or anyone else can shed some more light on this that would be
>>> much appreciated. Thanks.
>>>
>>> --
>>> 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/z1IBLEx9F5g/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.
>



-- 
  门 涌帆 (Men Yongfan),  PhD
BIOPIC building   Peking University
+86 18611230987
+86 10 62758323
[email protected]

-- 
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