Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to force use XCB

    QtonPi
    egl xcb
    3
    13
    3210
    Loading More Posts
    • 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
      Niko Hallikainen last edited by

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

      Regards, Niko H.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • N
          Niko Hallikainen last edited by

          Done, but same issue. I use Jessie.

          Br. Niko H.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • N
              Niko Hallikainen last edited by

              yes, i get black window, program use qml.

              Br, Niko H.

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • mrdebug
                  mrdebug last edited by

                  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 Reply Quote 0
                  • N
                    Niko Hallikainen @SGaist last edited by

                    @SGaist No errors.

                    1 Reply Last reply Reply Quote 0
                    • SGaist
                      SGaist Lifetime Qt Champion last edited by

                      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 Reply Quote 0
                      • N
                        Niko Hallikainen @SGaist last edited by

                        @SGaist yes it's running

                        1 Reply Last reply Reply Quote 0
                        • SGaist
                          SGaist Lifetime Qt Champion last edited by

                          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 Reply Quote 0
                          • mrdebug
                            mrdebug last edited by

                            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 Reply Quote 0
                            • N
                              Niko Hallikainen @SGaist last edited by

                              @SGaist Hi, I get no errors

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post