Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Using Qt Quick controls, views, scene graph without QML
Forum Updated to NodeBB v4.3 + New Features

Using Qt Quick controls, views, scene graph without QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qtpublicname
    wrote on last edited by
    #1

    Is it possible to use QtQuick controls, views, scene graph, etc, without using QML at all?

    I realize that the question might seem strange and even anti-thetical to the Qt Quick "philosophy" but I am a programmer, not a designer, and would like to program in languages I already know (Python, C++).

    thanks
    a beginning Qt hacker

    PS: Java went through this issue with JavaFX, originally having a JavaFX language, before dropping it, and including the JavaFX scene graph and controls as a standard Java library.

    1 Reply Last reply
    1
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Unfortunately there is no public QtQuick C++ API. There is one for Qt3D, but not for Controls.

      You can use the scene graph without QML. You can also control Quick components from C++. It is a bit hacky, but it is certainly possible to create QML interfaces without using QML language.

      (Z(:^

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtpublicname
        wrote on last edited by
        #3

        Thanks for the quick reply.

        Is there an example somewhere of how to use the scene graph from C++, and without QML. Just a basic example of showing a window and adding a label would be helpful.

        Again thanks
        a beginning Qt hacker

        JonBJ 1 Reply Last reply
        0
        • Q qtpublicname

          Thanks for the quick reply.

          Is there an example somewhere of how to use the scene graph from C++, and without QML. Just a basic example of showing a window and adding a label would be helpful.

          Again thanks
          a beginning Qt hacker

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @qtpublicname
          Beware that I am not an expert, but I think you could take a look at https://github.com/uwerat/qskinny.

          A lightweight framework on top of the Qt scene graph and only few classes from Qt/Quick. It is usable from C++ and/or QML.

          Can you either use the framework yourself directly, or take some examples from its code?

          1 Reply Last reply
          3
          • JonBJ JonB referenced this topic on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved