I'm try to make thumbnail-plugin for display thumbnail for video files in Dolphin. I make similar as described here http://api.kde.org/frameworks-api/frameworks5-apidocs/kio/html/classThumbCreator.html and after relogin I can see new option in Dolphin settings. But even I enable this I still not have thumbnail for video files. It's seems like my library just not loads. But I don't understand why. Reproducible: Always Steps to Reproduce: 1. git clone https://github.com/Yukariin/ffmpegthumb.git (my repo) 2. cmake . 3. make 4. sudo make install 5. Log out and log in again 6. Open Dolphin 7. Press `Config` button 8. Select `Configure Dolphin` in config menu 9. Select `General` tab 10. Select `Previews` tab 11. Check `Video Files (ffmpegthumb)` 12. Go to any folder with videos Actual Results: Still not have thumbnail for video files Expected Results: Thumbnail for video files Code of my plugin placed on github and can be found here - https://github.com/Yukariin/ffmpegthumb
Thanks for the bug report. This might be a general issue with the preview infrastructure in KDE Frameworks, and not with the Dolphin application. Do thumbnails work for you in the file dialog of, e.g., KWrite, or in Folder View?
(In reply to Frank Reininghaus from comment #1) > Do thumbnails work for you in the file dialog of, e.g., KWrite, or in Folder View? Nope, they not work in file dialog and Folder View too. But in the same time thumbnailers from kio-extras, which is VERY similar with my, works great...
Oh, I realized. My files installs in /usr/local prfix instead of /usr/lib. So, Dolphin read .desktop file and try to load specified library from /usr/lib/qt/plugins but it installed in /usr/local/lib/plugins. I find similar issue on SO - http://stackoverflow.com/questions/7254976 But in new Plasma we not have anymore kde4-sonfig, how I can do similar thing in plasma?
(In reply to miflab from comment #3) > Oh, I realized. > My files installs in /usr/local prfix instead of /usr/lib. So, Dolphin read > .desktop file and try to load specified library from /usr/lib/qt/plugins but > it installed in /usr/local/lib/plugins. > I find similar issue on SO - http://stackoverflow.com/questions/7254976 > But in new Plasma we not have anymore kde4-sonfig, how I can do similar > thing in plasma? cmake -DCMAKE_INSTALL_PREFIX=/usr
Tested with the Arch linux ; Qt: 5.5.0 KDE Frameworks: 5.13.0 KDE Applications: 15.08 Compiling with: $ mkdir -p builddir $ cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON # make install => -- Installing: /usr/lib/qt/plugins/ffmpegthumb.so -- Installing: /usr/share/kservices5/ffmpegthumb.desktop Seems to work.
Yes, this work with -DKDE_INSTALL_USE_QT_SYS_PATHS=ON now, thanks. Sorry for bothering.