Qt Widgets or QML ?

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Should you use Qt Widgets or Qt Quick/QML for your next Qt project ?
    ------------------------------------------
    Get Our Full Courses on Qt,C++, QML and more (Dicounted) :
    Qt C++ GUI Development for Beginners : bit.ly/2QosgO8
    Qt C++ GUI Development - Intermediate : bit.ly/2MXv8Qd
    Qt Quick and QML For Beginners : bit.ly/2uix5Qx
    Qt Quick and QML Intermediate : bit.ly/2MYGIu6
    Qt Quick and QML Advanced : bit.ly/2QOkjRj
    Multithreading and IPC with Qt C++ : bit.ly/36olQV2
    -----------Follow Us----------
    Website - learnqt.guide
    Twitter - / learnqtguide
    Facebook - / learnqtguide
    LearnQt Facebook Group : / 362894480947602

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

  • @LearnQtGuide
    @LearnQtGuide  3 ปีที่แล้ว

    Discounted courses on C++ 20,Qt,QML and more : www.learnqt.guide/udemy-discounted-9/

  • @florinflorin249
    @florinflorin249 3 ปีที่แล้ว +38

    video starts at @5:57

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

      Thank you!

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

    The real question is: why should I use an off-brand framework for mobile development while both ios and android come with full native IDEs ? For iOS, xCode leaves a lot to be desired but swift itself performs very well, is based on C and it's very modern. I think Qt for mobile development is not worth of consideration. For desktop development, it is the best.

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

    QtQuick/QML is far from being production ready on desktop, even in 2020. It is slow, bloated, memory hungry, ugly... So if you develop for desktop, always choose QtWidgets.

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

      Yes, this game they are playing with QtSlow/QML is harmful and is likely to backfire by slowly killing off all commercial usage of Qt.
      QtWidgets is the *main* reason everyone uses Qt.

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

    I plan to create software for programming robot. I think Qt 3D is really useful. I request a Qt 3D course on your Udemy. 😃

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

      Thanks for the suggestion. I have that on my plans, may sometime later this year.

  • @mr.shredder5430
    @mr.shredder5430 3 หลายเดือนก่อน

    Hi Daniel,,,love your udemy courses on QML, im planning to build an audio application that has musical notation functionality that prints edits word etc.... will QML and JUCE audio framework run fast on smart phones??

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

    Is QML just a wrapper of JavaScript?. It feels a bit that way

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

    thank you so much,help me a lot to know about qt and how to learn qt !

  • @basaltnow
    @basaltnow 3 ปีที่แล้ว

    brilliant video, I am comming from the Qt 1 widgets side and I was wonderibg, offf what? why using QML if I use C and C++, I orototype my scientufic software in Scilab, once it is dobecI mive the design to Qt widgets. I niw ubdersrand what qt quick and qml is ment to be used for, stellar. It gelos ne a lot, thank you.
    Please make a video about posix threads and qt but also qt tgreads and whats all about.

  • @hammadtariq9324
    @hammadtariq9324 3 ปีที่แล้ว

    How can I develop a Qt widgets app to work perfectly with different screen resolution smoothly??

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

    Okay but what is QML

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

    Can I please do normal things with Qt, or crazy things only?🙂

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

    why does qt widgets seem faster?

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

    Is there free tutorial available?

  • @YaFunklord
    @YaFunklord 3 ปีที่แล้ว +8

    Qt Widgets is the main reason why everyone uses Qt.
    QtSlow/QML only exist to move developers away from free software by locking them into proprietary parts of the library, to force use of scripting languages and low performance onto new developers and therefore force a shift away from everything that originally made Qt popular to an incomplete buggy mess that already makes web/app-development a living hell.

    • @alexjoel1602
      @alexjoel1602 3 ปีที่แล้ว

      How to make Qt Widgets use GPU?

    • @YaFunklord
      @YaFunklord 3 ปีที่แล้ว

      @@alexjoel1602 QOpenGLWidget-based widgets use hardware acceleration.

    • @alexjoel1602
      @alexjoel1602 3 ปีที่แล้ว

      @@YaFunklord What if I need to use Vulkan or OpenGL depending on hardware?

    • @YaFunklord
      @YaFunklord 3 ปีที่แล้ว

      @@alexjoel1602 QVulcanWindow?

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

    This is pretty cool

  • @eduardofmoura
    @eduardofmoura 3 ปีที่แล้ว

    Hi, I`m beginner user of Qt. I would like to know if you have an course for me or what do you recommend.
    I have made some codes and trying to make some steps forward. I will develop to Raspberry in Mac with virtual ubuntu.
    I saw almost all videos on TH-cam of how to set cross compile, but these was just about the steps to make links in libraries, I would like to really understand of how it works, like what libraries is necessary, where they are, what is the correct way to link that, how simulate the raspberry in Qt when debugging, etc.
    Thank you

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

    Can any tell me in which qt or qml radar position plan indicator can be make

  • @AlexSmith-fs6ro
    @AlexSmith-fs6ro 4 ปีที่แล้ว

    Not open source though.

  • @harishprabhakar5842
    @harishprabhakar5842 4 ปีที่แล้ว

    Can someone tell me if it's possible to make a widget in QML and then importing it into my .ui project? struggling rn

  • @frodobaggins3974
    @frodobaggins3974 3 ปีที่แล้ว +5

    Widgets is pure C++ with added Qt classes and types. It provides all C++ functionality, speed, and... problems. C++ is not an easy language - passing arguments by reference is not something high-level programmers (Python, C#, Java, Jula, Ruby, etc...) are very familiar with - in fact most coders walk away from C/C++ because code development in C is slow and its easy to make mistakes. This is the 'proper' Qt. QuickQt is QML - it streamlines a lot, while also making it very difficult to make mistakes. Unless you code a performance-demanding game, where the raw power of C shines, go for QtQuick. It's like comparing C++ with C# - they are distant relatives, you can recognise some similarities, but the way it works - is very different. Considering that the performance of contemporary processors and GPUs is very good, there arguments for Widgets/C++ will eventually run dry. If you're young, getting into coding - learn QML - that's the future. By the time C++ dinosaurs die out, no one will write soft in C++ anymore. Abstraction is the future.

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

      Arguments for the lazy and unable to take the easy road. You clearly don't know what you're talking about, C++ is not gonna be dying out, nor C. Have you ever heard of Wirth's Law? Software is getting slower more rapidly than hardware is becoming faster. We are reaching the point where transistors cannot get any smaller before they lose their functionality, they're predicting they'll reach 3nm by 2025 and that's it. That means no squeezing more transistors into small chips. That's the nature of the improvement of the processing powers of the CPU, more transistors squeezed into the chip. If anything the demands is going to be on the software developers to write optimal code, not code which is easier to write.

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

      This is completely untrue for the embedded sector. That is, in many industrial, medical, automotive or military applications you do not have a general purpose CPU or GPU at all. In these fields it is mandatory to keep full control over the hardware, which is typically built upon microcontrollers, DSPs, FPGAs or ASICs. You can't program/design such devices with entirely abstract programming languages. C and C++ will always have a niche there.

    • @mr.shredder5430
      @mr.shredder5430 7 หลายเดือนก่อน

      havent you heard that qt is moving to cmake buid system😂

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

    Isn't it pronounced "cute"?

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

      It's both.

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

      @@exnihilonihilfit6316
      Agreed. Name both letters, cutie. Pronounce the two together, cute.

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

      I interchange both pronunciations. I know cute is proper, but i like Q-t better.

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

      huh.. both cute and cutie... can't get any cuter..

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

      I much prefer queue tee. Cute makes it sound like a toy instead of a fully fledged application framework. Although in that light... perhaps use queue tee when referring to Qt Widgets and cute when referring to Qt Quick/QML 🙂

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

    Dude, it's not KYU-TEE, it's Cute ; )

    • @PirateKnO
      @PirateKnO 3 ปีที่แล้ว

      Its kea tea xD

    • @gnarfgnarf4004
      @gnarfgnarf4004 3 ปีที่แล้ว

      Only if English is not your native language.

  • @steffen2592
    @steffen2592 4 ปีที่แล้ว

    QtWidgets will be dead in Qt6. Wouldn't recommend the usage anymore.

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

      What exactly makes you think that?
      I just look (again) at their article about the technical vision for Qt6 and there is nothing written in their about removing Qt6 (actually, they want to modernize it with modern C++ components from C++17)

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

      Qt Widgets are still amazing. It absolute the way to go if you develope desktop applications. I personally would use QML for simple desktop applications.
      If you go mobile/tablet (touchscreen based devices) then use QML.

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

      QtWidgets dead in Qt6? That is absolute nonsense!

    • @YaFunklord
      @YaFunklord 3 ปีที่แล้ว

      I'd be glad if they try. Then we will see a fork that kills off the useless QtQuick/QML parts.

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

      QT6 released end of 2020 with full support for Widgets!!

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

    This is pretty cool