[KPhotoAlbum] Link problem with current SVN

Robert Krawitz rlk at alum.mit.edu
Sun Mar 28 14:59:12 BST 2010


   Date: Sun, 28 Mar 2010 09:46:00 -0400
   From: Robert Krawitz <rlk at alum.mit.edu>
   Cc: kphotoalbum at kdab.net, kphotoalbum at kdab.com
   MIME-Version: 1.0
   Content-Type: text/plain; charset="us-ascii"

      From: "Jesper K. Pedersen" <blackie at kdab.com>
      Date: Sun, 28 Mar 2010 11:18:07 +0100

      That sounds rather odd. Qt can for sure not remove that function
      from Qt in Qt 4.6.2, that would break their binary compatibility.

      Did you try a fresh compile of KPA? If you still have problems, try
      and join me on IRC, and I'll see what I can do.

      One thing. is this the Qt that the rest of KDE was compiled with,
      or is it a Qt you compiled yourself?

   This was a fresh compile of KPA from a newly checked out sandbox (I
   literally ran cmake . followed by make).  This Qt was installed from
   the same binary repository as the KDE bits.

   I'm going to try installing the debuginfo packages to take a look at
   the symbols there.

The debug library contains the symbol in question:

libQtGui.so.debug
00000000004ac660 t qt_pointSize(double, int)
00000000004038c0 T QFontDatabase::pointSizes(QString const&, QString const&)
00000000003e2ae0 T QFont::pointSizeF() const
00000000003e2a90 T QFont::pointSize() const
00000000003e3990 T QFontInfo::pointSizeF() const
00000000003e39b0 T QFontInfo::pointSize() const

and the link line contains it:

/usr/bin/c++    -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new
-fno-common -Woverloaded-virtual -fno-threadsafe-statics
-fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG
-DQT_NO_DEBUG  -Wl,--enable-new-dtags
CMakeFiles/kphotoalbum.dir/kphotoalbum_automoc.o ...many files
elided... -o kphotoalbum -rdynamic
-L/home/rlk/sandbox/kpa4/kphotoalbum/lib lib/libSQLDB.a
lib/libUtilities.a /usr/lib64/libkde3support.so.4.4.0
/usr/lib64/libkio.so.5.4.0 -ljpeg -lkmediaplayer -lphonon -lexiv2
-lnepomuk lib/libSQLDBSchema.a /usr/lib64/libQtSql.so
/usr/lib64/libQtNetwork.so /usr/lib64/libQtXml.so
/usr/lib64/libkdeui.so.5.4.0 /usr/lib64/libQtSvg.so
/usr/lib64/libkdecore.so.5.4.0 /usr/lib64/libQtDBus.so
/usr/lib64/libQtCore.so -lpthread /usr/lib64/libQtGui.so
/usr/lib64/libQt3Support.so
CMakeFiles/kphotoalbum.dir/DateBar/DateBarWidget.o: In function `DateBar::DateBarWidget::drawHistograms(QPainter&)':
/home/rlk/sandbox/kpa4/kphotoalbum/DateBar/DateBarWidget.cpp:264: undefined reference to `QFont::pointSize() const'
CMakeFiles/kphotoalbum.dir/MainWindow/ExternalPopup.o: In function `MainWindow::ExternalPopup::populate(KSharedPtr<DB::ImageInfo>, QStringList const&)':
/home/rlk/sandbox/kpa4/kphotoalbum/MainWindow/ExternalPopup.cpp:56: undefined reference to `QFont::pointSize() const'
CMakeFiles/kphotoalbum.dir/Exif/InfoDialog.o: In function `InfoDialog':
/home/rlk/sandbox/kpa4/kphotoalbum/Exif/InfoDialog.cpp:54: undefined reference to `QFont::pointSize() const'
/home/rlk/sandbox/kpa4/kphotoalbum/Exif/InfoDialog.cpp:54: undefined reference to `QFont::pointSize() const'
collect2: ld returned 1 exit status



More information about the Kphotoalbum mailing list