William,

I don't know anything about compiling Qt, but I think what Frank and I
wanted is not that complicated. And I've succeeded (at least I believe so).
See the image I attached in the previous post? The BBB is running a
customized GUI, and if I press any of the large buttons at the lower part
of the screen, there is going to be a change (GPIO, or serial connection)
happening.

And I'm no expert in programming, not even electrical engineering. I'm
majored in mechanical engineering and I'm doing research in
bio-medical-engineering. The reason I want to use BBB is this could make my
biology experiments easier. And this doesn't require a very professional
programming expertise. All one needs to do is finding the right book to
read, and try by oneself. There is still very little information about Qt
on BBB online, but I believe there will be more gradually. So William,
please stop being a devil's advocate, and let's solve the technical problem
instead.

Best,
Henry

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

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