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.2k 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.
  • N Offline
    N Offline
    Niko Hallikainen
    wrote on 31 Jan 2016, 17:09 last edited by
    #1

    How to make force use XCB? Because with egl make only black screen.

    Regards, Niko H.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 31 Jan 2016, 20:58 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 3 Feb 2016, 04:48 last edited by
        #3

        Done, but same issue. I use Jessie.

        Br. Niko H.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Feb 2016, 21:18 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 4 Feb 2016, 16:27 last edited by
            #5

            yes, i get black window, program use qml.

            Br, Niko H.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Feb 2016, 20:27 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 10 Feb 2016, 19:55
              0
              • M Offline
                M Offline
                mrdebug
                wrote on 6 Feb 2016, 21:17 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
                • S SGaist
                  4 Feb 2016, 20:27

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

                  N Offline
                  N Offline
                  Niko Hallikainen
                  wrote on 10 Feb 2016, 19:55 last edited by
                  #8

                  @SGaist No errors.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 10 Feb 2016, 20:17 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 21 Feb 2016, 14:03
                    0
                    • S SGaist
                      10 Feb 2016, 20:17

                      Do you have an Xorg server running ?

                      N Offline
                      N Offline
                      Niko Hallikainen
                      wrote on 21 Feb 2016, 14:03 last edited by
                      #10

                      @SGaist yes it's running

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 21 Feb 2016, 20:41 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
                        • M Offline
                          M Offline
                          mrdebug
                          wrote on 22 Feb 2016, 14:33 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
                          • S SGaist
                            4 Feb 2016, 20:27

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

                            N Offline
                            N Offline
                            Niko Hallikainen
                            wrote on 8 Mar 2016, 15:31 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