Qt Crash Course for Beginners - Create C++ GUI Apps

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024

Комментарии • 108

  • @Cpp_Ninja
    @Cpp_Ninja Год назад +42

    PLEASE do more of the Qt videos. Just got into C++ last week and this is awesome. So glad I stumbled into your channel, thanks bromeo

    • @rishi8413
      @rishi8413 5 месяцев назад

      broooo, u r fucked up

  • @user-to7bo1rb3z
    @user-to7bo1rb3z Год назад +6

    Really useful for beginners. I am glad that there are not some trunk in the first video of learning qt. Thank you very much, Sciber.
    I hope you keep it up

    • @wearesciber
      @wearesciber  Год назад +1

      I'm glad it helped. Thank you for the comment

  • @franckmekoulou4314
    @franckmekoulou4314 Год назад +6

    Bonjour, depuis le temps que j'attend une serie de tutoriel dessus, c'est tres excitant. Merci

    • @wearesciber
      @wearesciber  Год назад

      Glad to hear, hopefully we'll continue this as a complete series. 😸 💚

  • @spicygaming9528
    @spicygaming9528 Год назад +3

    Bro you are the best finally someone who elaborates on the stuff that he teachers. Keep it up

  • @humorbender754
    @humorbender754 20 дней назад

    Great video! The example is simple, but complex enough to show how the project is structured and how it generally works. For me the video could have been shorter, because most of the information I found interesting was in the first half of it, but that doesn't change the fact that the explanations were top-notch - clear and informative. Also, on a side note, I have found your voice really calming and therefore nice to listen - that's certainly a great trait to have as an instructor! :D Thanks for the video!

  • @wladfan
    @wladfan 9 месяцев назад +3

    Thanks for the tutorial! This is the first one that I actually got working...

  • @DavisTibbz
    @DavisTibbz 11 месяцев назад +3

    Thanks. Great for beginners. I just wished you used "double" instead of int. But thanks. Please show how to add ICON to application next time

  • @RichardTheHamster
    @RichardTheHamster Год назад +1

    aah, finaly a sinhala dude who teaches c++..

  • @kelvinasante-bekoe4865
    @kelvinasante-bekoe4865 Год назад +3

    I think God should make you his superior Angel, How I wish i could subscribe like 3 Trillion times for you. You make things so so so easy. From now on I am your number 1 fan. I just don't know what to say. I will end here and say a big thank you for your hard work and smart tutorials. Please make more if you can.

  • @K-A-L-I-
    @K-A-L-I- Год назад +2

    we need more QT video please!

  • @LUTHFIZXC
    @LUTHFIZXC Год назад +2

    Glad I'm found this channel

  • @yakubcemil850
    @yakubcemil850 Год назад +2

    Please make more videos about C++ GUI and UI programming

  • @asdasdaa7063
    @asdasdaa7063 Год назад +1

    Perfect short tutorial that gets to the point, thank you bro. Do you have any tutorials on deigns for qt? For example to make the UI look good, add gifs images so on. just styling things, would love a video on that!

    • @wearesciber
      @wearesciber  Год назад +2

      Thanks for the kind words. I am working on a styling video, just thinking about what to include and what not.

  • @JohnSmith-lc1ml
    @JohnSmith-lc1ml 11 дней назад

    How come you didnt have to connect the buttons using connect(ui.btnAdd, &QPushButton::clicked, this, &MainWindow::on_BtnAdd_clicked). I was following along and none of the buttons were working until i added that line

  • @gawrbage
    @gawrbage 10 месяцев назад +1

    Great tutorial! My only problem is that you compiled a debug version of the application and not the release version of the application. This is probably the reason why it is asking for the libgcc DLL files in order to run.

    • @wearesciber
      @wearesciber  10 месяцев назад

      Thank you.
      I'm not sure if that's the case. I am using Qt6 now and it seems there is no error once i run windeployqt6.exe on either the debug or release version of the app. If i run windeployqt.exe on it, i get the error. Perhaps, it was their fault all along.
      Anyways thanks for mentioning this. I really should have exported it in release mode nevertheless.

  • @adityaanand6094
    @adityaanand6094 8 месяцев назад

    Wow best video on qt tutorial i found till now

  • @rickfuzzy
    @rickfuzzy 2 месяца назад +4

    You’re kidding. Are you saying you need to manually copy files and join telegram groups just to be able to export an application. Surely not…

    • @wearesciber
      @wearesciber  2 месяца назад

      I'm sorry, the issue is with Qt itself. It DOES NOT export the app properly. You can find the files needed in the qt directory itself. No need to join the group and download from somewhere you don't trust. You can just look at the file names from my video and find them under the Qt installation directories. I don't know why it doesn't export properly.

    • @rickfuzzy
      @rickfuzzy 2 месяца назад +1

      @@wearesciber Ok, so i did this experiment on my own and none of these steps were required. i simply executed "windeployqt myapp.exe" in my build folder and everything deployed and launched perfectly. All files were incluided.

  • @Seventro7
    @Seventro7 Год назад +1

    Your back! After a long break 🤠

  • @usmanghazi29
    @usmanghazi29 4 месяца назад

    plese make more on qt

  • @sukivirus
    @sukivirus Год назад +1

    I never understood the license structure for open source QT programming so I stopped using QT longtime ago. The library is commercially only viable for big companies. :(

    • @peetcoetzee
      @peetcoetzee 11 месяцев назад

      If you split the UI and the business logic you can provide the UI as free open-source to the customer.
      Your business logic can reside in another (C++ or other) app and the two apps can communicate via IPC or something similar.

  • @Sandhyajamakhandi
    @Sandhyajamakhandi Месяц назад

    Can you share the links to crash course for MFC application of vs

  • @samsam7064
    @samsam7064 7 месяцев назад

    If you add the qt mingw bin to %PATH%, the build .exe can run. No need to copy missing dll.

  • @55BLOCKS
    @55BLOCKS Месяц назад

    First time to hear about Qt I'm flutter dev

  • @schrankwand8020
    @schrankwand8020 2 месяца назад

    Great Tutorial, Thank you

  • @bennguyen1313
    @bennguyen1313 5 месяцев назад

    I have an existing c++ console-application (VS Studio Community) that uses std:thread, to interface to the serial port (1st thread), can-bus (2nd thread), and a (3rd) logger thread that receives data from the other threads and writes to a file.
    Now I'd like to make the application into a GUI..
    Would adding another std:thread for the Qt-Gui be easier, or should the app be written from scratch using Qt's multitasking (i.e. re-write the serial port and can-bus code to use QThread not std:thread)? Is linking to other libraries easy under Qt Creator or would using Qt in Visual Studio be easier?

  • @Rahman_dh
    @Rahman_dh Месяц назад

    I have a problem when creating a new project, it keeps reading it and doesn't show the sources and forms on the projects list. Also main.cpp shows a warning says "this file is not part of project. The code model might have issues parsing this file properly."

    • @foeyloozer6299
      @foeyloozer6299 Месяц назад

      I know this may not be the most appealing solution, but I had the same problem as you. I ended up just creating a Linux virtual machine and installing qt creator on there. Works perfectly.

  • @PainterWoW
    @PainterWoW Год назад +1

    You should not send customers the debug version of your program. Compile a release

    • @wearesciber
      @wearesciber  Год назад

      Right. I forgot. Guess i could say i left that as an exercise for the viewer to figure out 😉😆

  • @eocapone
    @eocapone Год назад +1

    This video helped me a lot, but, when I do the windeploy procedure, and, I added 4 .dll that were missing, the app still don't run and shows the message "The procedure entry point _Z9qt_asserPKcSO_i could not be located at the dynamic link library". Could you please tell me how to fix that problem?

    • @rossmaxx
      @rossmaxx 8 месяцев назад

      I found windeployqt to be buggy.

    • @yukunfang312
      @yukunfang312 8 месяцев назад

      Did you run the 'windeployqt.exe' which is mentioned in the video? There are a lot of files to generate.

  • @pradeepkumarreddykondreddy7048
    @pradeepkumarreddykondreddy7048 Год назад +1

    Qt widgets application vs Qt quick application. When to use which one ?

    • @wearesciber
      @wearesciber  Год назад +1

      Qt offers two main approaches for developing graphical user interfaces (GUIs): Qt Widgets and Qt Quick.
      Qt Widgets is a traditional, object-oriented approach to building GUIs using widgets, such as buttons, labels, and text boxes. It uses the QPainter system to draw graphics and provides a native look and feel across multiple platforms. This approach is best suited for building desktop applications with complex user interfaces that require fine control over the layout and behavior of individual widgets.
      Qt Quick, on the other hand, is a declarative language for building fluid and dynamic GUIs with animations and transitions. It uses QML (Qt Modeling Language) and JavaScript to define user interfaces, and leverages hardware acceleration for graphics rendering. This approach is best suited for building modern, mobile and touch-enabled applications, with fluid animations and UI elements that respond to user interactions.
      When deciding between Qt Widgets and Qt Quick, the choice depends on the type of application being developed and the specific requirements of the project. If the application requires complex user interfaces with a lot of widgets and fine control over the layout and behavior of the individual widgets, then Qt Widgets is the best choice. If the application is focused on a modern, dynamic and fluid UI with animations, then Qt Quick is the better choice.
      It is worth noting that Qt Widgets and Qt Quick are not mutually exclusive, and they can be used together in the same application. For example, an application may use Qt Widgets for its main window and menus, while using Qt Quick for its dynamic, interactive and visually rich content.

    • @Will-jk6nw
      @Will-jk6nw Год назад

      @@wearesciber bro used ChatGPT

    • @luminous_Hits
      @luminous_Hits Год назад

      ​@@Will-jk6nw😂😂😂what a f**k?😅😅

    • @wearesciber
      @wearesciber  Год назад

      Modern problems require modern solutions.
      No but seriously, these types of questions can be answered if they just searched the phrase on Google, when people ask questions like these, I feel like not going the extra mile to answer myself.

    • @Will-jk6nw
      @Will-jk6nw Год назад +1

      @@wearesciber Nah understandable, I just thought it was funny

  • @atNguyen-wu2ul
    @atNguyen-wu2ul Год назад

    Can you make 1 video about the search function in the file. C++ GUI

  • @DungVu-di7dz
    @DungVu-di7dz 10 месяцев назад

    with Qt, I have difficulty adding libraries from outside

  • @DiscordDegeneracy
    @DiscordDegeneracy 10 месяцев назад

    anyone trying to make this themselves and with out the video make sure to make line edit boxes and not plain text edit boxes, or else it will not work.

  • @chessmemes-
    @chessmemes- 11 месяцев назад

    please someone help me at
    3:00
    only the first 2 options are shown (there is no desktop development option) can someone tell me why

    • @wearesciber
      @wearesciber  11 месяцев назад

      Do you have telegram?
      Because someone had the same problem and we solved it. I have the instructions in the telegram group. If you could join the group and see the messages, it would be much easier.
      Anyways, after you select custom installation, click on LTS from the right side and then click filter. Then from the left side you can select Qt and from there you can select the latest Qt version.
      You can go through the check boxes and uncheck things like android to reduce the installation time.

  • @wpideas
    @wpideas Месяц назад

    Great Tutorial

  • @rahmakoshin
    @rahmakoshin Год назад

    i downloaded the missing dll and i still have an issue that pops and i need help solving it as soon as possible please this error in execution file The procedure entry point _Z11gt_assert_XPKcSO_SO_i could not be located in the dynamic link library can you help me

    • @wearesciber
      @wearesciber  Год назад

      Did you ask chatGPT (or bard). This is one of the most useful utilities that people ignore these days.
      To be honest, that error message doesn't look familiar to me at all. I would google it or ask chatGPT or bard. So I feel like if you did it yourself, you might just be able to debug the issue far more effectively and easily.

  • @bethwelkaranja
    @bethwelkaranja Год назад

    The installer you are using does not match the one in the download link you provided. The one on the download link has some "at least one valid and enabled repository is required for this action to succeed"

    • @wearesciber
      @wearesciber  Год назад

      Can you send some screenshots to our telegram group
      sciber.dev/tg

  • @cartoonzer
    @cartoonzer 9 месяцев назад

    Can you import a desgin from qt design studio intto qt creator?

  • @stargaming-h3p
    @stargaming-h3p Месяц назад

    its keeps crashing when i hit install

  • @asdasdaa7063
    @asdasdaa7063 Год назад

    Hey scriber, im wondering bro can you make a video about using qt with rust?

  • @rajithlahiru5580
    @rajithlahiru5580 2 месяца назад

    Kurunegala kollek 😁

  • @usmanghazi29
    @usmanghazi29 4 месяца назад

    stunning

  • @user-ep7to6ob4t
    @user-ep7to6ob4t Год назад

    When I want to create a new project, in the kits section it says "No matching kits found"

    • @wearesciber
      @wearesciber  Год назад

      Are you on Windows

    • @user-ep7to6ob4t
      @user-ep7to6ob4t Год назад

      @@wearesciber yes

    • @wearesciber
      @wearesciber  Год назад

      Did you install the mingw stuff while installing qt

    • @user-ep7to6ob4t
      @user-ep7to6ob4t Год назад

      @@wearesciber I uninstalled it and then reinstalled with MinGW - now it's working, thanks :)

    • @wearesciber
      @wearesciber  Год назад

      Nice, glad to hear. I also once had the issue and that's what I did.
      So I guess the solution is to make sure that we install mingw while installing qt.

  • @Thegoal2.P
    @Thegoal2.P 10 дней назад

    16:27 why are you in incognito?

  • @PaulNOWAK-wc2ui
    @PaulNOWAK-wc2ui Год назад

    Hello ! I'm interested by your tutorial, but I don't find the "Qt 6.4 for desktop development" 'or the updated version) at 3:07 when I try to follow it. Should I install it previously or I don't require it for the tutorial (should I pick custom installation or Qt design studios instead ?) ?
    Thanks for answering fast, please

    • @wearesciber
      @wearesciber  Год назад

      Sorry it seems qt changed the ui a bit.
      Do custom installation
      Then from there you can select the qt version
      If you are facing more problems send screenshots to sciber.dev/tg :)

    • @PaulNOWAK-wc2ui
      @PaulNOWAK-wc2ui Год назад

      @@wearesciber heya, thanks for the answer
      after I select custom installation, I have a list of components I need to install. Should I only instal Qt 6.5.2 extension ? Or I also need another one ? It's because the installation needs from several hours to 2 days to complete.
      Sorry, I can't send you screenshots, I have trouble using your link.

    • @wearesciber
      @wearesciber  Год назад

      Do you have telegram?
      Because someone had the same problem and we solved it. I have the instructions in the telegram group. If you could join the group and see the messages, it would be much easier.
      Anyways, after you select custom installation, click on LTS from the right side and then click filter. Then from the left side you can select Qt and from there you can select the latest Qt version.
      You can go through the check boxes and uncheck things like android to reduce the installation time.

    • @PaulNOWAK-wc2ui
      @PaulNOWAK-wc2ui Год назад +1

      @@wearesciber Heya, I did what you told me and I managed to do the installation of the latest Qt version.
      but when searching for the app, I can't find "Qt creator", but instead I have Qt 6.2.4 which opens on a terminal.
      also, it installed me Qt linguist and Qt designer. do I need Qt creator for this tutorial ?

    • @wearesciber
      @wearesciber  Год назад +2

      Sorry, i will install this on a vm and tell you later. This is just confusing because it seems qt completely changed the installation process. I will let you know

  • @benny-shen
    @benny-shen 6 месяцев назад

    Helpful

  • @dreaddy_bear
    @dreaddy_bear 6 месяцев назад

    "first thing we need to do is change the theme to dark mode"
    based

  • @gokusaiyan1128
    @gokusaiyan1128 4 месяца назад

    do videos with QML , widgets are really not that great anymore

  • @vampshawty
    @vampshawty Год назад

    hey bro great video but its still giving the same error even after downloading the files

    • @wearesciber
      @wearesciber  Год назад

      Which error? :)

    • @vampshawty
      @vampshawty Год назад

      @@wearesciber this application was unable to start correctly 0xc00007b

    • @wearesciber
      @wearesciber  Год назад

      When does that error come up. After installing qt or while installing qt

    • @vampshawty
      @vampshawty Год назад

      @@wearesciber after copying the missing dll files

    • @wearesciber
      @wearesciber  Год назад

      @@vampshawty did you google this

  • @wegogym34
    @wegogym34 11 месяцев назад

    I can't find the telegram group

  • @segsfault
    @segsfault Год назад +1

    qt and gtk are nice, but imgui is banger than them.

    • @wearesciber
      @wearesciber  Год назад +1

      Sure, imgui also offers more control over whats happening thanks to immediate mode, but also, Qt makes it really easy to design and develop applications with Qt Design Studio. So, need to choose what's best for our specific application.

    • @segsfault
      @segsfault Год назад

      @@wearesciber tbh at this point idc if it's qt, gtk, winforms or imgui, i just don't want a app in electron.
      like even after having such nice frameworks they use electron just because their webdev team can handle it ig.

    • @wearesciber
      @wearesciber  Год назад +1

      @@segsfault this is so true. Just make an app in C# with Avalonia. Everything is just an electron app nowadays.

    • @segsfault
      @segsfault Год назад +1

      @@wearesciber true

  • @grenade0522
    @grenade0522 Год назад

    The download speed is atrocious dude I have gigabit ethernet and it's downloading at 100 KB/s 💀💀💀💀

  • @chamodihasuni2345
    @chamodihasuni2345 Год назад

    😍

  • @lakmithanadun1853
    @lakmithanadun1853 3 месяца назад

    Recognize that accent... Are you Sri Lankan?

  • @BillyPenny-t2r
    @BillyPenny-t2r 2 дня назад

    Jackson Deborah Rodriguez Nancy Young Carol