[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


Problem building PerlQt
by Bill Wetzel on Tuesday 19/Nov/2002, @21:21
Following is a note that I sent to Germain. I'm not familiar with the protocol for this group so I'm also posting it here in the event that his is more appropriate than direct mail.

Hello Germain,

First, let me thank you very much for picking up the work on PerlQt. I had
used it several years ago for a number of applications and loved it. Now I am
looking at it again and pleased to see that it is still alive and going
strong.

I downloaded:

PerlQt-3.002.tar.gz

as well as:

qt-x11-free-3.1.0.tar.bz2

and am running under:

RedHat 7.2
Linux officeroom 2.4.9-13 #1 Tue Oct 30 20:11:04 EST 2001 i686 unknown

qt built successfully but I had problems with PerlQt. A comment from you at:
http://dot.kde.org/1032279318 dated 17 Sept 2002 indicates that kalyptus
can't parse Qt-3.1b1 yet. Although I am using 3.1.0, and not the beta
release, your comment may still be applicable. That may explain the problem
but let me ask it anyway since two months have passed and perhaps that
situation has changed.

The configure command for PerlQt dies with the following messages appearing
at the end of the output to the terminal:

Generating bindings for smoke language...
Starting writeDoc for qt...
Preparsing...
Skipping union QPDevCmdParam
Writing smokedata.cpp...
ArgList isn't a known type (type=ArgList)
Cardinal isn't a known type (type=Cardinal)
Item isn't a known type (type=Item)
QEventLoop::ProcessEventsFlags isn't a known type
(type=QEventLoop::ProcessEventsFlags)
QPixmap) protected: QPixmap( int isn't a known type (type=QPixmap) protected:
QPixmap( int)
QPtrCollection::Item isn't a known type (type=QPtrCollection::Item)
QtStaticMetaObjectFunction isn't a known type
(type=QtStaticMetaObjectFunction)
Widget isn't a known type (type=Widget)
WidgetClass isn't a known type (type=WidgetClass)
WordWrap isn't a known type (type=WordWrap)
XtAppContext isn't a known type (type=XtAppContext)
XtPointer isn't a known type (type=XtPointer)
bool (* qt_static_property)(QObject* , int, int, QVariant* ) isn't a known
type (type=bool (* qt_static_property)(QObject* , int, int, QVariant* ))
Writing x_*.cpp...
generateVirtualMethod: QDnsSocket: No method found for
QDnsSocket::className() const
config.status: creating smoke/Makefile
config.status: error: cannot find input file: smoke/Makefile.in

Is this because I am using qt 3.1.0? If so, when do you expect to support
that version of qt? I am unable to find a previous version of qt at the
trolltech website and so I'm pretty much stuck with this.

The actual error is :
"generateVirtualMethod: QDnsSocket: No method found for
QDnsSocket::className() const"

The config.status error about not finding smoke/Makefile.in arises because
generate.pl fails and a "cd ../.." following it in the configure script is
not executed thus causing the script to be executing in an unexpected
directory. The return from generate.pl should probably be tested in a more
robust manner.

Thanks,
Bill Wetzel
  Related Links
 ·   Articles on Developer
 ·   Also by Bill Wetzel
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

  "I'm holding out for a computer interface that plugs directly into my cerebral cortex." -- Sirtaj Singh Kang
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]