1

which gui library would be good for cross platform for a beginner using C++

Horace Heaven
  • 712
  • 5
  • 13
  • 24
  • 1
    If you're a beginner do you want to worry about cross-platform? – Rup Mar 09 '11 at 15:36
  • 4
    I'd think it was a great time to worry about cross-platform! Before you get too familiar with MFC! – Nick Mar 09 '11 at 15:37
  • @Rup: Do you know any GUI library for C++ which is easier to use than Qt but is not cross-platform? I don't – Armen Tsirunyan Mar 09 '11 at 15:37
  • http://stackoverflow.com/questions/597182/windows-gui-c-programming – karlphillip Mar 09 '11 at 15:40
  • 1
    @Armen: For beginners, MFC is far easier than Qt. Qt doesn't surpass MFC in ease of use until you start doing more intermediate to advanced GUI work. – Zac Howland Mar 09 '11 at 15:40
  • http://stackoverflow.com/questions/1283202/lightweight-c-gui-library – karlphillip Mar 09 '11 at 15:41
  • http://stackoverflow.com/questions/35762/linux-gui-development – karlphillip Mar 09 '11 at 15:42
  • @Armen: I know, I know. I hate to admit it, too. But you have to give Microsoft some credit: the wizards make basic UI's (which is what beginners would be doing) a cakewalk. You actually have to understand some of the code to get Qt up and running. – Zac Howland Mar 09 '11 at 15:46
  • @Zac: If you said that about .NET, I would totally agree. It's the best and easiest to use GUI library imho. But MFC... I mean, all those binding macros make me sick :) – Armen Tsirunyan Mar 09 '11 at 15:51

4 Answers4

10

You should try out Qt. It's really nice and it has a lot of features, and it's cross platform.

And here is some tutorials for it.

Armen Tsirunyan
  • 130,161
  • 59
  • 324
  • 434
Morten Kristensen
  • 7,412
  • 4
  • 32
  • 52
2

Qt. It is cross platform, and easy to use.

Sagar
  • 9,456
  • 6
  • 54
  • 96
1

You should take a look at gtkmm. It is written in modern c++, uses stl, follows its conventions, includes support for utf-8. What's more, it's open source and cross-platform.

Umesh K
  • 13,436
  • 25
  • 87
  • 129
1

In addition to QT that others have mentioned, take a look at wxWidgets. It's cross platform and very usable for a beginner.

nathan
  • 5,513
  • 4
  • 35
  • 47