Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Thread: Qt headers not found!

  1. #1
    Join Date
    Jan 2006
    Beans
    10

    Qt headers not found!

    when i try to install programs and i use the ./configure, everything looks good until it gives back:
    Qt headers not found!.

    so where can i get the Qt headers?

  2. #2
    Join Date
    Jun 2005
    Location
    Malta
    Beans
    4,187
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Qt headers not found!

    Have you done a search for qt headers in synaptic?
    I guess not.

  3. #3
    Join Date
    Jan 2006
    Beans
    10

    Re: Qt headers not found!

    it din't work

  4. #4
    Join Date
    Jun 2005
    Location
    Malta
    Beans
    4,187
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Qt headers not found!

    What program are you trying to install?

  5. #5
    Join Date
    Jan 2006
    Beans
    10

    Re: Qt headers not found!

    dc-qt-0.1.2

    but it happens with other programs to

  6. #6
    Join Date
    Jan 2006
    Beans
    132

    Re: Qt headers not found!

    I'm having the same problem. I donwnloaded the QT3 dev kit. Changed my QTDIR to /usr/lib/qt3 and I still get:

    qdir.h: No such file or directory

    On a Make. So, if you figure it out, plz share.

    Didjit

  7. #7
    Join Date
    Apr 2006
    Location
    Edmonton, Canada
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Qt headers not found!

    *bump*

    **EDIT AT BOTTOM**

    I'm using kde and trying to install kftpgrabber-0.7.0-beta1

    I've been getting a similar problem but the problem with me could be that i'm a noob to linux . I've never had any problems with ./configure until i reformatted my computer and installed ubuntu again.

    If there's something i need to download, i have no clue what i would download and i tried downloading a few qt things in synaptic but they're most likely the wrong thing since it still doesn't work.

    This is the error i get:
    checking for Qt... configure: error: Qt (>= Qt 3.2 and < 4.0) (library qt-mt) not found. Please check your installation!
    For more details about this problem, look at the end of config.log.
    Make sure that you have compiled Qt with thread support!

    ***EDIT: i've installed qt lol (stupid noob Hiew) and now i'm getting this error:
    checking for KDE... configure: error:
    in the prefix, you've chosen, are no KDE headers installed. This will fail.
    So, check this please and use another prefix!
    Last edited by Hiew; April 12th, 2006 at 07:02 AM.

  8. #8
    Join Date
    Jun 2005
    Location
    Australia
    Beans
    1,837

    Re: Qt headers not found!

    I'm trying to follow the old adage of you can give a man fish and he will eat for a day, teach him to fish and he will eat every day. So here goes...

    Here is an example of how you might search for dependencies indicated by error messages at compilation.

    Code:
    mustard@slave:~$ apt-cache search libqt
    libcppunit-dev - Unit Testing Library for C++
    libguile-dev - Development headers and static library for libguile
    libqt0-ruby1.8 - Qt bindings for Ruby
    libqt3-i18n - i18n files for Qt3 library
    libqt3-mt-dbg - debugging symbols for libqt3-mt
    libqt3-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
    libqt3-mt-mysql - MySQL database driver for Qt3 (Threaded)
    libqt3-mt-odbc - ODBC database driver for Qt3 (Threaded)
    libqt3-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
    libqt3-mt-sqlite - SQLite database driver for Qt3 (Threaded)
    libqt4-core - Qt 4 core non-GUI functionality runtime library
    libqt4-debug - Qt 4 debugging runtime libraries
    libqt4-designer - Qt 4 Designer libraries
    libqt4-dev - Qt 4 development files
    libqt4-gui - Qt 4 core GUI functionality runtime library
    libqt4-qt3support - Qt 3 compatibility library for Qt 4
    libqt4-sql - Qt 4 SQL database module
    libqttestrunner1c2 - Unit Testing Library for C++
    qt3-assistant - The Qt3 assistant application
    adept - package manager for KDE
    libqt-perl - Perl bindings for the Qt library
    libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
    libqt3-headers - Qt3 header files
    libqt3-mt - Qt GUI Library (Threaded runtime version), Version 3
    libqt3-mt-dev - Qt development files (Threaded)
    libqthreads-12 - QuickThreads library for Guile
    With 20/20 hindsight I probably could have used the grep command which would have filtered the above list and produced a shorter list of candidates..

    Code:
    mustard@slave:~$ apt-cache search libqt | grep mt
    libqt3-mt-dbg - debugging symbols for libqt3-mt
    libqt3-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
    libqt3-mt-mysql - MySQL database driver for Qt3 (Threaded)
    libqt3-mt-odbc - ODBC database driver for Qt3 (Threaded)
    libqt3-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
    libqt3-mt-sqlite - SQLite database driver for Qt3 (Threaded)
    libqt3-mt - Qt GUI Library (Threaded runtime version), Version 3
    libqt3-mt-dev - Qt development files (Threaded)
    This list a number of available packages that could indicate a possible choice. In particular its looking for libqt-mt with a version number greater than 3.2, so that gives a hint that libqt3-mt might be the one you need. So you look for the -dev package that might fill that dependency and then show the information on that package with the command below.


    Code:
    mustard@slave:~$ apt-cache show libqt3-mt-dev
    Package: libqt3-mt-dev
    Priority: optional
    Section: libdevel
    Installed-Size: 160
    Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
    Architecture: i386
    Source: qt-x11-free
    Version: 3:3.3.4-8ubuntu5
    Replaces: libqt-mt-dev, libqt3-dev (>= 3.0.5-4), libqt3-helper, libqt3-headers (<= 3:3.1.1-3), libqt3-emb (<= 3:3.0.3-1)
    Depends: xlibs-static-dev (>= 4.3.0.dfsg.1-4), libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4), x-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4), libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4), libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, libxcursor-dev, libxinerama-dev, libxi-dev, libmng-dev (>= 1.0.3), libpng12-0-dev, libjpeg62-dev, zlib1g-dev, libfreetype6-dev, libc6-dev, libqt3-mt (= 3:3.3.4-8ubuntu5), libqt3-headers (= 3:3.3.4-8ubuntu5), qt3-dev-tools (= 3:3.3.4-8ubuntu5), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libxft-dev, libaudio-dev
    Recommends: libqt3-compat-headers
    Suggests: libqt3-i18n, qt3-doc
    Conflicts: libqt-mt-dev, libqt3-emb (<= 3:3.0.3-1)
    Filename: pool/main/q/qt-x11-free/libqt3-mt-dev_3.3.4-8ubuntu5_i386.deb
    Size: 51054
    MD5sum: 13546fed7b184e6cf7033429faa57e8b
    Description: Qt development files (Threaded)
     Qt is a C++ class library optimized for graphical user interface
     development. This package contains the libqt-mt.so symlink, necessary
     for building threaded Qt applications as well as the libqui.so symlink
     and the necessary header files for libqui.so. (See README.Debian and
     the Qt Documentation for instructions on libqui.so)
     .
     WARNING: If you plan to build some older Qt3 applications, you will
     most probably have to install the libqt3-compat-headers package. It
     contains all the headers which are not part of the official Qt3 API
     anymore but which are still used by some programs. So if you encounter
     problems with missing header files, please install this package first
     before you send a bugreport.
    Bugs: mailto:ubuntu-users@lists.ubuntu.com
    Origin: Ubuntu
    mustard@slave:~$
    The above library seems to fall within the parameters for version numbers that your dependency error is showing.

    Usually a liberal use of apt-cache search commands used in conjuction with the grep command as a filter can help to locate the correct package.

    Code:
    mustard@slave:~$ apt-cache search libqt | grep headers
    libguile-dev - Development headers and static library for libguile
    libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
    libqt3-headers - Qt3 header files
    This search produces the headers package.

    Of course if you do all this and come up with nothing, then it's quite possible that its not in the repositories for your version of Ubuntu. Sometimes you might find them included in the development version. Installing stuff outside of the repositories for your particular version of Ubuntu can be fraught with problems. It's possible, but not always practical or wise to do so.
    Last edited by Mustard; April 12th, 2006 at 07:18 AM.

  9. #9
    Join Date
    Apr 2006
    Location
    Edmonton, Canada
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Qt headers not found!

    hmm thanks for the info on how to use apt-cache search, it can be actually very usefull... i'll have to remember this one

    However, how would i do this for something like the error i edited on my first post?
    Last edited by Hiew; April 12th, 2006 at 07:13 AM.

  10. #10
    Join Date
    Jun 2005
    Location
    Australia
    Beans
    1,837

    Re: Qt headers not found!

    Quote Originally Posted by Hiew
    hmm thanks for the info on how to use apt-cache search, it can be actually very usefull... i'll have to remember this one

    However, how would i do this for something like the error i edited on my first post?
    Did you read the last search in my example?

    It contain a list of headers packages.

    Code:
    mustard@slave:~$ apt-cache search libqt | grep headers
    libguile-dev - Development headers and static library for libguile
    libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
    libqt3-headers - Qt3 header files
    Have you installed, libqt3-headers and libqt3-compat-headers?

    If you read the example of the apt-cache show command I used, you would see that the description of the file actually tells you what you need to install.

    If you need the fish I can throw you the fish.

    Code:
    sudo apt-get install libqt3-headers libqt3-compat-headers
    Then run ./configure again.
    Last edited by Mustard; April 12th, 2006 at 12:26 PM.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •