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. Setup on K-Ubuntu
QtWS25 Last Chance

Setup on K-Ubuntu

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 2.6k Views
  • 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.
  • G Offline
    G Offline
    GiorgioEva
    wrote on last edited by
    #1

    I'm trying to install Qt 4.8 in Kubuntu.

    ./configure
    Creating qmake. Please wait...
    make: Nothing to be done for `first'.
    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 /media/HD2/4.8/qt-everywhere-opensource-src-4.8.4/mkspecs/linux-g++.

    What should I install?
    I installed without solving the problem::
    libx11-xcb1
    libx11-xcb1-dbg
    libx11-xcb-dev
    libx-xcb-dev
    libxcb1-dev

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @
      sudo apt-get build-dep qt-sdk
      @

      (Z(:^

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GiorgioEva
        wrote on last edited by
        #3

        apt-get successful.
        Restarted kubuntu.
        . / configure does not install Qt.

        user@ubuntu:/media/HD2/4.8/qt-everywhere-opensource-src-4.8.4$ ./configure
        Which edition of Qt do you want to use ? o
        Do you accept the terms of either license? yes

        Creating qmake. Please wait...
        make: Nothing to be done for `first'.
        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 /media/HD2/4.8/qt-everywhere-opensource-src-4.8.4/mkspecs/linux-g++.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Never got that kind of error, so I'll continue shooting blanks :) Qt4 does not use XCB, though, as far as I remember.
          @
          sudo apt-get duild-dep libqt4-dev
          cd your/qt/source/code
          export QTDIR=
          export PATH=$PWD/bin:$PATH
          ./configure -opensource -confirm-license
          @

          Also, if you are not using git, make sure to download the tarball, not .zip.

          (Z(:^

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GiorgioEva
            wrote on last edited by
            #5

            Ok, after the make I have this errors:

            g++: error: unrecognized command line option ‘-fuse-ld=gold’
            g++: error: unrecognized command line option ‘-fuse-ld=gold’
            g++: error: unrecognized command line option ‘-fuse-ld=gold’
            make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.3] Error 1
            make[2]: Leaving directory /media/HD2/4.8/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebKit/qt' make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2 make[1]: Leaving directory /media/HD2/4.8/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source'
            make: *** [sub-webkit-make_default-ordered] Error 2

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tzander
              wrote on last edited by
              #6

              I would guess your gcc is too old for webkit,
              you can try to reconfigure passing the configure option to disable webkit.
              -no-webkit

              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