Commit 6b7535d8 authored by Bill King's avatar Bill King

tests: fixes

parent 4507d643
......@@ -46,6 +46,9 @@ private:
void tst_Codegen::initTestCase()
{
pluginManager = new ExtensionSystem::PluginManager;
QSettings *settings = new QSettings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String("Nokia"), QLatin1String("QtCreator"));
pluginManager->setSettings(settings);
pluginManager->setFileExtension(QLatin1String("pluginspec"));
pluginManager->setPluginPaths(QStringList() << QLatin1String(Q_PLUGIN_PATH));
pluginManager->loadPlugins();
......
TEMPLATE = app
QT += script declarative
QT += script declarative webkit
CONFIG += qtestlib testcase
CONFIG += console
CONFIG -= app_bundle
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment