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. What is the best approach of embedded multi-window application building with Qt Quick?
Forum Updated to NodeBB v4.3 + New Features

What is the best approach of embedded multi-window application building with Qt Quick?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
7 Posts 2 Posters 611 Views 2 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.
  • F Offline
    F Offline
    FeelFree
    wrote on last edited by
    #1

    Hi everyone,

    I want to build a multi-window application in embedded linux with Qt Quick, but EGLFS(needed for GPU usage) does not support muliti-window. Both multi-window qml and mix-use of qwidgets and quick are forbidden, so what is the best practices to handle it? I searched a lot, but nothing useful was found. Really appreciate your suggests.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      For your use case it'd seems that you should look at the wayland backend.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FeelFree
        wrote on last edited by
        #3

        Thanks a lot for your reply. Wayland is too complex for my project. If EGLFS is nessasary, should I use 'StackView+Page' or 'QML loader' for page navigation. I am not sure which is the best way for page navigation (like Android application). Both 'Page Transition Animation' and 'Life Circle Callback' are determining factors for my choice. Hope for your further help.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          So you meant a single application were you navigate through different pages ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            FeelFree
            wrote on last edited by
            #5

            Yeah. A single application is enough, and two candidates are found: 'StackView+Page' and 'QML loader'. But I am not sure which is better, or that both of them are wrong. I am brank new in qt dev, ^_^.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              AFAIK, loaders are a way to load components. They do not replace a stack view.

              You should check @ekkescorner articles. It provides a good starting point.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • F Offline
                F Offline
                FeelFree
                wrote on last edited by
                #7

                Wow, thank you so much! Indeedly, this is what I am looking for.

                1 Reply Last reply
                0

                • Login

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