WxWidgets and Raspberry

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Szyk Cech
In need of some credit
In need of some credit
Posts: 1
Joined: Wed Jul 10, 2019 4:47 pm

WxWidgets and Raspberry

Post by Szyk Cech » Wed Jul 10, 2019 5:03 pm

HI folks!
After decade annoyance with VCL I switch to Qt in order to programing in pure C++, and after decade with Qt I want switch to some thing else. I fed up with vendor lock "features" like QML in order to write mobile apps. So I look for some thing else which allow me write portable C++ applications. Now I am interested with WxWidgets. I want to write portable, modular, blast fast apps for following operating systems:

* Linux Amd64
* Linux Raspberry
* Android
* Windows

And I assume it is possible out of the box.

So I have more detailed question about "Linux Raspberry" development:
1. Is this possible to work WxWidget without XWindws? Mean: Can WxWidget directly use linux framebuffer?
2. When can I find detailed instructions how setup cross compilation and remote development WxWidget app for Raspbian?
3. The same kind of instruction will be handly for Android development.

The second question is like "How to do this in the rigth/recommended/WxWidgets way?" - because I can download complers from https://github.com/raspberrypi/tools and use Qt Creator (that's it: I still use it because I am well familar with it) to setup environment.

User avatar
doublemax
Moderator
Moderator
Posts: 14044
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: WxWidgets and Raspberry

Post by doublemax » Wed Jul 10, 2019 5:10 pm

I can't answer all those questions, but: If you need Android, wxWidgets does not support that. There was an Android port in pre-alpha stage years ago, but it's dead. There is a wxQT port which is significantly more mature and i think one if its motivations was the ability to create mobile apps, but i don't know if it's really possible to do.

As for cross-compiling for Raspberry, this might be helpful:
http://yasriady.blogspot.com/2015/10/ho ... ry-pi.html
Use the source, Luke!

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3446
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: WxWidgets and Raspberry

Post by ONEEYEMAN » Wed Jul 10, 2019 6:52 pm

Hi,
As doublemax sadi, there is no wxAndroid.
It was a GSoC effort to create such a port, there is even an instruction on how to make it and there is an app in the Google Store to demonstrate, but it is very basic.
If you are OK with it - wxQt, might be better in this regards especially since right now some company is trying to bring it up to speed (see wxWidgets GitHub), but I don't know too much about wxQt with Android. Again there was a demo app published to Google store but that about it.

About Raspberry PI - seach this forum. There are some posts about setting it up.

And of course Windows and Linux are fully supported. Windows up from WinXP SP3, Linux up from GTK+2.6. There is also a port of GTK+1 still available if you need OpenVMS support Or some other ancient OS.

Thank you.

Post Reply