> https://git.reviewboard.kde.org/r/121094/

This change fails to compile on Windows, because the unit test has
ktexttohtml.cpp as a source file *and* it's linking to the kcoreaddons
library which obviously defines the same function. In addition,
ktexttohtml.h in this context is declaring the function as
__declspec(dllimport), so it expects them to find the function in a linked
library. All this causes a multiple definition error when linking the unit
test.

I see it's being done this way in order to test the private API, but I'm
not sure how to fix it.

Is anyone else testing non-exported API in KF5?

-- 
Nicolás
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to