Results 1 to 12 of 12

Thread: Qt source

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Qt source

    hi
    I want to compile qt-2.3.7 source for my embedded system..
    Can anyone tel me where I will get this source..??

    Thanks in advance..

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 86 Times in 81 Posts

  3. #3

    Default Re: Qt source

    Thank you for your reply..
    But I didnt find qt-2.3.7 in that site..
    Is qt-embedded-2.3.7.tar.bz2. is same as qt-2.3.7..??
    Any difference..??

    Thank you....

  4. #4
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 86 Times in 81 Posts

    Default Re: Qt source

    You said you want to compile qt2.3.7 (whyever) for your embedded system and ask me if qt-2.3.7-embedded is the correct one? Funny

  5. #5

    Default Re: Qt source


    I am new to qt.. before 2 days only I started working with this..
    I thought there is separate another qt-2.3.7 for embedded system is present..so asked the difference..

    Thank you for reply..

  6. #6

    Default Re: Qt source

    hi....
    I downloaded qt-embedded-2.3.7 from that site for my embedded system..

    The following steps I did ..

    ** Created one directory qt-2.3.7
    ** In that directory untarred qt-embedded-2.3.7
    ** then did.. export QTDIR=$PWD
    export LD_LIBRARY_PATH=$PWD/lib

    ** Configured with command " ./configure -shared -xplatform linux-arm-g++ " (did without any errrs)

    ** then gave "make" command..
    here, I got the error at the end like..
    .
    .
    .
    .
    .arm-linux-gcc -L/home/vasudha/qt-2.3.7/lib -Wl,-rpath,/home/vasudha/qt-2.3.7/lib -o ./t1 main.o -lqte -lm
    /home/vasudha/qt-2.3.7/lib/libqte.so: undefined reference to `operator new[](unsigned)'
    /home/vasudha/qt-2.3.7/lib/libqte.so: undefined reference to `operator delete(void*)'
    /home/vasudha/qt-2.3.7/lib/libqte.so: undefined reference to `__cxa_pure_virtual'
    /home/vasudha/qt-2.3.7/lib/libqte.so: undefined reference to `operator delete[](void*)'
    /home/vasudha/qt-2.3.7/lib/libqte.so: undefined reference to `operator new(unsigned)'
    collect2: ld returned 1 exit status
    make[4]: *** [t1] Error 1
    make[4]: Leaving directory `/home/vasudha/qt-2.3.7/tutorial/t1'
    make[3]: *** [t1] Error 2
    make[3]: Leaving directory `/home/vasudha/qt-2.3.7/tutorial'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/vasudha/qt-2.3.7/tutorial'
    make[1]: *** [sub-tutorial] Error 2
    make[1]: Leaving directory `/home/vasudha/qt-2.3.7'
    make: *** [init] Error 2
    ------------------------------------------------------------------------------------
    Can you tel me what may be the problem..?

    Regards,
    apulu

  7. #7

    Default Re: Qt source

    In this qt-2.3.7-embedded tmake is used to generate Makefiles right..??
    But tmake.conf file is not present anywhere right..??
    Is this is giving prob..??
    just a guess..

    Thank you..

  8. #8

    Default Re: Qt source

    can anyone tel me Should I install tmake package also..????

    Thanks..

  9. #9

    Default Re: Qt source

    As I read in google, tmake tool is necessory to generate Makefiles instead of qmake in case of older qt packges..
    So I think I need it..

    I downloaded tmake-1.11 and set env variables as.

    Installed tmake as ...
    tar zxvf tmake-1.11.tar.gz
    export TMAKEDIR=$PWD/tmake-1.11
    export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
    export PATH=$TMAKEDIR/bin:$PATH

    Installed Qt/Embedded...
    tar zxvf qt-embedded-2.3.7.tar.bz2
    cd qt-2.3.7
    export QTDIR=$PWD
    export QTEDIR=$QTDIR
    export PATH=$QTDIR/bin:$PATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    cp $QPEDIR/src/qt/qconfig-qpe.h src/tools/
    ./configure -xplatform linux-arm-g++ -shared -qconfig qpe -qvfb -depths
    4,8,16,32
    make
    ---------------------------------
    Till here no errors and I got libqte.so.2.3.7 in lib directory..
    and in bin directory I got findtr,moc,qt20fix,qtrename140.
    But I didnt get uic.

    Since I want qt server also,I think I should download qtopia-free-1.7.0.tar.gz
    so did ..then,
    tar xfz qtopia-source-1.6.1.tar.gz
    cd qtopia-source-1.6.1
    export QPEDIR=$PWD
    export QTDIR=$QTEDIR
    export PATH=$QPEDIR/bin:$PATH
    cd src
    ./configure -release -shared -xplatform linux-arm-g++
    make
    ------------------------------------------------------
    after I did this, I got error like uic command not found..

    Can anyone tel me what I am doing wrong..??
    My main intension is to get qt server for my embedded system..

    Thank you in advance..

  10. #10

    Default Re: Qt source

    And also can anyone tel me is there any relationship between qtopia version and corresponding qt version..??
    If so how to select qtopia and qt versions??

    Thank you

  11. #11
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 86 Times in 81 Posts

    Default Re: Qt source

    I don't understand your question. Maybe reading the docs (doc.trolltech.com) will help you. Especially the building instructions for Qtopia

Similar Threads

  1. source code from Qt4 designer
    By freelancer.kiran in forum Qt Tools
    Replies: 2
    Last Post: 12th May 2008, 07:40
  2. Source code in qt-win-eval
    By Max Yaffe in forum Newbie
    Replies: 3
    Last Post: 12th April 2007, 14:17
  3. out of source qtopiamake???
    By izico in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 20th March 2007, 18:31
  4. Licencing issue with Qt Open source
    By thepasty in forum General Discussion
    Replies: 16
    Last Post: 26th July 2006, 14:56
  5. Replies: 11
    Last Post: 24th March 2006, 06:40

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
  •  
Qt is a trademark of The Qt Company.