From 8f56e42ed665b90e084239a0560fc9c9688d0c3b Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Thu, 2 Dec 2010 10:18:27 +0100 Subject: Make QtScript examples compile Assumptions were made that "#include " would pull in the necessary QtCore headers as well, but we shouldn't rely on that. --- examples/script/customclass/main.cpp | 2 ++ examples/script/helloscript/main.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/examples/script/customclass/main.cpp b/examples/script/customclass/main.cpp index cc79d6e..a9e8ba9 100644 --- a/examples/script/customclass/main.cpp +++ b/examples/script/customclass/main.cpp @@ -38,6 +38,8 @@ ** ****************************************************************************/ +#include +#include #include #include "bytearrayclass.h" diff --git a/examples/script/helloscript/main.cpp b/examples/script/helloscript/main.cpp index 3013e7c..6eac741 100644 --- a/examples/script/helloscript/main.cpp +++ b/examples/script/helloscript/main.cpp @@ -39,8 +39,11 @@ ****************************************************************************/ #include +#include #include #include +#include +#include #include //! [0] -- cgit v0.12