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

tests: fixes

parent 4507d643
...@@ -46,6 +46,9 @@ private: ...@@ -46,6 +46,9 @@ private:
void tst_Codegen::initTestCase() void tst_Codegen::initTestCase()
{ {
pluginManager = new ExtensionSystem::PluginManager; pluginManager = new ExtensionSystem::PluginManager;
QSettings *settings = new QSettings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String("Nokia"), QLatin1String("QtCreator"));
pluginManager->setSettings(settings);
pluginManager->setFileExtension(QLatin1String("pluginspec")); pluginManager->setFileExtension(QLatin1String("pluginspec"));
pluginManager->setPluginPaths(QStringList() << QLatin1String(Q_PLUGIN_PATH)); pluginManager->setPluginPaths(QStringList() << QLatin1String(Q_PLUGIN_PATH));
pluginManager->loadPlugins(); pluginManager->loadPlugins();
......
TEMPLATE = app TEMPLATE = app
QT += script declarative QT += script declarative webkit
CONFIG += qtestlib testcase CONFIG += qtestlib testcase
CONFIG += console CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
......
Supports Markdown
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