Results 1 to 10 of 10

Thread: configure??? qt 4.6.2

  1. #1
    Join Date
    Mar 2010
    Posts
    18
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question configure??? qt 4.6.2

    I am beginer in QT. I have got the QT 4.6.2.

    I can use ./configure -embedded and it works fine. but when I use ./configure I get the following error.

    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 /opt/qtsdk-2010-02/qt mkspecs/linux-g++

    how can I remove this error?

    if I use gmake or make command then I get following error.

    gmake[1]: ***[../../lib/libQtCore.so.4.6.2] Error 1
    gmake[1] Leaving directory '/opt/qtsdk-2010.02/qt/src/corelib
    gmake: ***[sub-corelib-make_default-ordered

    What should I do to solve this problems

  2. #2
    Join Date
    Mar 2010
    Posts
    25
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    I think you should install X11 on it.

    yum install libX*

    Thanks and Regards
    Shi Hao

  3. #3
    Join Date
    Mar 2010
    Posts
    18
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    Thanks. In my host computer I have complete linux (fedora) so I think I already have X11 installed however how can I check it?
    I checked it using find command but please let me know if I need to do anything else to link these two.

  4. #4
    Join Date
    Dec 2008
    Location
    France
    Posts
    93
    Thanked 23 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: configure??? qt 4.6.2

    You need to install devel package for x in order to build Qt for X11. Look for a package name libX*-devel with yum, this package will provide you headers and libs missing for the configure cmd.

    Good luck.

  5. #5
    Join Date
    Mar 2010
    Posts
    18
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    Great...Thanks for your help

    I did yum install libX*-devel and now good to see that ./cofigure works fine.

    but when I run gmake it still givess same following error??

    ed/moc_qhistorystate.o .obj/release-shared/moc_qabstracttransition.o .obj/release-shared/moc_qsignaltransition.o .obj/release-shared/moc_qeventtransition.o -L/opt/qtsdk-2010.02/qt/lib -lpthread -lz -lm -ldl -lrt
    .obj/release-shared/qthread_unix.o: In function `QThreadPrivate::createEventDispatcher(QThreadData *)':
    /opt/qtsdk-2010.02/qt/src/corelib/thread/qthread_unix.cpp:200: undefined reference to `QEventDispatcherGlib::QEventDispatcherGlib(QObjec t*)'
    /opt/qtsdk-2010.02/qt/src/corelib/thread/qthread_unix.cpp:197: undefined reference to `QEventDispatcherGlib::versionSupported()'
    .obj/release-shared/qcoreapplication.o: In function `QCoreApplicationPrivate::createEventDispatcher()' :
    /opt/qtsdk-2010.02/qt/src/corelib/kernel/qcoreapplication.cpp:316: undefined reference to `QEventDispatcherGlib::QEventDispatcherGlib(QObjec t*)'
    /opt/qtsdk-2010.02/qt/src/corelib/kernel/qcoreapplication.cpp:315: undefined reference to `QEventDispatcherGlib::versionSupported()'
    collect2: ld returned 1 exit status
    gmake[1]: *** [../../lib/libQtCore.so.4.6.2] Error 1
    gmake[1]: Leaving directory `/opt/qtsdk-2010.02/qt/src/corelib'
    gmake: *** [sub-corelib-make_default-ordered] Error 2

    What should I do to solve this error?

  6. #6
    Join Date
    Mar 2010
    Posts
    25
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    Which version you download, qt embedded linux, or qt X11? Maybe you can try 'make' instead of 'gmake'?

  7. #7
    Join Date
    Mar 2010
    Posts
    18
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    I have downloaded QT Linux/X11 from the website.

    I tried 'make' command also but it also gave me the same error.

  8. #8
    Join Date
    Mar 2010
    Posts
    18
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    Hi please, let me know if you have any idea about this. Or what else can I try for it?
    Why do I get such error during make?

  9. #9
    Join Date
    Mar 2010
    Posts
    25
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    Sorry that I am using QT embedded all the time, in my case after I install x11, everthing goes fine already.
    I am also new user to QT, maybe someone else able to help you.

  10. #10
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: configure??? qt 4.6.2

    Maybe this will help:
    To build Qt from its source code, you will also need to install the development packages for these libraries for your system.
    From here: http://doc.qt.nokia.com/4.6/requirem...i-dependencies

Similar Threads

  1. configure QT 4.6.2
    By QT-embedded in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd April 2010, 15:26
  2. Configure Qt
    By Antebios in forum Newbie
    Replies: 3
    Last Post: 31st March 2009, 18:36
  3. Configure Qt
    By Krish_ng in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2007, 11:38
  4. Configure dev-c++ with QT
    By iGoo in forum Newbie
    Replies: 6
    Last Post: 31st May 2006, 12:09
  5. configure, then what?
    By Morea in forum Installation and Deployment
    Replies: 9
    Last Post: 5th March 2006, 19:10

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.