Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i code with C++
i want to know which is the best for GUI Desktop application : Qt or Visual Studio?

What I have tried:

i code with C/C++ and for web Python(Django)
i tried at school C#
Posted
Updated 1-Jan-17 7:02am
Comments
Richard MacCutchan 1-Jan-17 2:49am    
Visual Studio is an IDE, it has nothing to do with your question.
Philippe Mori 1-Jan-17 19:34pm    
For Windows applications, you should probably prefer either WPF or UWP using C#. And even WinForms would still be preferable than MFC/C++. If you use an old technology, your apps might look old fashion...

There is no "best". It's a matter of preference. Try them both out and make your own decision.
 
Share this answer
 
Well you have to decide it on your own, I'll explain the advantages and dis-advantages

Qt :

Advantages:
1. Qt has its own designer and designing a good GUI with the GUI designer available with Qt designer is fairly simple with the help of spacers, buttons, html editor etc.,
2. It is a complete framework you can do almost anything, designing a Good GUI, using Bluetooth, Display images within a few lines of code.
3. Cross platformed runs on Windows,Linux,Mac,Android,etc.,

Dis-advantages:

1. Dual-Licensing mechanism one for commercial and another in open sourced.
Commercial is costlier(see their pricing) and ope-source licensing itself has certain limitations (refer more on LGPL)
2. Will be like re-inventing the wheel it has its own stuffs like QString for string and QMap for maps in C++ so you need to learn once more for Qt.(seems to be like autoboxing and unbooxing in Java) but I am only little much experienced with with Qt
3. Installing is tedious task, the executable is huge size and it takes time and there are seperate configurations for each compilers like MinGW, msvc(Microsoft). You can also port it on Visual Studio using a plugin avaiable in Visual Studio Gallery.

MFC and win32 API:
1. Windows API will be helpful to understand the internal working of windows but it is platform specific and Win32 API is quiet difficult, it will not be worthier if you primarily concern these things Good GUI, platform independent etc., But learning Win32 API will help you in some ways if you are a windows programmer. Charles Petzolds Programming With windows 5th edition will be the best way to learn windows programming with C. I have purchased this book and found useful, I may share this e-book and source codes (on Google drive -secure) if you wish. I personally have no experience on MFC so kindly refer internet

on the other hand you may have a look at WxWidgets, I am using it and you may also like it,

1. It is cross platform
2. Open-Source - It is also licensed under Library General Public License but I think it allows statistical linking of library without linking the object files but I am not sure have a look at their licensing mechanism.
3. CodeBlocks has GUI designer unfortunately VS has got no good GUI designer but DialogBlocks and wxForm Builder (both are separate software needed to be downloaded on the internet) can be used for designing Good GUI.
4. Documentation is quiet difficult to pick up initially but like this site (CodeProject) there is an official forum for wxWidgets you may ask your own questions and will get answer sooner(I've tried)
5. It has for may languages like wxWidgets for Python so learning how to use this library will help you greatly to design Good Gui in various languages.

These are only few you may find various GUI libraries available in the internet
Note:
I am not recommending any library, find a library which suites for your purpouse
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900