QT not found problem

From: Simon Cahuk (simon.cahuk_at_uni-mb.si)
Date: 03/22/04

  • Next message: John M Flinchbaugh: "Re: mozilla-firefox 0.8-5 cant add bookmark"
    To: debian-user@lists.debian.org
    Date: Mon, 22 Mar 2004 11:07:27 +0100
    
    

    Hi!

    I want to install knifty. I get this:

    checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (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!

    dpkg:

    knifty-0.4.1# dpkg -l | grep libqt*
    ii libqt2 2.3.1-22 Qt GUI Library (runtime version).
    ii libqt3-headers 3.2.3-2 Qt3 header files
    ii libqt3-mt-dev 3.2.3-2 Qt development files (Threaded)
    ii libqt3c102 3.2.3-2 Qt Library
    ii libqt3c102-mt 3.2.3-2 Qt GUI Library (Threaded runtime
    version)

    config.log:

    tmp/cc6m0aWH.o(.text+0xb): In function `main':
    : undefined reference to `QString::null'
    /tmp/cc6m0aWH.o(.text+0x10): In function `main':
    : undefined reference to `QStyleFactory::create(QString const &)'
    /tmp/cc6m0aWH.o(.text+0x1e): In function `main':
    : undefined reference to `QCursor::QCursor(int)'
    /tmp/cc6m0aWH.o(.text+0x29): In function `main':
    : undefined reference to `QCursor::~QCursor(void)'
    /tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x21): In fun
    ction `QValueListPrivate<QString>::QValueListPrivate(void)':
    : undefined reference to `QString::shared_null'
    /tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2a): In fun
    ction `QValueListPrivate<QString>::QValueListPrivate(void)':
    : undefined reference to `QString::makeSharedNull(void)'
    /tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x27):
    In func
    tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
    : undefined reference to `QString::shared_null'
    /tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x32):
    In func
    tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
    : undefined reference to `QStringData::deleteSelf(void)'
    /tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x5f):
    In func
    tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
    : undefined reference to `QString::shared_null'
    /tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x6a):
    In func
    tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
    : undefined reference to `QStringData::deleteSelf(void)'
    /tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIte
    rator<QString>, QString const &)+0x27): In function
    `QValueListPrivate<QString>:
    :insert(QValueListIterator<QString>, QString const &)':
    : undefined reference to `QString::QString(QString const &)'
    /tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<Q
    String> const &)+0x21): In function
    `QValueListPrivate<QString>::QValueListPriva
    te(QValueListPrivate<QString> const &)':
    : undefined reference to `QString::shared_null'
    /tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<Q
    String> const &)+0x2a): In function
    `QValueListPrivate<QString>::QValueListPriva
    te(QValueListPrivate<QString> const &)':
    : undefined reference to `QString::makeSharedNull(void)'
    collect2: ld returned 1 exit status
    configure:24549: $? = 1
    configure: failed program was:
    #include "confdefs.h"
    #include <qglobal.h>
    #include <qapplication.h>
    #include <qcursor.h>
    #include <qstylefactory.h>
    #include <private/qucomextra_p.h>
    #if ! (QT_VERSION >= 0x030100)
    #error 1
    #endif

    int main() {
        (void)QStyleFactory::create(QString::null);
        QCursor c(Qt::WhatsThisCursor);

    Thanks,

    Simon

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: John M Flinchbaugh: "Re: mozilla-firefox 0.8-5 cant add bookmark"

    Relevant Pages

    • Compiling Errors of FWBuilder on Solaris 2.8 for IPFilter
      ... pf.o: In function `usage(char const *)': ... pf.o: undefined reference to `cout' ... int, unsigned int, char const *, unsigned int)+0x48): ...
      (comp.security.firewalls)
    • template compile errors
      ... as soon as I try to seperate the class into a .h and a .cpp ... : undefined reference to `Stack::sizeconst' ... : undefined reference to `Stack::emptyconst' ... bool emptyconst; ...
      (comp.lang.cpp)
    • Re: [kde-linux] Error compiling kdelibs, libnepomuk.so.4.2.0 not found
      ... A quick Google didn't turn up any qHash method that takes a QUrl. ... Built target nepomuk-rcgen ... signed int*) const': ... undefined reference to `qHash' ...
      (KDE)
    • problems linking with the static qt lib
      ... In function `bitBlt(QPaintDevice *, int, int, QPaintDevice const *, ... qpaintdevice_x11.o: undefined reference to ... qfont.o: undefined reference to `XftPatternGetInteger' ...
      (comp.os.linux.questions)
    • Re: getting memory mapped IO to work on linux
      ... the error for cout but it did not get rid of the error for ostream etc. ... `RU014_TranslateDateFormat(int, int, int, char*)': ... undefined reference to `ostream::operator<<' ... undefined reference to `ios::failconst' ...
      (comp.os.linux.development.system)