[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting qtquran to compile in Kdevelop (version 0.4 - from sourceforge)
- To: developer at arabeyes dot org
- Subject: Re: Getting qtquran to compile in Kdevelop (version 0.4 - from sourceforge)
- From: Faaiez Sallie <Faaiez at westnet dot com dot au>
- Date: 06 Jun 2003 22:16:38 +0100
- Organization:
Well after some more time and:
compiling xmlwrapp-0-4-1
I've managed to get rid of the first two errors.
I am now left with these:
qtquran.h:44: error: syntax error before `*' token
qtquran.h:70: error: parse error before `{' token
qtquran.h:71: error: virtual outside class declaration
qtquran.h:71: error: non-member function `const char*
className()' cannot have
`const' method qualifier
qtquran.h:71: error: virtual outside class declaration
qtquran.h:71: error: virtual outside class declaration
qtquran.h:71: error: virtual outside class declaration
qtquran.h:71: error: virtual outside class declaration
qtquran.h: In function `QObject* qObject()':
qtquran.h:71: error: invalid use of `this' in non-member
function
qtquran.h: At global scope:
qtquran.h:71: error: parse error before `private'
qtquran.h:75: error: destructors must be member functions
qtquran.h:81: error: parse error before `public'
qtquran.h:101: error: parse error before `private'
qtquran.h:112: error: syntax error before `*' token
qtquran.h:116: error: '_libquran' is used as a type, but is not
defined as a
type.
qtquran.h:138: error: parse error before `}' token
qtquran.h:139: error: `quran_audio' was not declared in this
scope
qtquran.h:139: error: parse error before `)' token
main.cpp: In function `int main(int, char**)':
main.cpp:44: error: `quran_init' undeclared (first use this
function)
main.cpp:44: error: (Each undeclared identifier is reported only
once for each
function it appears in.)
main.cpp:53: error: `QTQURAN_SHARE_DIR' undeclared (first use
this function)
main.cpp:53: error: parse error before string constant
main.cpp:56: error: `quran' undeclared (first use this function)
main.cpp:56: error: parse error before `(' token
/usr/lib/qt3/include/qvaluelist.h: At top level:
qtquran.h:71: warning: `bool qt_static_property(QObject*, int,
int, QVariant*)'
declared `static' but never defined
qtquran.h:71: warning: `QMetaObject* staticMetaObject()'
declared `static' but
never defined
qtquran.h:71: warning: `QString tr(const char*, const char*)'
declared `static'
but never defined
qtquran.h:71: warning: `QString trUtf8(const char*, const
char*)' declared
`static' but never defined
gmake: *** [main.o] Error 1
*** failed ***
If anyone has any ideas, please don't hesitate to let me know.
Thanks
Faaiez
On Wed, 2003-06-04 at 21:26, Faaiez Sallie wrote:
> 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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: developer-unsubscribe at arabeyes dot org
> For additional commands, e-mail: developer-help at arabeyes dot org
>