I have never coded any GUI applications before. I was wondering what would be the best API or toolkit to learn that isn't too complicated. Thanks for the help in advance.
trainee
Printable View
I have never coded any GUI applications before. I was wondering what would be the best API or toolkit to learn that isn't too complicated. Thanks for the help in advance.
trainee
The best? Hard to say. Qt and GTKmm are both very easy though.
The main difference is in the licensing, and that GTKmm makes better use of C++ features.
For Win32 platform, I recommend MFC.
Kuphryn
I don't.
Yeah, avoid MFC. I suggest GTK or even wxWindows, all portable.
For Win32 platform, I recommend Win32 API.Quote:
For Win32 platform, I recommend MFC.
I am actually coding for Linux, but I wouldn't mind it if it was cross-platform. Thanks again.
trainee
OK why should you avoid Microsoft Fried Chicken?:confused:Quote:
Yeah, avoid MFC. I suggest GTK or even wxWindows, all portable.
Because it's not a good class library. It neither achieves platform-independence, nor is it as easy to use as the other class libraries. It is very poorly suited for late code changes (I scraped an MFC project twice because of this, before finally switching to Java and Swing). It requires you to write a lot of code that is cryptic, non-C++-ish and could easily be hidden. It is old, very old, which means it doesn't take advantage of modern C++ features as much as it should. Neither does Qt, but GTKmm does it very well, and at least the Qt containers are compatible with STL algorithms.
^
Besides, it don't work on the good ol' penguin.
And yes, it's a really weird method of doing apps.
Quote:
Besides, it don't work on the good ol' penguin.
Quote:
It neither achieves platform-independence
I was thinking of learning wxWindows, but I can't get it to install correctly in Fedora.
Everything seems okay, until the followingCode:[root@hnlhi1-ar6-4-7-224-047 root]# yum install wxGTK
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora.us Extras (Stable)
Server: Fedora.us Extras (Testing)
Server: Fedora.us Extras (Unstable)
Server: Livna.org - Fedora Compatible Packages (stable)
Server: Livna.org - Fedora Compatible Packages (testing)
Server: Livna.org - Fedora Compatible Packages (unstable)
Server: macromedia.mplug.org - Flash Plugin
Server: Fedora Core 1 - i386 - Released Updates
Finding update packages
Downloading needed headers
wxGTK is installed and is the latest version.
No actions to take
That part about "Resolving dependencies" takes close to 30 minutes. Does anyone know how to fix this?Code:[root@hnlhi1-ar6-4-7-224-047 root]# yum install wxGTK-devel
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora.us Extras (Stable)
Server: Fedora.us Extras (Testing)
Server: Fedora.us Extras (Unstable)
Server: Livna.org - Fedora Compatible Packages (stable)
Server: Livna.org - Fedora Compatible Packages (testing)
Server: Livna.org - Fedora Compatible Packages (unstable)
Server: macromedia.mplug.org - Flash Plugin
Server: Fedora Core 1 - i386 - Released Updates
Finding update packages
Downloading needed headers
Resolving dependencies
.....identical dependency loop exceeded
package wxGTK-devel needs wxGTK = 0:2.4.2-0.fdr.1.1 (not provided)
trainee
Oh, man, I need to take a long break. I'm making mistakes like that a lot lately.Quote:
Originally posted by CornedBee
quote: Besides, it don't work on the good ol' penguin.
quote: It neither achieves platform-independence
@linuxdude. Try installing the package it tells you it needs. You need to install wxGTK before installing the devel package. If it's not on your distro's disk, donwload it, untar it and make it.
Seems the one you installed is too old.