[Development] Loading moc plugins when running tests in CI system

Aaron McCarthy mccarthy.aaron at gmail.com
Tue Jan 7 08:38:51 CET 2014


On Tue, 7 Jan 2014 06:18:19 Qi Liang wrote:
> Looks like it's a qml plugin, then maybe there is an example/practice in
> qtquickcontrols.

They are not a QML plugin, they are position and geoservices plugins that 
happen to have qml in there names for some reason.

> https://github.com/qtproject/qtquickcontrols/blob/stable/tests/auto/auto.pro
> https://github.com/qtproject/qtquickcontrols/tree/stable/tests/auto/testplu
> gin
> https://github.com/qtproject/qtquickcontrols/blob/stable/tests/auto/control
> s/controls.pro
> 
> controls is using the plugin from testplugin, but controls is a qmltest
> here.

I see from the logs that the build step the plugins are located in 
/home/qt/shadowbuild/qtlocation/plugins/geoservices and 
/home/qt/shadowbuild/qtlocation/plugins/position

Is it possible to set QT_PLUGIN_PATH=/home/qt/shadowbuild/qtlocation/plugins 
during test runs?

Cheers,

-- 
Aaron McCarthy



More information about the Development mailing list