BEST GUI TOOLKITS for C++ | Sciber

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ค. 2024
  • Although C++ is the best programming language in the world, it still has its cons. Building a GUI app has never been easier in C++, you either have to use the Win32 API or use some sort of Toolkit/Framework to adopt GUI components without writing them yourself.
    In this video, we will go through 5 of the most popular GUI frameworks for C++ and some other options you can consider when building a GUI for your C++ app. We will talk about the Pros and Cons of each toolkit/framework and I will provide a straightforward guide so that you can choose which framework to choose for your next C++ project.
    This video is primarily focused on beginners, however, anyone can gain something out of it.
    I also have tutorials on one of the frameworks mentioned in the video: WinForms - a popular GUI framework for C++ for building Windows Apps using the .NET Framework.
    Here is the link for a full playlist on building Modern Looking GUI apps using C++ and WinForms:
    • C++ GUI: Install C++ C...
    Timestamps
    0:00 Introduction
    01:23 WinForms (.NET Framework)
    04:38 QT Framework
    07:18 wxWidgets
    08:31 UWP with C++/CX or C++/WinRT
    10:25 Embarcedero's C++ Builder - RAD Studio
    11:14 Other Frameworks Concluded...
    11:30 Dear ImGUI, SFML & SDL
    12:12 WebView Frameworks
    13:23 My Recommendations
    14:48 Pure Genius Wisdom
    15:28 Thank you for Watching
    15:52 End Screens :)
    To Get started with WinForms, watch this: • C++ GUI: Install C++ C...
    Download Visual Studio 2019 Community: visualstudio.microsoft.com/th...
    Download QT: www.qt.io/
    Download wxWidgets: www.wxwidgets.org/
    For UWP you need Visual Studio with UWP Workloads: visualstudio.microsoft.com/th...
    (Tutorial will be linked when gets published)
    C++ Builder Rad Studio: www.embarcadero.com/products/...
    Also, Here's why you shouldn't choose C++ for GUI as the first choice: • DON'T LEARN C++ GUI UN...
    All links above are official links from the official websites.
    BUT PLEASE DON'T CLICK THIS: bit.ly/youtubesubbotislegit
    Leave any kind of Constructive Criticism, suggestions, and ideas in the comments section below!
    Facebook: (PAGE) sciber.web.app/fb
    (GROUP) / programmingsrilanka
    Instagram: sciber.web.app/ig
    Telegram Community: t.me/wearesciber
    Visit Us : sciber.web.app
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 120

  • @christianm4906
    @christianm4906 3 หลายเดือนก่อน +5

    Qt open source can be used in proprietary software without needing to release the source code, as long as you comply with the LGPLv3 licence. This compliance includes obligations such as dynamic linking and allowing users the ability to replace the Qt libraries. All you need to ensure is that you only use Qt modules licensed under LGPLv3. These modules are typically sufficient to cover almost all applications. However, by purchasing a Qt licence, you gain additional benefits, such as support and access to all modules without the constraints of LGPLv3 obligations.

  • @FPChris
    @FPChris 2 ปีที่แล้ว +34

    I can’t believe in 2022 the GUI options are as bad as they are. I mean should be as foundational as printf.

    • @atlantic_love
      @atlantic_love ปีที่แล้ว +4

      The options available to the public. C++ dev's tend to be guarded about not letting their work get out.

    • @mickeywebb6850
      @mickeywebb6850 ปีที่แล้ว

      @@atlantic_love what??

  • @AshTeaches
    @AshTeaches ปีที่แล้ว +1

    I gotta say, I was looking through various tutorials and I like yours the most. Your humor is great and you explained things in a helpful way, thank you!

  • @Error-40004
    @Error-40004 2 ปีที่แล้ว +1

    Thanks man, I'm coding since 4 months in Accenture but they always want only codes so I'm bored. Now i can start this gui framework!

  • @mahamadkher7897
    @mahamadkher7897 2 ปีที่แล้ว +5

    thank you Sciber You're the best TH-camr for programming c++ , Thank you very much

  • @VishalSingh-ls4re
    @VishalSingh-ls4re 2 ปีที่แล้ว +1

    "Excellent explanation, all doubts are clear now.
    Keep it up."

  • @kawwedha4006
    @kawwedha4006 2 ปีที่แล้ว +3

    I like the simplicity in this video, from explanation, the chilling voice, the illustrations used.... I just like it

  • @arkan7rb
    @arkan7rb 2 หลายเดือนก่อน

    really man i dont know how to thank you
    wonderful video really, going to search your channel for everything i really hope i would find about qt more there also the visual studio configuration for c++ i heard you saying u had made one, hope its updated ^_^
    greetings from Yemen

  • @vladimirkraus1438
    @vladimirkraus1438 ปีที่แล้ว +6

    You made completely wrong comment about Qt. Qt is free also for commercial development. As long as you comply with LGPL license, which is usually very easy.

    • @DungVu-di7dz
      @DungVu-di7dz 2 หลายเดือนก่อน

      You should read carefully about Qt license, it is almost not free for individuals or small groups like Microsoft. I sure not free

  • @jurgenblick5491
    @jurgenblick5491 23 วันที่ผ่านมา +1

    When you push Qt it most of the times has problems cmakelist when loaded again. Countless I was starting thinking this Qt and when reload your project it has problems. Still trying to solve that

  • @kirankokiwala4080
    @kirankokiwala4080 2 ปีที่แล้ว +5

    The content covers almost all major GUI but I believe that it would be good if you could mention GTKmm which is c++ port of GTK GUI.

  • @aswajiths352
    @aswajiths352 ปีที่แล้ว

    Don't worry bro myself always support you and post a lot of videos based on c++ and ui bro 😉

  • @hpeterh
    @hpeterh 2 ปีที่แล้ว +17

    It is to mention for C++ Builder, it only supports Android 32 Bit besides Windows. Linux Support is only available in the extremely expensive Architekt and Enterprise Versions, and so far I know, only for Delphi and not for C++. The community version does not support Linux neither for Delphi nor for C++.

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +3

      Wow good to know, so it basically is unusable for a beginner for cross platform development 😂

  • @ShanGao-mk9zh
    @ShanGao-mk9zh ปีที่แล้ว

    Great video from pratice by you , Thanks

  • @nacxxj7184
    @nacxxj7184 2 ปีที่แล้ว +3

    Hey bro, I am very happy and fortunate to find your great channel. I am not like others just fall into learning html, css and js to make web apps. I love web apps but find it quite hard for me. But enjoyed c++, c# and just doing competitive programming. My question aries, is it possible to be a GUI developer only? Is there any scope to be one? And can u also plz add up some about backend for gui development? I deprecated frontend totally, dont wanna go on that again, so I want some career tips as well bro🙏🙏🙏

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +3

      Hi, thanks for the great compliments😊. But, I couldn't follow your question. Usually GUI is the frontend so you ditched frontend and then you want to become a GUI developer? Also what do you mean by backend for GUI, you mean like making GUI systems for backend? I'm really sorry, could you please rephrase the questions.

    • @nacxxj7184
      @nacxxj7184 2 ปีที่แล้ว

      @@wearesciber I Don't like frontend part of the web like centering div in css. But enjoyed GUI development is there any scope to be a gui developer?

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +1

      Oh you mean like a UI/UX designer. Like not actually coding but more like designing using photoshop or XD or something? Well that is actually a great field and UI is everything these days. So sure there is a huge potential in that field.

  • @Thewe34
    @Thewe34 5 หลายเดือนก่อน

    Thank you this helpful information

  • @dev_ression
    @dev_ression 2 ปีที่แล้ว +5

    Awesome video man, this is the clearest video I've watched on this topic!

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +1

      Thank you 😊

    • @minute-ai
      @minute-ai 2 ปีที่แล้ว +2

      Hello what a coincidence

  • @rretro2042
    @rretro2042 5 หลายเดือนก่อน

    There is also sciter that uses c in the backend but gui is developed using web technologies(html, css, js). It produces much lighter and faster apps compared to similar desktop frameworks that use web components like electron

  • @pleinair6318
    @pleinair6318 ปีที่แล้ว

    You can make commercial apps with Qt if you use it under LGPLv3

  • @jackzugna5830
    @jackzugna5830 8 หลายเดือนก่อน +2

    I think Qt is the best choice, it is used everywhere and GUI written in QML is easily to export on other languages like Python and web assembly.
    Qt's versatility is amazing.
    Ps. Qt also works on microcontrollers. 🤯

    • @parko1965
      @parko1965 7 หลายเดือนก่อน +2

      I've got a UWP app running on an ARM based board.

    • @TheSlofish
      @TheSlofish 3 หลายเดือนก่อน +2

      @@parko1965 Ok but how is your mental health afterwards

  • @javierchavez7151
    @javierchavez7151 7 หลายเดือนก่อน

    Perhaps it too late to comment.. but.. What About FLTK? and V (Libraries made by Bruce Wampler)? They are also cross platform.

  • @goodwithnowings
    @goodwithnowings 2 ปีที่แล้ว

    actually i am afraid to choose the rt one, but when i watched your tutorial felt somewhat easy but still not sure about the file handlings and datastructures as i am used with only cpp/cli.

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +1

      There is something I couldn't include in this video and I made a video about it. It's C++/WinRT with WinUI3 check it out th-cam.com/video/E860EbdZHbI/w-d-xo.html
      Also, there are plenty of other frameworks as well. I have plans to do videos on every one I can. But might take some time because I'm stuck with exams.
      For now, check out WinUI3 and WinForms and Qt

    • @goodwithnowings
      @goodwithnowings 2 ปีที่แล้ว

      @@wearesciber yeah sure👍

  • @markbennett1237
    @markbennett1237 ปีที่แล้ว +1

    GTKmm?

  • @gaurav.69420
    @gaurav.69420 2 ปีที่แล้ว +2

    Hey, you should make a video on how to connect your c++ app with php & my sql and work with that

  • @Developer_Rohit_Choudhary
    @Developer_Rohit_Choudhary หลายเดือนก่อน

    hello sir, which editing software are you using? please reply??????

    • @wearesciber
      @wearesciber  หลายเดือนก่อน

      I used after effects and premiere pro for this one.

  • @elnurbadalov3621
    @elnurbadalov3621 ปีที่แล้ว

    that is awesome video!

  • @DungVu-di7dz
    @DungVu-di7dz 2 หลายเดือนก่อน

    - Qt: when Qt updated to version 5.57 they changed the content of their license, individual developers and small teams can no longer sell their products in binary form, so Qt is not an option
    - wxwidget: currently it is free, and I don't know when it will change its license content like Qt above
    - So now we have MFC, it's not cross-platform but it's still good and stable, it's free for individual developers and small teams

  • @jenilpatel6706
    @jenilpatel6706 หลายเดือนก่อน

    Very much thank you for creating this video 😭😭😭😭

  • @mohammedkamalalsyd9115
    @mohammedkamalalsyd9115 2 ปีที่แล้ว +3

    what about tutorial to build win32 from zero using vs?

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +3

      It is possible, but the time and effort is not worth it, you should not reinvent the wheel right? :)

  • @Richardo2928
    @Richardo2928 7 หลายเดือนก่อน

    I'm learning raygui from raylib and I'm finding it very fun and useful (for university purposes).

    • @wearesciber
      @wearesciber  7 หลายเดือนก่อน +1

      Thats really interesting, how customizable is the UI?

    • @Richardo2928
      @Richardo2928 7 หลายเดือนก่อน +1

      @@wearesciber is quite customizable, as you can change the style, size, color, font, and icons of the various controls. You can also create your own custom controls using the raygui API. It's not industry standard but I like its simplicity

    • @wearesciber
      @wearesciber  7 หลายเดือนก่อน +1

      That's nice to hear, I also wanted to try a good simple immediate mode gui. Thanks for recommending.

    • @Richardo2928
      @Richardo2928 7 หลายเดือนก่อน

      @@wearesciber Just one piece of advice, it's somewhat challenging to learn how to use it as a beginner (very likely you are not), since there are no tutorials anywhere. But truth be told, once you grasp the concepts, it's simpler than some frameworks like Qt. That's when you start to have fun and unleash your creativity.

    • @wearesciber
      @wearesciber  7 หลายเดือนก่อน +1

      Thank you. Sounds like a fun ride 😸♥️

  • @Pendagram
    @Pendagram 8 หลายเดือนก่อน

    C# Dot Net framework. I know lots of Markup languages and SQL MondoGB and I kill 2 birds with one stone as far as syntax synonymous with C# like Java and C++. Honors C# is great to know and master wish you all the best.

  • @TheOPtmal
    @TheOPtmal ปีที่แล้ว +2

    Where the hell is gtkmm?

  • @syoutubecreator
    @syoutubecreator 11 หลายเดือนก่อน

    can in make windows app using macos or UNIX system??

    • @wearesciber
      @wearesciber  11 หลายเดือนก่อน

      Yes look up cross compilation

    • @syoutubecreator
      @syoutubecreator 11 หลายเดือนก่อน

      @@wearesciber Can you suggest me the best application

  • @wearesciber
    @wearesciber  2 ปีที่แล้ว +2

    Hi Guys, I recently made a channel for giving away design and video editing intel targeting primarily other content creators (you may remember me posting a poll on this). Please check it out. The Content right now is for the local Sinhala Audience, but as the channel grows, I'll decide whether to make English Videos as well.
    Kraftsmanship: th-cam.com/channels/Nu0YSuyVAZI5miwXrnNmiQ.html

  • @fredericarmoni8555
    @fredericarmoni8555 2 ปีที่แล้ว +3

    what about MFCs?

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว

      its fine but majority do not recommend it to beginners because of a lot of reasons. since the video is focused on beginners, it seemed suitable to include only the ones that are worth learning and that are easy to get started. MFC has come to the point where it's worth learning if you are going to maintain some old codebase, in the future its more likely you would choose something from this list.

  • @leonielnacman1443
    @leonielnacman1443 2 ปีที่แล้ว

    On 5:20 , what software is it?

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +1

      Qt Designer/Creator
      I think it comes with the QT IDE. :)

    • @leonielnacman1443
      @leonielnacman1443 2 ปีที่แล้ว

      @@wearesciber oh, thank you.

  • @jurgenblick5491
    @jurgenblick5491 23 วันที่ผ่านมา

    C++Builder always gets results

  • @Alan_the_Red
    @Alan_the_Red 2 ปีที่แล้ว +1

    Wow what a cool channel!

  • @SENESH_lk
    @SENESH_lk 2 ปีที่แล้ว +1

    අයියේ ඔයා අර c++ basic කියල video ටිකක් දාල තියෙන්නේ එන යොදාගෙන ගෙම් එකක් හදන්න බැරිද

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +1

      එ ටිකෙන් නම් බැ. ඒකට frameworks එහෙම ඕනෙ nattan ගොඩක් අමාරුයි... :)

    • @SENESH_lk
      @SENESH_lk 2 ปีที่แล้ว +1

      @@wearesciber හා අයියේ 😍😍😍❤තැන්කිවු අැ අපිට මේ දෙවල් කියල දෙනවට

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว +1

      😁♥️

  • @zawarudo1818
    @zawarudo1818 2 ปีที่แล้ว

    PLEASE TUTORIAL FOR CUSTOM USER CONTROLS IN C++ WINFORMS

  • @jurgenblick5491
    @jurgenblick5491 23 วันที่ผ่านมา

    WinForms starts out great and something happens with some exceptions being thrown

  • @janindunimsara644
    @janindunimsara644 2 ปีที่แล้ว

    C# run කරන්න .net framework එක ඕනෙමද bro

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว

      Yes

    • @janindunimsara644
      @janindunimsara644 2 ปีที่แล้ว

      @@wearesciber e kiyanne samanyen programming language ekakay framework ekaky syntax chuttak wenas ne ee wage .net waladi syntax wenas wenawada

    • @wearesciber
      @wearesciber  2 ปีที่แล้ว

      .net framework kiyanne set of libraries apis wage. Eke thama c# api igena ganna dewal wala implementation thiyenne. Saha .net walin thama ekata adala compiler eka labadenneth. C# language eke godak ma basic awasthawedith api use karanne .net eken kali aran...

  • @yash1152
    @yash1152 2 ปีที่แล้ว +1

    my picks will be 4:38 and 7:18 QT & wxWidgets

    • @FPChris
      @FPChris 2 ปีที่แล้ว

      I will NEVER try Qt again. Neeeeever.

    • @yash1152
      @yash1152 2 ปีที่แล้ว +1

      > _"I will NEVER try Qt again. Neeeeever."_
      @@FPChris reasons?

    • @hyblidblackbox8847
      @hyblidblackbox8847 2 ปีที่แล้ว

      @@yash1152 because Qt keep changing without notice(drop classes) and Qt uses not standard libs and not support Boost too.

    • @yash1152
      @yash1152 2 ปีที่แล้ว

      @@hyblidblackbox8847 oh ohkayh. I was soo hopefully looking towards learning Qt. But thanks for eye openers.
      So, any recommended alternates?

    • @hyblidblackbox8847
      @hyblidblackbox8847 2 ปีที่แล้ว

      @@yash1152 I stuck same here... I tried to do so many things. i think "ImGui" and "OpenGl" is best choice but hard to learn.

  • @marclebrun
    @marclebrun 3 หลายเดือนก่อน

    This loop background music made me loose my mind ! 😆

  • @mengenaltuhan1805
    @mengenaltuhan1805 ปีที่แล้ว +1

    Gtk+

  • @45dipen
    @45dipen ปีที่แล้ว

    Microsoft deprecated the Universal Windows Platform (UWP)

  • @Seventro7
    @Seventro7 2 ปีที่แล้ว +1

    😃😃😃

  • @sca255_loves_PCs
    @sca255_loves_PCs 3 หลายเดือนก่อน +1

    qt is not pronounced "cutee" but "cute"

  • @Ali-Britco
    @Ali-Britco ปีที่แล้ว

    Is... Is that a Sri Lankan accent I hear??

    • @wearesciber
      @wearesciber  ปีที่แล้ว +1

      Haha lol, I don't know if that exists, but yeah I'm from Sri Lanka 👏

    • @Ali-Britco
      @Ali-Britco ปีที่แล้ว +1

      @@wearesciber machaa! But seriously, I know what Indian accents are like...and we don't have it but more importantly....it was the humour ! That's spot on SL stuff, the only thing missing was a few sprinkles of aggressive "otherwise" thrown in to make it confirmed SL made 😛! Loved the video, keep making them!

    • @wearesciber
      @wearesciber  ปีที่แล้ว +1

      🤣 will do ❤️

    • @wearesciber
      @wearesciber  ปีที่แล้ว +1

      Watching this video now makes me cringe 😂

  • @DavisTibbz
    @DavisTibbz 6 หลายเดือนก่อน

    You forgot MAUI from Microsoft.

  • @zyx321123xyz
    @zyx321123xyz ปีที่แล้ว +4

    MFC is the Best and For Ever!!!

    • @rv4tyler
      @rv4tyler 8 หลายเดือนก่อน

      I have not had the need for the Doc/View architecture, but MFC is pretty clean when starting with CWnd for your mainwnd. (VS 2022)

  • @ahmadbodayr7203
    @ahmadbodayr7203 ปีที่แล้ว

    The music is louder than you

  • @moarx25
    @moarx25 ปีที่แล้ว

    Oh wow fellow Sri Lankan??

  • @chudchadanstud
    @chudchadanstud 9 หลายเดือนก่อน

    You have to pay for visual studio so most of these are a no starter. No. The community edition doesn't count, being at the mercy of Microsoft is simply borrowed time not freedom.

    • @wearesciber
      @wearesciber  9 หลายเดือนก่อน +1

      Ok

    • @chudchadanstud
      @chudchadanstud 9 หลายเดือนก่อน

      @@wearesciber yup

    • @wearesciber
      @wearesciber  9 หลายเดือนก่อน

      Care to explain what other options are available for beginners then?

    • @chudchadanstud
      @chudchadanstud 9 หลายเดือนก่อน

      @@wearesciber Most of the WinX stuff that relies heavily on msvc which requires you to fork cash for visual studio. The community edition of Visual Studio is pretty much a trap, it makes you dependant on Microsoft's tooling for C++ development which is never a good idea as you will go cross platform one day.
      You can do Win32 on gcc pretty easily but that is one painful framework. The other win frameworks are pretty much a deal breaker as they rely heavily on Visual Studio.
      Qt is pretty much the only friendly framework you have here that is good for beginners. You don't have to fork out a month fee to some corporation to get it to work on a project you are passionate about.

    • @chudchadanstud
      @chudchadanstud 9 หลายเดือนก่อน

      @@wearesciber It would be nice if there was a framework like the web stuff but on one language. I'm talking about having the css (styling), the js(event handling) and html(compositions) all in c++. Styling, Events and Composition is simply what GUIs boil down too but there is no framework that can do that in an elegant way like the web stuff.

  • @atlantic_love
    @atlantic_love ปีที่แล้ว

    You can get the same information by googling for C++ gui toolkits, lol.

  • @DungVu-di7dz
    @DungVu-di7dz 2 หลายเดือนก่อน

    Qt not free, 3k usd/year. Bye bye Qt