Hello Sajjadul,

Sajjadul Islam wrote:
> Hello
> 
> I am trying to recompile the source (OpenSG 1.8) with Qt4 support using 
> following command:
>  ./configure --with-compiler=g++ --enable-glut 
> --with-glutincludedir=/usr/include/GL --with-glutlibdir=/usr/lib 
> --enable-png --with-pngincludedir=/usr/include --with-pnglibdir=/usr/lib 
> --enable-jpg --with-jpgincludedir=/usr/include --with-jpglibdir=/usr/lib 
> --enable-tif --with-tifincludedir=/usr/include --with-tiflibdir=/usr/lib 
> --enable-qt4

in my experience it is in general better to give as few as possible 
directory options to configure as long as it does not make bad choices 
when left to itself.

> -with-qt4=/usr/include/qt4,/usr/share/qt4,/usr/lib 
  ^^
   --with-qt4

the idea of this option is to give one path "somedir", the headers are 
then expected in "somedir/include", the libs in "somedir/lib". For many 
libraries this is sufficient, even if they are installed in non-standard 
locations.

> --with-qt4includedir=/usr/include/qt4 --with-qt4libdir=/usr/share/qt4 
                                                              ^^^^^
                are your qt4 libs really installed in /usr/share ?

> --with-qt4bindir=/usr/share/qt4/bin

> But Qt is not configured as expected and ended with the following 
> configure output.
> 
> Result:
> QT configured, but QtCore.so could not be found in /usr/share/qt4!

Is this unexpected?  What I mean is: is libQtCore.so actually in that 
directory? If not in which one is it?

> Now if i try to compile i believe i shall be having compile error

yes, very likely.

> Any hint to solve that issue?

configure can not find the Qt4 shared libs in the place you told it it 
could find them. The main question is: are the libs in that place or did 
  you accidentally give the wrong path to configure?
        
        Hope it helps,
                Carsten

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to