KPhotoAlbum on Windows?

Teemu sikanauta at pumpuli.net
Mon Dec 16 18:00:18 GMT 2024


On 2024-12-16 16:58, Teemu wrote:
> Also, not only SettingsData is affected, as those
> ThumbnailCache-related link errors seems to be Signals related as
> well.
> Commenting out this line from window.cpp removed the one error line
> related to window.cpp:
> "connect(m_thumbnailCache,
> &ImageManager::ThumbnailCache::cacheInvalidated, this,
> &Window::slotBuildThumbnailsIfWanted);"
> 


I went one step back and returned TestThumbnailCache-code, which I had 
commented out earlier due to the linking error.
It seems that the linking connected to building TestThumbailCache (test 
cases for Thumbnailcache) is enough to trigger the Signal-related 
linking problem.

I.e. trying to use the signal with QSignalSpy produces the same 
Unresolved Externals-error, I tried also other signals from 
ThumbnailCache:
   QSignalSpy cacheSavedSpy { &thumbnailCache, 
&ImageManager::ThumbnailCache::saveComplete };

So the basic question is, why do the Signals from SettingsData and 
ThumbnailCache generate these linking errors, but similar 
implementations elsewhere in the code seem to work fine?


Teemu



More information about the KPhotoAlbum mailing list