Results 1 to 3 of 3

Thread: cannot find -lqte

  1. #1
    Join Date
    Jun 2006
    Posts
    11
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default cannot find -lqte

    hi everybody, i install qtopia-free-1.7.0 by step of the following:
    1)packages
    qt-embedded-2.3.10-free.tar.gz
    qt-embedded-2.3.7.tar.gz
    qtopia-free-1.7.0.tar.gz
    qtopia-free-source-2.1.1.tar.gz
    qt-x11-2.3.2.tar.gz
    tmake-1.13.tar.gz
    2)uncompress, extract and rename the file
    for example:
    tar zxvf qt-x11-2.3.2.tar.gz
    mv qt-2.3.2 qt-x11-free-2.3.2-debug
    3)set the environment
    TROLLTECHDIR=$HOME/Trolltech
    TMAKEDIR=$TROLLTECHDIR/tmake-1.13
    QT2DIR=$TROLLTECHDIR/qt-x11-free-2.3.2-debug
    QTEDIR=$TROLLTECHDIR/qt-embedded-free-2.3.7-debug
    QPEDIR=$TROLLTECHDIR/qtopia-free-1.7.0-debug
    QT3DIR=/usr/lib/qt3
    QTDIR=$QTEDIR
    DQTDIR=$QT3DIR
    TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++
    QMAKESPEC=linux-g++
    PATH=$QT2DIR/bin:$QTEDIR/bin:$QPEDIR/bin:$DQTDIR/bin:$QT3DIR/bin:$QTDIR/bin:$TMAKEDIR/bin:$PATH
    LD_LIBRARY_PATH=$QT2DIR/lib:$QTEDIR/lib:$QPEDIR/lib:$DQTDIR/lib:$QT3DIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
    export TROLLTECHDIR TMAKEDIE QT2DIR QTEDIR QPEDIR QT3DIR QTDIR DQTDIR TMAKEPATH QMAKESPEC PATH LD_LIBRARY_PATH
    4)compile qt-embedded
    cd $QTEDIR
    cp $QPEDIR/src/qt/qconfig-qpe.h src/tools -f
    ./configure -debug -qconfig qpe -qvfb -depths 4,8,16,32 -system-jpeg -gif
    make sub-src
    5)compile qt-x11
    cd $QT2DIR
    export QTDIR=$QT2DIR
    export PATH=$QTDIR/bin:$PATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    ./configure -debug -no-opengl -no-xft
    make sub-src
    cd tools/designer/util
    make
    cd ../uic
    make
    cp $QTDIR/bin/uic $QTEDIR/bin
    cd $QTEDIR/tools/qvfb
    tmake qvfb.pro > Makefile
    make

    here,i meet a problem, and the error reference is following:
    g++ -o qvfb qvfb.o qvfbview.o qvfbratedlg.o main.o qanimationwriter.o skin.o config.o moc_qvfb.o moc_qvfbview.o moc_qvfbratedlg.o moc_gammaview.o moc_config.o
    -L/home/freegnu/Trolltech/qt-x11-free-2.3.2-debug/lib -lqte
    /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: cannot
    find -lqte
    collect2: ld returned 1 exit status
    make: *** [qvfb] error 1
    i find there is libqte.so.2.3.7 in qt-embedded-free-2.3.7-debug/lib directory,
    but there is not any library called qte.so in qt-x11-free-2.3.2-debug/lib
    Last edited by jacek; 1st July 2006 at 15:39. Reason: changed [ code ] to [ quote ] to allow wrapping of long lines

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cannot find -lqte

    Quote Originally Posted by freegnu
    there is not any library called qte.so in qt-x11-free-2.3.2-debug/lib
    If you pass -lsomething to the linker, it will look for libsomething.so*, so the problem is not with a file name, but with paths.

    What is the value of LD_LIBRARY_PATH environment variable?

  3. #3
    Join Date
    Jan 2006
    Location
    Gold Coast, Australia
    Posts
    36
    Thanked 5 Times in 5 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: cannot find -lqte

    qvfb needs to be compiled against qt-x11, and its looking for qt-embedded library.

    Before you configure qt-x11 export TMAKEPATH=$TMAKEDIR/lib/linux-g++

    Freelance Senior Software Engineer

Similar Threads

  1. Replies: 13
    Last Post: 1st June 2006, 14:01
  2. Find function in Qt ?
    By npc in forum Newbie
    Replies: 3
    Last Post: 9th May 2006, 10:06
  3. Replies: 17
    Last Post: 31st March 2006, 05:57
  4. [qt4,win,g++] how does Qt find a plugin?
    By jh in forum Installation and Deployment
    Replies: 2
    Last Post: 19th March 2006, 20:09
  5. How do I find out which widgets/canvas items are visible?
    By Tommytrojan in forum Qt Programming
    Replies: 11
    Last Post: 6th January 2006, 13:22

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.