aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/depscanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/buildgraph/depscanner.h')
-rw-r--r--src/lib/corelib/buildgraph/depscanner.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/corelib/buildgraph/depscanner.h b/src/lib/corelib/buildgraph/depscanner.h
index 6b18004f9..51816dbd7 100644
--- a/src/lib/corelib/buildgraph/depscanner.h
+++ b/src/lib/corelib/buildgraph/depscanner.h
@@ -43,11 +43,10 @@
#include <language/forward_decls.h>
#include <language/filetags.h>
#include <language/preparescriptobserver.h>
+#include <tools/scripttools.h>
#include <QtCore/qstringlist.h>
-#include <QtScript/qscriptvalue.h>
-
class ScannerPlugin;
namespace qbs {
@@ -115,11 +114,11 @@ private:
const PropertyMapConstPtr &m2) const override;
bool cacheIsPerFile() const override { return true; }
- QStringList evaluate(const Artifact *artifact, const FileResourceBase *fileToScan, const PrivateScriptFunction &script);
+ QStringList evaluate(Artifact *artifact, const FileResourceBase *fileToScan, const PrivateScriptFunction &script);
ResolvedScannerConstPtr m_scanner;
ScriptEngine *m_engine;
- QScriptValue m_global;
+ ScopedJsValue m_global;
ResolvedProduct *m_product;
};