Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. -qt-xcb failure
Forum Updated to NodeBB v4.3 + New Features

-qt-xcb failure

Scheduled Pinned Locked Moved Unsolved General and Desktop
37 Posts 3 Posters 8.8k 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.
  • SGaistS SGaist

    Hi,

    As alternative, you can use Qt's bundled xcb. Pass the -qt-xcb parameter to your configure call.

    T Offline
    T Offline
    The most recent future
    wrote on last edited by
    #20

    @SGaist
    how to do ? please help me , thanks

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

      Did you pass the option like I suggested ?

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

      T 1 Reply Last reply
      0
      • SGaistS SGaist

        Did you pass the option like I suggested ?

        T Offline
        T Offline
        The most recent future
        wrote on last edited by
        #22

        @SGaist
        cryying crying ......
        I do not known how to option for you suggested.
        please help me .

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

          path_to_Qt_sources/configure -qt-xcb

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

          T 1 Reply Last reply
          0
          • SGaistS SGaist

            path_to_Qt_sources/configure -qt-xcb

            T Offline
            T Offline
            The most recent future
            wrote on last edited by
            #24

            @SGaist
            i do not known ,
            path_to_Qt_sources : this is a fnction ? macro ?

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

              Neither, it's a placeholder that you should replace by the actual path to your Qt sources.

              Since you are already building Qt, just do the same as before but replace your -xcb parameter with -qt-xcb.

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

              T 1 Reply Last reply
              0
              • SGaistS SGaist

                Neither, it's a placeholder that you should replace by the actual path to your Qt sources.

                Since you are already building Qt, just do the same as before but replace your -xcb parameter with -qt-xcb.

                T Offline
                T Offline
                The most recent future
                wrote on last edited by
                #26

                @SGaist
                I do not known,
                Save me once again ! 3Q

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

                  Wait wait wait. I think there's been a mis-understanding here (from my side)

                  You're already configuring Qt with the -qt-xcb option it seems but it seems there something not clean.

                  Did you do call configure from a clean state ? By clean state I mean either a non configured source tree or from an empty out of source build.

                  Just in case this page explains what will be provided by the -qt-xcb option.

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

                  T 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Wait wait wait. I think there's been a mis-understanding here (from my side)

                    You're already configuring Qt with the -qt-xcb option it seems but it seems there something not clean.

                    Did you do call configure from a clean state ? By clean state I mean either a non configured source tree or from an empty out of source build.

                    Just in case this page explains what will be provided by the -qt-xcb option.

                    T Offline
                    T Offline
                    The most recent future
                    wrote on last edited by
                    #28

                    @SGaist
                    if configuring qt with the -qt-xcb option,
                    execute ./configure cmd will be failure.
                    built Qt will be failure,

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

                      Can you show the complete configure line you are using ?

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

                      T 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Can you show the complete configure line you are using ?

                        T Offline
                        T Offline
                        The most recent future
                        wrote on last edited by
                        #30

                        @SGaist
                        ./configure -release -opensource -qt-libpng -qt-zlib -qt-libjpeg -qt-xcb -plugin-sql-sqlite -widgets -qt-sql-sqlite -make libs -no-cups -no-nis -no-iconv -no-dbus -no-qml-debug -no-egl -no-opengl -no-icu -no-accessibility -no-javascript-jit -silent -xplatform linux-arm-gnueabi-g++ -arch arm -linuxfb -nomake tools -make examples -nomake tests -qt-freetype -no-glib -strip -plugindir /root/downSource/qt-everywhere-opensource-src-5.2.0/plugins -confirm-license "$@" -verbose

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

                          Ok... What exact backend do you want to use on your target ?

                          It seems you want to target LinuxFB and X11, is it really the case ? If only LinuxFB then just don't build the xcb backend.

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

                          T 2 Replies Last reply
                          0
                          • SGaistS SGaist

                            Ok... What exact backend do you want to use on your target ?

                            It seems you want to target LinuxFB and X11, is it really the case ? If only LinuxFB then just don't build the xcb backend.

                            T Offline
                            T Offline
                            The most recent future
                            wrote on last edited by
                            #32

                            @SGaist said in -qt-xcb failure:

                            If only LinuxFB then just don't build the xcb backend

                            what ?? why ?
                            Also please the great gods enlighten me

                            1 Reply Last reply
                            0
                            • SGaistS SGaist

                              Ok... What exact backend do you want to use on your target ?

                              It seems you want to target LinuxFB and X11, is it really the case ? If only LinuxFB then just don't build the xcb backend.

                              T Offline
                              T Offline
                              The most recent future
                              wrote on last edited by
                              #33

                              @SGaist
                              what should I do ??

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

                                Determine precisely what backend you want to use on your target, as well as what modules you are going to use.

                                There's absolutely no need to build everything if you are only going to use parts of Qt i.e. if you are only going to use the LinuxFB backend then there's no need to try to build the xcb backend since it's not going to be used. Same goes for QtQuick, QtMultimedia etc. There's no need to waste time and resources to build something you're not going to use.

                                Also, I currently don't see any reason for you to set the -plugindir option. Just drop it, the default should be enough.

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

                                T 2 Replies Last reply
                                0
                                • SGaistS SGaist

                                  Determine precisely what backend you want to use on your target, as well as what modules you are going to use.

                                  There's absolutely no need to build everything if you are only going to use parts of Qt i.e. if you are only going to use the LinuxFB backend then there's no need to try to build the xcb backend since it's not going to be used. Same goes for QtQuick, QtMultimedia etc. There's no need to waste time and resources to build something you're not going to use.

                                  Also, I currently don't see any reason for you to set the -plugindir option. Just drop it, the default should be enough.

                                  T Offline
                                  T Offline
                                  The most recent future
                                  wrote on last edited by
                                  #35

                                  @SGaist
                                  Hi SGaist !

                                  libQt5DBus.so.5 not find ,
                                  Where the path is libQt5DBus.so.5 ?
                                  I will put hte so to the /usr/lib

                                  1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Determine precisely what backend you want to use on your target, as well as what modules you are going to use.

                                    There's absolutely no need to build everything if you are only going to use parts of Qt i.e. if you are only going to use the LinuxFB backend then there's no need to try to build the xcb backend since it's not going to be used. Same goes for QtQuick, QtMultimedia etc. There's no need to waste time and resources to build something you're not going to use.

                                    Also, I currently don't see any reason for you to set the -plugindir option. Just drop it, the default should be enough.

                                    T Offline
                                    T Offline
                                    The most recent future
                                    wrote on last edited by
                                    #36

                                    @SGaist
                                    Hi SGaist !

                                    libQt5DBus.so.5 not find ,
                                    Where the path is libQt5DBus.so.5 ?
                                    I will put hte so to the /usr/lib

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

                                      There's no use at posting twice the same answer in a two hour interval, that won't make things go faster.

                                      You passed the -no-dbus flag as configure option.

                                      Like I already wrote before: take a step back, write down what you really need from Qt and then we can get a constructive conversation.

                                      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

                                      • Login

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