[KPhotoAlbum] Link problem with current SVN

Jesper K. Pedersen blackie at kdab.com
Sun Mar 28 11:18:07 BST 2010


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?

Cheers

On Sunday 28 March 2010 06:04:25 Robert Krawitz wrote:
| I'm getting the following link error.  This is using Qt 4.6.2 w/KDE
| 4.4.1 on OpenSUSE 11.1.  Seems very odd that it's only flagging that
| one symbol.
| 
| Linking CXX executable kphotoalbum
| 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
| make[2]: *** [kphotoalbum] Error 1
| make[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
| make: *** [all] Error 2
| _______________________________________________
| KPhotoAlbum mailing list
| KPhotoAlbum at mail.kdab.com
| http://mail.kdab.com/mailman/listinfo/kphotoalbum
| 

-- 
Jesper K. Pedersen | blackie at kdab.com
Senior Software Engineer and Global Training Manager
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions



More information about the Kphotoalbum mailing list