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

-qt-xcb won't work

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 2.7k 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.
  • Z Offline
    Z Offline
    Zola
    wrote on last edited by
    #1

    I tried to pass qt-xcb parameter to configure Qt 5.5.1 and it doesn't work.

    What are the steps to make -qt-xcb available to configure, what are dependencies? I tried to find a solution, but without success.

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

      Hi,

      What errors are you currently getting ? What OS are you building on ?

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

      Z 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What errors are you currently getting ? What OS are you building on ?

        Z Offline
        Z Offline
        Zola
        wrote on last edited by
        #3

        @SGaist I am trying to build qt 5.5.1 on my Ubuntu host machine for armhf target machine.

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

          What errors are you getting exactly ?

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

          Z 1 Reply Last reply
          0
          • SGaistS SGaist

            What errors are you getting exactly ?

            Z Offline
            Z Offline
            Zola
            wrote on last edited by Zola
            #5

            @SGaist

            • Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
              Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
              The test for linking against libxcb failed!
              Use of pkg-config is not enabled, maybe you want to pass -force-pkg-config?
              You might need to install dependency packages for libxcb.
              See src/plugins/platforms/xcb/README.

            I don't understand this 'You might need to install dependency packages for libxcb'. Dependency packages on my virtual host machine?

            If I am right I need to add path to arm libxcb lib and include folder to make it work? Or there is more to do than what I wrote? Please describe what ./configure expecting to be done for xcb before add -qt-xcb argument to it, what things need to be met?

            Is it possible to compile Qt5 and run app with LinuxFB instead of using XCB? What are advantages and disadvantages?

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              Zola
              wrote on last edited by Zola
              #6

              @SGaist I solved problem with xcb! But now it tells me something like this when trying to deploy and run my app on Beaglebone Black device:

              No protocol specified
              QXcbConnection: Could not connect to display :0.0

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

                Do you have a X server running on your board ?

                In any case, you can use the other backends of Qt if you don't. You have more details about them here

                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
                • Z Zola

                  @SGaist I solved problem with xcb! But now it tells me something like this when trying to deploy and run my app on Beaglebone Black device:

                  No protocol specified
                  QXcbConnection: Could not connect to display :0.0

                  A Offline
                  A Offline
                  AGol
                  wrote on last edited by
                  #8

                  @Zola I have the same problem. How did you solve this problem?

                  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