Closed federicosnobohm closed 4 years ago
Have you installed qtbase5-dev?
Also, what version of Qt is installed on your computer?
Can you please test ^^^?
@federicosnobohm please let me know if you need help with testing the fix
Thanks for https://github.com/zzag/plasma5-wallpapers-dynamic/commit/90d0fbd7ccd4d6d7008d0bf136e7b696da0fa587, on a fresh installation of Kubuntu 20.04 I now get this error:
plasma5-wallpapers-dynamic/src/lib/kdynamicwallpaperwriter.cpp:240:18: error: invalid use of incomplete type ‘class QDebug’
Removing the warning causes the above error allows the make
to progress further, which then stops with these errors:
plasma5-wallpapers-dynamic/src/declarative/dynamicwallpaperdescription.h:38:40: error: field ‘m_metaData’ has incomplete type ‘QVector<KDynamicWallpaperMetaData>’
plasma5-wallpapers-dynamic/src/declarative/dynamicwallpaperdescription.h:39:19: error: field ‘m_imageUrls’ has incomplete type ‘QVector<QUrl>’
@mitchelloharawild can you please test ^^^ ?
Thanks, this resolves the first error. I am now experiencing the second errors:
plasma5-wallpapers-dynamic/src/declarative/dynamicwallpaperdescription.h:38:40: error: field ‘m_metaData’ has incomplete type ‘QVector<KDynamicWallpaperMetaData>’
plasma5-wallpapers-dynamic/src/declarative/dynamicwallpaperdescription.h:39:19: error: field ‘m_imageUrls’ has incomplete type ‘QVector<QUrl>’
@mitchelloharawild ^^^
More progress, but still errored:
plasma5-wallpapers-dynamic/src/declarative/dynamicwallpaperimagehandle.cpp:108:64: error: ‘SkipEmptyParts’ is not a member of ‘Qt’
Argh, yeah, that's right, Qt::SkipEmptyParts was introduced in Qt 5.14.
^^^ (fingers crossed)
Works well now, thanks again for your work!
federico@Kubuntu:~/plasma5-wallpapers-dynamic/build$ make [ 7%] Built target com.github.zzag.dynamic-wallpapers-metadata-json [ 7%] Automatic MOC for target kdynamicwallpaper [ 7%] Built target kdynamicwallpaper_autogen [ 7%] Building CXX object src/lib/CMakeFiles/kdynamicwallpaper.dir/kdynamicwallpaperreader.cpp.o /home/federico/plasma5-wallpapers-dynamic/src/lib/kdynamicwallpaperreader.cpp:12:10: fatal error: QColorSpace: No existe el archivo o el directorio 12 | #include
| ^
~~~~ compilation terminated. make[2]: [src/lib/CMakeFiles/kdynamicwallpaper.dir/build.make:108: src/lib/CMakeFiles/kdynamicwallpaper.dir/kdynamicwallpaperreader.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:673: src/lib/CMakeFiles/kdynamicwallpaper.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 federico@Kubuntu:~/plasma5-wallpapers-dynamic/build$