Jump to content

C++ GUI framework

- - - - -

  • Please log in to reply
18 replies to this topic

#1
invokeLater

invokeLater

    Newbie

  • Members
  • PipPip
  • 11 posts
Which should I learn first between QT, wxWidgets and WinApi? I would really appreciate your opinion.
In the long run, I would like to know WinApi and either QT or wx. What do you recommend?

#2
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
The Windows API is hard to do for GUI programming, so I'd recommend starting out with another GUI library first. wx and QT are both good, but I prefer wx's style (it is more "object-oriented", or it seems so to me). QT, on the other hand, comes with a really good GUI builder (QT Creator). If you want to get started with programming without a GUI builder (maybe a better idea) then I'd recommend wx.
Latinamne loqueris?

#3
invokeLater

invokeLater

    Newbie

  • Members
  • PipPip
  • 11 posts
What is a GUI builder?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
wxWidgets and Qt are both nice. I feel like Qt has more of a "C++" feel, and wxWidgets has more of a "macro-magic" feel. They can do the same things, it's just a question of which style you prefer.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
As someone who did WinAPI by hand, lemme tell you it's a pain in the butt to do it manually. Visual Studio provides tools to create forms easily, but figuring out where to put the handler functions and stuff was..."interesting." Then again, this was a few years ago, so things've probably changed.

As far as other methods, I'd go with wxWidgets, but that's just a matter of personal preference. I'm not really sure which one would be best for a beginner, as they're similar (at least conceptually) in my opinion.

EDIT: And by a "few years ago" I meant five or six. Man, I'm old.
sudo rm -rf /

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

dargueta said:

As someone who did WinAPI by hand, lemme tell you it's a pain in the butt to do it manually. Visual Studio provides tools to create forms easily, but figuring out where to put the handler functions and stuff was..."interesting." Then again, this was a few years ago, so things've probably changed.

As far as other methods, I'd go with wxWidgets, but that's just a matter of personal preference. I'm not really sure which one would be best for a beginner, as they're similar (at least conceptually) in my opinion.

EDIT: And by a "few years ago" I meant five or six. Man, I'm old.

I learned Turbo Pascal a few years ago. And by a "few years ago", I mean 20, yah whipper-snapper.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Semi-sarcasm. :D It's a larger percentage of my life than I thought, though.
sudo rm -rf /

#8
invokeLater

invokeLater

    Newbie

  • Members
  • PipPip
  • 11 posts

WingedPanther said:

I learned Turbo Pascal a few years ago. And by a "few years ago", I mean 20, yah whipper-snapper.

O.O I wasn't even born yet.

OT: Seems like I'll go with wx from what you guys are saying.

#9
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts

invokeLater said:

What is a GUI builder?

It's a program that lets you visually build a GUI
Latinamne loqueris?

#10
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

invokeLater said:

O.O I wasn't even born yet.

OT: Seems like I'll go with wx from what you guys are saying.

I always find it entertaining that I'm old enough to be the father of many on this forum.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#11
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
But you're not old enough to be inherently technologically impaired. Think of it that way. :)
sudo rm -rf /

#12
carly

carly

    Learning Programmer

  • Members
  • PipPipPip
  • 34 posts
QT is obsolete
With Win32 api + DX, it's very easy now to make advanced interfaces (skinned, etc...)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users