Like Tree1Likes

GUI programming

This is a discussion on GUI programming within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by m37h0d Qt was LGPL when i used it 2 years ago last time I looked at it, ...

  1. #16
    Registered User
    Join Date
    Oct 2006
    Posts
    2,145
    Quote Originally Posted by m37h0d View Post
    Qt was LGPL when i used it 2 years ago
    last time I looked at it, they used the dual (open/commercial) licensing model. it appears that now they are exclusively LGPL, which is a VERY good thing indeed.

  2. #17
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    839
    yes - they'd just made the move then; in fact, we were all set to use wxwidgets, and then someone stumbled upon that and that plan was promptly thrown to the wind.

  3. #18
    Registered User
    Join Date
    Mar 2010
    Posts
    531
    If you've no objection to Microsoft and are on Windows, I'd recommend .NET (Windows Forms). I've only done hobby-projects in it, but it's really easy to get started with and get something working.

    Qt I used for a work project, but it was 5 years ago, I've no idea how much its changed.

    As a complete GUI amateur: I found Qt slightly harder to get started with, but once I got going it was fine. .NET was easy to get started with but somehow felt more "quirky". Less coherent.

  4. #19
    Registered User
    Join Date
    May 2009
    Posts
    2,372
    Quote Originally Posted by manasij7479 View Post
    If you are well versed in both, do you think it would be a good idea to move to wxWidgets from Qt ?
    I am only moderately verse about wxWidgets; know next to nothing about Qt; but, the past semester C++ instructor knew both and he like Qt because it did things in a more C++ style. I am average C programmer and a beginning C++ programer.

    The instructor had moved to making all his C++ GUI using Qt; partly because it recently went open source.
    Before that he was using wxWidgets in his C++ GUI projects. His GUI projects had to be multi-platform.

    Tim S.
    Last edited by stahta01; 07-08-2011 at 02:06 PM.

  5. #20
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,490
    Quote Originally Posted by stahta01 View Post
    I am only moderately verse about wxWidgets; know next to nothing about Qt; but, the past semester C++ instructor knew both and he like Qt because it did things in a more C++ style. I am average C programmer and a beginning C++ programer.

    The instructor had moved to making all his C++ GUI using Qt; partly because it recently went open source.
    Before that he was using wxWidgets in his C++ GUI projects. His GUI projects had to be multi-platform.

    Tim S.
    Then I'm staying...and improving my Qt bank...
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  6. #21
    Registered User
    Join Date
    Oct 2006
    Posts
    2,145
    the main reason why wxWidgets does some things the way it does, is because some of the C++ features that we have grown accustomed to now (templates, exceptions, etc.) didn't exist when the wxWidgets project was begun. we're talking about pre-standard C++. they don't like to break backward-compatibility, so many of the new features didn't get used in newer versions.
    stahta01 likes this.

  7. #22
    Registered User
    Join Date
    Jul 2011
    Location
    Ottawa, Canada
    Posts
    1
    I was thinking about this myself and I read a bunch of QT vs wxWidgets (and others) pages. What I took away from it, is that QT is the more robust, modern choice and now that it is LGPL (as are other free GUI libs), it definitely leads the pack.

    While it is LGPL, I don't think QT have a static linking exception, so dynamic link and your are fine. This is really more of an uncertainty in the license and it seems rather arbitrary that anyone would bring out lawyers over static vs dynamic linking. I believe wxWidgets does have an exception to their LGPL, to specifically allow static linking, if that is a huge deal.

    What I actually ended up installing on my machine was FLTK, because I really wanted something lightweight to goof around with. I have ZERO aspirations to write commercial applications, so I am not worried about have super polished look/feel. For my personal project, I prefer something that will produce smaller executables (I just don't like bloat). I haven't done anything with it yet other than "hello world".

  8. #23
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,490
    bunch of QT vs wxWidgets (and others) pages
    Beware of the fact that flame-wars often contain exaggerated information.

    What I actually ended up installing on my machine was FLTK, because I really wanted something lightweight to goof around with.
    I may actually do so, to have some fun with clothes on too.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  9. #24
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,180
    Did anyone mention you will have a huge advantage if/when you are going to write mobile applications if you go the Qt route?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  10. #25
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,490
    Quote Originally Posted by Elysia View Post
    Did anyone mention you will have a huge advantage if/when you are going to write mobile applications if you go the Qt route?
    I read somewhere that maemo could be abandoned soon.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  11. #26
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,180
    Qt doesn't run on only Maemo.
    It runs on Windows, Linux, Mac, Symbian, Meego, Android. Although Android might be a bit of a stretch since it isn't official.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  12. #27
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,490
    Is there anything else(no java please) that is supported by so many mobile platforms ?
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  13. #28
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,180
    There was one thing... MoSync. I haven't really explored it, however. It uses C++, albeit it seemingly "lacks" the C++ standard libraries (see their forums for more info on that topic).
    Other than that, I don't know.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. About Device Driver Programming And Socket Programming
    By pritesh in forum Linux Programming
    Replies: 6
    Last Post: 01-23-2010, 02:46 AM
  2. Replies: 1
    Last Post: 08-19-2007, 03:55 AM
  3. small programming job VCPP / Object Oriented Programming
    By calgonite in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 01-04-2006, 10:48 PM
  4. Total newb to programming here... Question about the many programming languages. Ty!
    By tsubotakid1 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-05-2003, 10:32 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21