Problems compiling qtoctave-0.7.1
Donald MacKinnon
d.j.mackinnon at btinternet.com
Fri Feb 1 14:14:42 CST 2008
Donald MacKinnon wrote:
> I'm trying to compile qtoctave-0.7.1 under Mandriva 2007.0.
> I've imported the qt4.1.4 rpm files for 2007 from the Mandriva site.
> The configuration runs successfully.
> The compilation fails to find the header file for QCompleter in the file
> codeedit.h . I've included all the lib...devels I can find.
> From the makefile printout below, can anyone suggest where I can find
> the missing header file.
>
> cd qtoctave; /usr/bin/gmake
> gmake[1]: Entering directory
> `/home/donald/octave-3.0.0/qtoctave-0.7.1/qtoctave'
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DUSER_CONFIG -DQT_NO_DEBUG
> -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore
> -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml
> -I/usr/lib/qt4/include -I. -Iprojects -Ioperations -Idynamic_help -I.
> -I. -o codeedit.o codeedit.cpp
> In file included from codeedit.cpp:20:
> codeedit.h:26:22: error: QCompleter: No such file or directory
> codeedit.h:36: error: ‘QCompleter’ does not name a type
> codeedit.cpp: In constructor ‘CodeEdit::CodeEdit(QWidget*, QString)’:
> :
>
> Thanks for any helpful suggestions.
> Donald
I may have found why QCompleter cannot be found. In the document below ..
http://doc.trolltech.com/4.2/qcompleter.html
..
it would appear that QCompleter was added into QT version 4.2 . The
Mandriva qt4 update refers to qt4.1.3 . (I incorrectly quoted qt4.1.4 in
my original post)
On the Trolltech website the opensource download offering is 4.1.3 .
My apologies for wasting anyone's time.
Regards,
Donald
More information about the Help-octave
mailing list