2011/11/7 Martin Klapetek <[email protected]>: > On Sun, Nov 6, 2011 at 19:55, Martin Klapetek <[email protected]> > wrote: >> >> On Sun, Nov 6, 2011 at 19:47, Frederik Schwarzer <[email protected]> >> wrote: >>> >>> Hi, >>> >>> for telepathy-send-file I receive the following error: >>> >>> Scanning dependencies of target telepathy-kde-send-file_automoc >>> Generating service-availability-checker.moc >>> Generating accounts-filter-model.moc >>> Generating contact-model-item.moc >>> Generating accounts-model-item.moc >>> Generating tree-node.moc >>> Generating accounts-model.moc >>> Generating moc_flat-model-proxy.cpp >>> Generating moc_mainwindow.cpp >>> [ 0%] Built target telepathy-kde-send-file_automoc >>> [ 9%] Generating ui_mainwindow.h >>> Scanning dependencies of target telepathy-kde-send-file >>> [ 18%] Building CXX object >>> CMakeFiles/telepathy-kde-send-file.dir/telepathy-kde-send-file_automoc.o >>> [ 27%] Building CXX object >>> CMakeFiles/telepathy-kde-send-file.dir/mainwindow.o >>> /home/fs/compile/telepathy-send-file/mainwindow.cpp: In constructor >>> ‘MainWindow::MainWindow(const KUrl&, QWidget*)’: >>> /home/fs/compile/telepathy-send-file/mainwindow.cpp:127:104: error: no >>> matching function for call to ‘filePreview(QList<KFileItem>&, QSize, >>> QStringList*)’ >>> /home/fs/compile/telepathy-send-file/mainwindow.cpp:127:104: note: >>> candidates are: >>> /usr/include/KDE/KIO/../../kio/previewjob.h:165:24: note: >>> KIO::PreviewJob* KIO::filePreview(const KFileItemList&, int, int, int, int, >>> bool, bool, const QStringList*) >>> /usr/include/KDE/KIO/../../kio/previewjob.h:165:24: note: no known >>> conversion for argument 2 from ‘QSize’ to ‘int’ >>> /usr/include/KDE/KIO/../../kio/previewjob.h:187:28: note: >>> KIO::PreviewJob* KIO::filePreview(const KUrl::List&, int, int, int, int, >>> bool, bool, const QStringList*) >>> /usr/include/KDE/KIO/../../kio/previewjob.h:187:28: note: no known >>> conversion for argument 1 from ‘QList<KFileItem>’ to ‘const KUrl::List&’ >>> /home/fs/compile/telepathy-send-file/mainwindow.cpp:128:10: error: ‘class >>> KIO::PreviewJob’ has no member named ‘setOverlayIconAlpha’ >>> /home/fs/compile/telepathy-send-file/mainwindow.cpp:129:10: error: ‘class >>> KIO::PreviewJob’ has no member named ‘setScaleType’ >>> /home/fs/compile/telepathy-send-file/mainwindow.cpp:129:23: error: >>> ‘Unscaled’ is not a member of ‘KIO::PreviewJob’ >>> make[2]: *** [CMakeFiles/telepathy-kde-send-file.dir/mainwindow.o] Error >>> 1 >>> make[1]: *** [CMakeFiles/telepathy-kde-send-file.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> >>> I run KDE 4.6.5. Do I have to run 4.7.x? >> >> Unfortunately yes, this function was added in 4.7. I'll investigate if >> that one from 4.6 was deprecated or what, if not, we could probably use that >> one. > > Ok, that method is deprecated. That means, that send-file needs kdelibs >= > 4.7. > I'll add a min required KDE version to the CMake file, any objections?
No objections from me. I think it's ok to rely on latest KDE stable, though I never want to have us rely on non-released external dependencies. David _______________________________________________ KDE-Telepathy mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-telepathy
