Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "wxwidgets"
-
Man I totally forgot about this framework/lib from back in the day. I was reminded when I was installing WhatsApp on Windows. Wx Widgets, oh the memories!3
-
been exploring the options for cross platform desktop app, and i found :
java : both awt and swing look ugly, i really like OOP of java, and the way projects are organized is easy to scale, but i need to deploy the jdk, and the speed on gui apps isn't that great
C# : (.net/ mono, i can't grasp F# and vb is stupid) looks native on windows, not so much alien on both linux/mac, and being a java cousin is a pro, i found the Eto library for mono even looks more native on *ix than winforms
wxwidgets: for C/C++ so far this looks like the best option for total native feel and performance, but man i fucking hate C code, and this looks a lot like C code, even with proper native Cpp support, maybe i should dive deeper in it
GTK+ : did any one mention C code ? because this mother fucker is plain C with macros all over the place, it made me realize why wx is promoted as Cpp friendly, i doubt I'll use this
tcl/tk : even tho ive never wrote a single line of tcl in my life, the tk lib is the default ui for both python and ruby on all supported platforms,
and i really love ruby, and Python is Usually a joy to work with
Qt : this by far looks like the best option, proper OOP in C++, bindings for python (ruby binds are outdated), almost native look and feel on supported platforms, and even has a gui builder in xml or json/js (qml) however i bet I'll use such a thing, the building tho depends on an external preprocessor "moc" and some wicked macros, also makes working with templates a fucking mess, and the heavy dependence on QObject inheritance makes integrating external libraries a bit more tiring, the signal slot system makes more sense in python than in C++, since it makes me confused about the flow of the code
lazarus: is a freepascal implementation that looks and feels like delphi, not so much for native look and feel, but good performance and easy language to handle
electron : this fat mofo is fat, it's the slowest of all options, if i want an html app, I'll just compile a stripped down webkit and deploy that
what do you think ? and did i miss something ?17 -
I've spent weeks trying to figure out how to set up Visual Shit 2017 with wxWidgets and still haven't figured it out. None of those settings I modified (project properties) worked at all. Months, probably, but just gave up at the end everytime. Nothing I tried worked, but the first time I tried setting it up for CodeLite on Ubuntu, it worked like a charm. All I wanted was to be able to develop cross-platform applications with wxWidgets, was it really that hard? I haven't even thought about cross-compilation from Ubuntu for Windows yet, the very though fills me with dread.
Why the fuck is it so hard to develop something so simple using Windows?1 -
Linux: sudo apt-get install IDE dev-libs etc
Windows: install wxMSW, extract compressed binaries, set environment variables, set preprocessor/project settings in VS2017, set search directories, etc.
Why is it so ANNOYING to set up a simple GUI development library for C++ on Windows? -
So finished 2 weeks project for co-worker. Now she can register cargo waybills to database and not to excel(I have nothing against it, but to have centralised way to keep data is better practice). Anyway project was done with Cpp, wxwidgets(first time trying GUI in my project), postgressql. Now I can see a lot of things I can rework, fix or add something new. I guess you can't finish fully anything.