zzag / plasma5-wallpapers-dynamic

Dynamic wallpaper plugin for KDE Plasma
329 stars 18 forks source link

Im facing this error on Kubuntu 20.04 #53

Closed federicosnobohm closed 4 years ago

federicosnobohm commented 4 years ago

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$

zzag commented 4 years ago

Have you installed qtbase5-dev?

zzag commented 4 years ago

Also, what version of Qt is installed on your computer?

zzag commented 4 years ago

Can you please test ^^^?

zzag commented 4 years ago

@federicosnobohm please let me know if you need help with testing the fix

mitchelloharawild commented 4 years ago

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>’
zzag commented 4 years ago

@mitchelloharawild can you please test ^^^ ?

mitchelloharawild commented 4 years ago

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>’
zzag commented 4 years ago

@mitchelloharawild ^^^

mitchelloharawild commented 4 years ago

More progress, but still errored:

plasma5-wallpapers-dynamic/src/declarative/dynamicwallpaperimagehandle.cpp:108:64: error: ‘SkipEmptyParts’ is not a member of ‘Qt’
zzag commented 4 years ago

Argh, yeah, that's right, Qt::SkipEmptyParts was introduced in Qt 5.14.

zzag commented 4 years ago

^^^ (fingers crossed)

mitchelloharawild commented 4 years ago

Works well now, thanks again for your work!