diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-12-02 09:18:27 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-12-02 09:18:27 (GMT) |
commit | 8f56e42ed665b90e084239a0560fc9c9688d0c3b (patch) | |
tree | 8192d1d1a4b92e9c2cd5ab15afef908b528e59d2 /examples/script/customclass | |
parent | 46de147d71f18dbf81617781ee3056fa9549e553 (diff) | |
download | Qt-8f56e42ed665b90e084239a0560fc9c9688d0c3b.zip Qt-8f56e42ed665b90e084239a0560fc9c9688d0c3b.tar.gz Qt-8f56e42ed665b90e084239a0560fc9c9688d0c3b.tar.bz2 |
Make QtScript examples compile
Assumptions were made that "#include <QtScript>" would pull in the
necessary QtCore headers as well, but we shouldn't rely on that.
Diffstat (limited to 'examples/script/customclass')
-rw-r--r-- | examples/script/customclass/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <QCoreApplication> +#include <QtDebug> #include <QtScript> #include "bytearrayclass.h" |