diff --git a/qa/unittests/gerbview/test_module.cpp b/qa/unittests/gerbview/test_module.cpp index d031148b0c..5e36630cf7 100644 --- a/qa/unittests/gerbview/test_module.cpp +++ b/qa/unittests/gerbview/test_module.cpp @@ -25,6 +25,7 @@ * Main file for the pcbnew tests to be compiled */ #include +#include #include @@ -38,6 +39,7 @@ bool init_unit_test() int main( int argc, char* argv[] ) { + KIPLATFORM::APP::Init(); int ret = boost::unit_test::unit_test_main( &init_unit_test, argc, argv ); // This causes some glib warnings on GTK3 (http://trac.wxwidgets.org/ticket/18274)