ok, include the moc file everywhere it needs to be, with more ifdef uglies

svn path=/trunk/KDE/kdebase/runtime/; revision=1072594
This commit is contained in:
Aaron J. Seigo 2010-01-10 13:03:53 +00:00
parent e8796ab87c
commit 76c882740b
2 changed files with 3 additions and 1 deletions

View File

@ -295,4 +295,6 @@ QScriptValue ScriptEnv::print(QScriptContext *context, QScriptEngine *engine)
return engine->undefinedValue(); return engine->undefinedValue();
} }
#ifndef USEGUI
#include "scriptenv.moc" #include "scriptenv.moc"
#endif

View File

@ -18,4 +18,4 @@
#define USEGUI #define USEGUI
#include "scriptenv.cpp" #include "scriptenv.cpp"
#include "scriptenv.moc"