Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. How to force use XCB
Forum Updated to NodeBB v4.3 + New Features

How to force use XCB

Scheduled Pinned Locked Moved Unsolved QtonPi
eglxcb
13 Posts 3 Posters 4.7k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    First you have to build Qt with xcb support and then when starting the application you have to tell it to use that plugin. That also mean you need to have an Xorg server running on your Pi

    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
    • N Offline
      N Offline
      Niko Hallikainen
      wrote on last edited by
      #3

      Done, but same issue. I use Jessie.

      Br. Niko H.

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

        Do you mean black screen ?

        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
        • N Offline
          N Offline
          Niko Hallikainen
          wrote on last edited by
          #5

          yes, i get black window, program use qml.

          Br, Niko H.

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

            Any error message on the console ? Do you have a an Xorg server running ?

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

            N 2 Replies Last reply
            0
            • mrdebugM Offline
              mrdebugM Offline
              mrdebug
              wrote on last edited by
              #7

              In my honest opinion you can't use Qml - Quick on xcb (On raspberry Pi) because Quick requires OpenGL ES2.
              I have built Qt 5.5.1 for Raspberry Pi in 2 different modes: the first, for QWidgets applications on XOrg (xcb) or framebuffer without OpenGL ES, and a second with OpenGL ES for applications based on Quick, without Xorg.
              After many tests I can't run a application based on QWidgets if it Qt was built with OpenGL ES.

              Need programmers to hire?
              www.labcsp.com
              www.denisgottardello.it
              GMT+1
              Skype: mrdebug

              1 Reply Last reply
              0
              • SGaistS SGaist

                Any error message on the console ? Do you have a an Xorg server running ?

                N Offline
                N Offline
                Niko Hallikainen
                wrote on last edited by
                #8

                @SGaist No errors.

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

                  Do you have an Xorg server running ?

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

                  N 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Do you have an Xorg server running ?

                    N Offline
                    N Offline
                    Niko Hallikainen
                    wrote on last edited by
                    #10

                    @SGaist yes it's running

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

                      Do you have any error appearing on the console ? How are you starting your application ? What kind of application is it ?

                      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
                      • mrdebugM Offline
                        mrdebugM Offline
                        mrdebug
                        wrote on last edited by
                        #12

                        I hope you will resolve yourself.
                        Anyway I have a lot of open projects based on Raspberry Pi, someone is a console application, some other is xcb, some other QtQuick with OpenGL ES. If you require to have professional support please contact me. I'm gmt+1 (Italy).
                        info@denisgottardello.it

                        Need programmers to hire?
                        www.labcsp.com
                        www.denisgottardello.it
                        GMT+1
                        Skype: mrdebug

                        1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Any error message on the console ? Do you have a an Xorg server running ?

                          N Offline
                          N Offline
                          Niko Hallikainen
                          wrote on last edited by
                          #13

                          @SGaist Hi, I get no errors

                          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