[Kde-bindings] Importing perl bindings into kdebindings module.

Chris Burel chrisburel at gmail.com
Tue May 11 22:27:37 UTC 2010


Strange, I just did a fresh checkout from
svn://anonsvn.kde.org/home/kde/trunk/playground/bindings/perlqt4, and
it built fine.  My KDE build is a little old, Qt 4.6.2, KDE 4.4.0.  I
had to modify smoke/plasma/plasma_includes.h to remove the
abstractdialogmanager header, presumably because my KDE is older.
I'll try to build the newest version when I get home tonight.

-Chris

2010/5/11 Arno Rehn <arno at arnorehn.de>:
> On Tuesday 11 May 2010 18:10:46 Chris Burel wrote:
>> I never heard anything back about this, but I'd really like for the
>> Perl bindings to be in 4.5.  Are there any objections to me committing
>> my code to trunk?  If not, I'll do that this weekend.
> Sorry, haven't had time to look at it yet. When I try to compile it, I get a
> bunch of undefined reference erros at linking:
>
> Linking CXX shared library ../../blib/arch/auto/Qt4/Qt4.so
> CMakeFiles/perlqt4.dir/handlers.o: In function `free':
> /usr/include/QtCore/qlist.h:402: undefined reference to
> `QPrinterInfo::~QPrinterInfo()'
> CMakeFiles/perlqt4.dir/handlers.o: In function `free':
> /usr/include/QtGui/qtextformat.h:368: undefined reference to
> `QTextFormat::~QTextFormat()'
> CMakeFiles/perlqt4.dir/handlers.o: In function `free':
> /usr/include/QtCore/qvector.h:436: undefined reference to
> `QTextFormat::~QTextFormat()'
> CMakeFiles/perlqt4.dir/handlers.o: In function `free':
> /usr/include/QtGui/qtextformat.h:368: undefined reference to
> `QTextFormat::~QTextFormat()'
> CMakeFiles/perlqt4.dir/handlers.o: In function `free':
> /usr/include/QtGui/qtextedit.h:223: undefined reference to
> `QTextCursor::~QTextCursor()'
> CMakeFiles/perlqt4.dir/handlers.o: In function `free':
> /usr/include/QtCore/qlist.h:402: undefined reference to
> `QTableWidgetSelectionRange::~QTableWidgetSelectionRange()'
> /usr/include/QtCore/qlist.h:404: undefined reference to
> `QKeySequence::~QKeySequence()'
> CMakeFiles/perlqt4.dir/handlers.o: In function
> `marshall_QDBusReplyQStringList(Marshall*)':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/handlers.cpp:1900: undefined
> reference to `QDBusError::QDBusError(QDBusError const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function
> `QDBusReply<QStringList>::isValid() const':
> /usr/include/QtDBus/qdbusreply.h:112: undefined reference to
> `QDBusError::isValid() const'
> CMakeFiles/perlqt4.dir/handlers.o: In function `QColor':
> /usr/include/QtGui/qcolor.h:277: undefined reference to `QColor::invalidate()'
> CMakeFiles/perlqt4.dir/handlers.o: In function
> `QVector<QTextFormat>::realloc(int, int)':
> /usr/include/QtCore/qvector.h:502: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> /usr/include/QtCore/qvector.h:507: undefined reference to
> `QTextFormat::QTextFormat()'
> /usr/include/QtCore/qvector.h:456: undefined reference to
> `QTextFormat::~QTextFormat()'
> CMakeFiles/perlqt4.dir/handlers.o: In function
> `QVector<QTextFormat>::append(QTextFormat const&)':
> /usr/include/QtCore/qvector.h:546: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> /usr/include/QtCore/qvector.h:550: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> /usr/include/QtCore/qvector.h:546: undefined reference to
> `QTextFormat::~QTextFormat()'
> /usr/include/QtCore/qvector.h:555: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_copy':
> /usr/include/QtCore/qlist.h:383: undefined reference to
> `QKeySequence::QKeySequence(QKeySequence const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function
> `QList<QKeySequence>::append(QKeySequence const&)':
> /usr/include/QtCore/qlist.h:478: undefined reference to
> `QKeySequence::QKeySequence(QKeySequence const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_construct':
> /usr/include/QtCore/qlist.h:352: undefined reference to
> `QKeySequence::QKeySequence(QKeySequence const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function
> `QList<QKeySequence>::append(QKeySequence const&)':
> /usr/include/QtCore/qlist.h:478: undefined reference to
> `QKeySequence::~QKeySequence()'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_copy':
> /usr/include/QtCore/qlist.h:370: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_construct':
> /usr/include/QtCore/qlist.h:351: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_copy':
> /usr/include/QtCore/qlist.h:370: undefined reference to
> `QTableWidgetSelectionRange::QTableWidgetSelectionRange(QTableWidgetSelectionRange
> const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_construct':
> /usr/include/QtCore/qlist.h:351: undefined reference to
> `QTableWidgetSelectionRange::QTableWidgetSelectionRange(QTableWidgetSelectionRange
> const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `ExtraSelection':
> /usr/include/QtGui/qtextedit.h:223: undefined reference to
> `QTextCursor::QTextCursor(QTextCursor const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `QTextCharFormat':
> /usr/include/QtGui/qtextformat.h:368: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `ExtraSelection':
> /usr/include/QtGui/qtextedit.h:223: undefined reference to
> `QTextCursor::QTextCursor(QTextCursor const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `QTextCharFormat':
> /usr/include/QtGui/qtextformat.h:368: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> /usr/include/QtGui/qtextformat.h:368: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> /usr/include/QtGui/qtextformat.h:368: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_copy':
> /usr/include/QtCore/qlist.h:370: undefined reference to
> `QPrinterInfo::QPrinterInfo(QPrinterInfo const&)'
> CMakeFiles/perlqt4.dir/handlers.o: In function `node_construct':
> /usr/include/QtCore/qlist.h:351: undefined reference to
> `QPrinterInfo::QPrinterInfo(QPrinterInfo const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QPixmap>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QPixmap::QPixmap()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QPixmap::~QPixmap()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QPixmap::QPixmap()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1447: undefined
> reference to `QPixmap::QPixmap(QPixmap const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1446: undefined
> reference to `QPixmap::~QPixmap()'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QFont>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QFont::QFont()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QFont::~QFont()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to `QFont::QFont()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1450: undefined
> reference to `QFont::QFont(QFont const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1449: undefined
> reference to `QFont::~QFont()'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QBrush>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QBrush::QBrush()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QBrush::~QBrush()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to `QBrush::QBrush()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1453: undefined
> reference to `QBrush::QBrush(QBrush const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1452: undefined
> reference to `QBrush::~QBrush()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QPixmap>':
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QPixmap::~QPixmap()'
> CMakeFiles/perlqt4.dir/util.o: In function `QColor':
> /usr/include/QtGui/qcolor.h:277: undefined reference to `QColor::invalidate()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QPixmap>':
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QFont>':
> /usr/include/QtCore/qvariant.h:577: undefined reference to `QFont::QFont(QFont
> const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QFont::~QFont()'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QPalette>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QPalette::QPalette()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QPalette::~QPalette()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QPalette::QPalette()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1459: undefined
> reference to `QPalette::QPalette(QPalette const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1458: undefined
> reference to `QPalette::~QPalette()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QFont>':
> /usr/include/QtCore/qvariant.h:573: undefined reference to `QFont::QFont(QFont
> const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QBrush>':
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QBrush::QBrush(QBrush const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QBrush::~QBrush()'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QIcon>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QIcon::QIcon()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QIcon::~QIcon()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to `QIcon::QIcon()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1462: undefined
> reference to `QIcon::QIcon(QIcon const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1461: undefined
> reference to `QIcon::~QIcon()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QBrush>':
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QBrush::QBrush(QBrush const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `QColor':
> /usr/include/QtGui/qcolor.h:277: undefined reference to `QColor::invalidate()'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QImage>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QImage::QImage()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QImage::~QImage()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to `QImage::QImage()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1465: undefined
> reference to `QImage::QImage(QImage const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1464: undefined
> reference to `QImage::~QImage()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QPalette>':
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QPalette::QPalette(QPalette const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QPalette::~QPalette()'
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QPalette::QPalette(QPalette const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QIcon>':
> /usr/include/QtCore/qvariant.h:577: undefined reference to `QIcon::QIcon(QIcon
> const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QIcon::~QIcon()'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1471: undefined
> reference to `QRegion::QRegion(QRegion const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1470: undefined
> reference to `QRegion::~QRegion()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QIcon>':
> /usr/include/QtCore/qvariant.h:573: undefined reference to `QIcon::QIcon(QIcon
> const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QImage>':
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QImage::QImage(QImage const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QImage::~QImage()'
> CMakeFiles/perlqt4.dir/util.o: In function `QBitmap':
> /usr/include/QtGui/qbitmap.h:56: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> /usr/include/QtGui/qbitmap.h:56: undefined reference to `vtable for QBitmap'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1473: undefined
> reference to `QBitmap::~QBitmap()'
> CMakeFiles/perlqt4.dir/util.o: In function `qVariantValue<QImage>':
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QImage::QImage(QImage const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `XS_qvariant_value':
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1477: undefined
> reference to `QCursor::QCursor(QCursor const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1476: undefined
> reference to `QCursor::~QCursor()'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1483: undefined
> reference to `QKeySequence::QKeySequence(QKeySequence const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1482: undefined
> reference to `QKeySequence::~QKeySequence()'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1486: undefined
> reference to `QPen::QPen(QPen const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1485: undefined
> reference to `QPen::~QPen()'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1492: undefined
> reference to `QTextFormat::QTextFormat(QTextFormat const&)'
> /home/pumphaus/dev/KDE/perlqt4/perl/perlqt/src/util.cpp:1491: undefined
> reference to `QTextFormat::~QTextFormat()'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QRegion>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QRegion::QRegion()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QRegion::~QRegion()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QRegion::QRegion()'
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QRegion::QRegion(QRegion const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QRegion::~QRegion()'
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QRegion::QRegion(QRegion const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QBitmap>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QBitmap::QBitmap()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QBitmap::~QBitmap()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QBitmap::QBitmap()'
> CMakeFiles/perlqt4.dir/util.o: In function `QBitmap':
> /usr/include/QtGui/qbitmap.h:56: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> /usr/include/QtGui/qbitmap.h:56: undefined reference to `vtable for QBitmap'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QBitmap>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QBitmap::~QBitmap()'
> CMakeFiles/perlqt4.dir/util.o: In function `QBitmap':
> /usr/include/QtGui/qbitmap.h:56: undefined reference to
> `QPixmap::QPixmap(QPixmap const&)'
> /usr/include/QtGui/qbitmap.h:56: undefined reference to `vtable for QBitmap'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QCursor>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QCursor::QCursor()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QCursor::~QCursor()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QCursor::QCursor()'
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QCursor::QCursor(QCursor const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QCursor::~QCursor()'
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QCursor::QCursor(QCursor const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QKeySequence>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QKeySequence::QKeySequence()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QKeySequence::~QKeySequence()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QKeySequence::QKeySequence()'
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QKeySequence::QKeySequence(QKeySequence const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QKeySequence::~QKeySequence()'
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QKeySequence::QKeySequence(QKeySequence const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QPen>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QPen::QPen()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QPen::~QPen()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to `QPen::QPen()'
> /usr/include/QtCore/qvariant.h:577: undefined reference to `QPen::QPen(QPen
> const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to `QPen::~QPen()'
> /usr/include/QtCore/qvariant.h:573: undefined reference to `QPen::QPen(QPen
> const&)'
> CMakeFiles/perlqt4.dir/util.o: In function `qvariant_cast<QTextFormat>':
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QTextFormat::QTextFormat()'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QTextFormat::~QTextFormat()'
> /usr/include/QtCore/qvariant.h:579: undefined reference to
> `QTextFormat::QTextFormat()'
> /usr/include/QtCore/qvariant.h:577: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> /usr/include/QtCore/qvariant.h:575: undefined reference to
> `QTextFormat::~QTextFormat()'
> /usr/include/QtCore/qvariant.h:573: undefined reference to
> `QTextFormat::QTextFormat(QTextFormat const&)'
> collect2: ld returned 1 exit status
>
> --
> Arno Rehn
> arno at arnorehn.de
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
>



More information about the Kde-bindings mailing list