purpose unittests on Windows

David Faure faure at kde.org
Fri Aug 10 08:28:45 BST 2018


Any idea why purpose can't find the KIO http and file protocols -- on Windows?

https://build.kde.org/view/Frameworks/job/Frameworks%20purpose%20kf5-qt5%20WindowsMSVCQt5.10/76/testReport/junit/(root)/TestSuite/alternativesmodeltest/

That's very odd, because the dependency from purpose on kio is there in kde-build-metadata
(it wouldn't build otherwise), and using kio_file from other frameworks surely works (e.g. in KParts).

The lookup for protocols looks for "kf5/kio" under all Qt plugin directories, i.e. $QT_PLUGIN_PATH.

The CI log says
QT_PLUGIN_PATH            = 'C:\CI\workspace\Frameworks purpose kf5-qt5 WindowsMSVCQt5.10\install-prefix\lib\plugins;C:\Craft\CI\windows-msvc2017_64-cl-debug\lib\qca-qt5'

Is that supposed to include KIO's plugins?

I guess so, given that a Unix CI job for purpose says
QT_PLUGIN_PATH            = '/home/jenkins/install-prefix/lib64/plugins'

=> is there a kf5\kio subdir in C:\CI\workspace\Frameworks purpose kf5-qt5 WindowsMSVCQt5.10\install-prefix\lib\plugins ?

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





More information about the Kde-frameworks-devel mailing list