Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Install qt4.7.3 on ubuntu11.10 error
Forum Updated to NodeBB v4.3 + New Features

Install qt4.7.3 on ubuntu11.10 error

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 4 Posters 3.5k 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.
  • J Offline
    J Offline
    justzx
    wrote on last edited by
    #1

    when i run ./configure,report the follow 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/justzx/Qt/install-ide/qt-4.7.3/mkspecs/linux-g++.
    can any one help me?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RazrFalcon
      wrote on last edited by
      #2

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

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

        I got the same 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
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Are you building for ubuntu itself or do you want to build a Qt for some other platform using a cross-compiler?

          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