Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Basic XLib functionality test failed!
Forum Updated to NodeBB v4.3 + New Features

Basic XLib functionality test failed!

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 20.6k 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.
  • D Offline
    D Offline
    dreamerindia
    wrote on last edited by
    #1

    Dear all,
    i tried to compile the QT with following command by following "http://forums.digi.com/support/forum/viewthread_thread,6858#20693"

    @./configure -confirm-license -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/QtEmbedded-4.4.3 -hostprefix /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi -qt-sql-sqlite -depths 15,16 -qt-kbd-usb -qt-mouse-tslib@

    and i got this error

    @Basic XLib functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/qmax/Desktop/QT_Latest/qt-x11-opensource-src-4.5.3/mkspecs/qws/linux-arm-g++.@

    I tried the following
    Try 1:

    @sudo apt-get build-dep qt4-qmake (installed)@

    Ref:http://www.qtforum.org/article/27401/debian-xlib-test-failed-after-configure.html

    Try 2:

    @sudo apt-get build-dep libxext-dev@

    Ref:http://www.qtforum.org/article/27886/installing-qt4-problem-basic-xlib-functionality-test-failed.html

    Try 3:

    @sudo apt-get install libx11-dev libxau-dev libxaw7-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev
    sudo apt-get install libxext-dev libxfixes-dev libxfont-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev
    sudo apt-get install libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev
    sudo apt-get install libglib2.0-dev
    sudo apt-get install libssl-dev
    sudo apt-get install libgtk2.0-dev
    sudo apt-get install libcups2-dev
    sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
    sudo apt-get install libgstreamer0.10-dev@

    Ref:http://qt-project.org/wiki/Compile_Qt_4.7_on_Ubuntu_10.10

    Try 4:

    @sudo apt-get install ^libxcb.* libx11-xcb-dev libglu1-mesa-dev libxrender-dev -y@

    Ref:http://qt-project.org/forums/viewthread/15858

    But nothing works...still same error.....

    ~Ravivarman~

    1 Reply Last reply
    1
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You are cross-compiling, so you need the libraries/headers installed in the sysroot, not in your own system.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dreamerindia
        wrote on last edited by
        #3

        its working... just extracted the opensource with command instead of direct extraction...

        ~Ravivarman~

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kumararajas
          wrote on last edited by
          #4

          I have the same problem. Can you please tell me why I get this error and what are the clear steps to over come the problem?

          Thank you,
          Kumara

          --Kumar

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dreamerindia
            wrote on last edited by
            #5

            For me it solved by extracting the opensource archive in konsole using command instead of direct extraction

            ~Ravivarman~

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kumararajas
              wrote on last edited by
              #6

              Thank you for the reply.

              I did solve the problem by installing the following libraries

              @
              sudo apt-get install libx11-dev libfreetype6-dev libavahi-gobject-dev libSM-dev libXrender-dev libfontconfig-dev libXext-dev
              @

              --Kumar

              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