[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting qtquran to compile in Kdevelop - As requested this isbeing resent



I would like to thank Maher and Muhammad for their replies.

FYI : I am using SUSE 8.2 at the moment for most of my development.

I've managed to sort the problem by basically deleting the Makefile.am
and recreating it. Should have thought of this in the first place. It
then finds the correct QT libraries. I now however have the following
errors:

In file included from qtquran.h:30, 
from main.cpp:25: 
quran.h:23:27: xmlwrapp/init.h: No such file or directory 
quran.h:24:34: xmlwrapp/tree_parser.h: No such file or directory 
In file included from qtquran.h:30, 
from main.cpp:25: 
quran.h:104: error: syntax error before `::' token 
quran.h:105: error: syntax error before `::' token 
In file included from main.cpp:25: 
qtquran.h:62: error: syntax error before `*' token 
qtquran.h:79: error: redefinition of `class QuranApp' 
quran.h:51: error: previous definition of `class QuranApp' 
qtquran.h:136: error: syntax error before `*' token 
qtquran.h:141: error: '_libquran' is used as a type, but is not defined
as a 
type. 
qtquran.h:79: warning: `struct QuranApp' has virtual functions but
non-virtual 
destructor 
qtquran.h:153: error: `quran_audio' was not declared in this scope 
qtquran.h:153: error: parse error before `)' token 
main.cpp: In function `int main(int, char**)': 
main.cpp:59: error: no matching function for call to `QApplication:: 
setMainWidget(QuranApp*&)' 
/usr/lib/qt3/include/qapplication.h:119: error: candidates are: virtual
void 
QApplication::setMainWidget(QWidget*) 
main.cpp:60: error: `show' undeclared (first use this function) 
main.cpp:60: error: (Each undeclared identifier is reported only once
for each 
function it appears in.) 
gmake: *** [main.o] Error 1 
*** failed *** 


Thank you.



On Mon, 2003-06-02 at 22:38, Maher Ben Moussa wrote:
> It's a common problem by mandrake 9.x. Create a link named libqt.so to 
> libqt-mt.so.x.x.x and place the text below to your .bash_profile
> 
> QMAKESPEC=/usr/lib/qt3/mkspecs/linux-g++
> export QMAKESPEC
> 
> QTDIR=/usr/lib/qt3
> PATH=$QTDIR/bin:$PATH
> MANPATH=$QTDIR/doc/man:$MANPATH
> LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> export QTDIR PATH MANPATH LD_LIBRARY_PATH
> 
> PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/lib/qt3/bin/
> 
> 
> >From: Faaiez Sallie
> >Subject: Getting qtquran to compile in Kdevelop - As requested this isbeing 
> >resent
> >Date: 02 Jun 2003 19:09:44 +0100
> >
> >Peace
> >
> >I've managed to sucessfully compile libquran from cvs.
> >I then opened qtquran in Kdevelop 2.1.5 and tried compiling it but I got
> >the following errors:
> >
> >main.cpp:19:26: qapplication.h: No such file or directory
> >main.cpp:20:19: qfont.h: No such file or directory
> >main.cpp:21:21: qstring.h: No such file or directory
> >main.cpp:22:24: qtextcodec.h: No such file or directory
> >main.cpp:23:25: qtranslator.h: No such file or directory
> >In file included from main.cpp:25:
> >
> >etc...
> >
> >I then decided to download the qtquran tarball from sourceforge and
> >opened the quran.kdevprj file in kdevelop. When trying to compile this I
> >get the same errors.
> >
> >Any ideas.
> >
> >Thanks
> >
> >Faaiez
> >
> >
> 
> _________________________________________________________________
> MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
>