Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109634

Add a How To page for Qt Quick topics

    XMLWordPrintable

Details

    • afa15792e (dev), ac9830268 (dev), b14ffff8b (6.5), 0d8cdb7d2 (6.5), d414c81f3 (dev), c504227e2 (dev), 14511ec0d (6.5), bc6abc010 (6.5)

    Description

      A user was asking how to have a Button that, when clicked, did something in C++. I started looking for documentation that I could share with them.

      I found https://doc.qt.io/qt-6/qtdoc-tutorials-alarms-example.html, which is too complex.

      I thought https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html might have something, but it doesn't have any concrete examples.

      I shared https://www.youtube.com/watch?v=9BcAYDlpuT8, which is too thorough an explanation for such a simple question.

      I thought the QML book might have something, but the closest thing it has mentions setContextProperty (https://www.qt.io/product/qt6/qml-book/ch18-extensions-qml-runtime), which is not best practice.

      We should add a page of common tasks with straight-forward solutions, as we have for Creator and Qbs:

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-109634
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes