From 1f2cb419ac2f776ee5bae1bcd877ea14e5a27a38 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 24 May 2011 16:26:18 +0200 Subject: QtScripts: Widget library split. --- examples/script/calculator/calculator.pro | 2 +- examples/script/context2d/context2d.pro | 2 +- examples/script/defaultprototypes/defaultprototypes.pro | 2 +- examples/script/defaultprototypes/main.cpp | 3 ++- examples/script/defaultprototypes/prototypes.cpp | 4 ++-- examples/script/helloscript/helloscript.pro | 2 +- examples/script/qscript/main.cpp | 2 +- examples/script/qscript/qscript.pro | 2 +- examples/script/qstetrix/main.cpp | 5 ++++- examples/script/qstetrix/qstetrix.pro | 2 +- 10 files changed, 15 insertions(+), 11 deletions(-) (limited to 'examples') diff --git a/examples/script/calculator/calculator.pro b/examples/script/calculator/calculator.pro index 14d3e9a..c1aebe4 100644 --- a/examples/script/calculator/calculator.pro +++ b/examples/script/calculator/calculator.pro @@ -1,4 +1,4 @@ -QT += script +QT += script widgets CONFIG += uitools RESOURCES += calculator.qrc SOURCES += main.cpp diff --git a/examples/script/context2d/context2d.pro b/examples/script/context2d/context2d.pro index de1287a..7ce9623 100644 --- a/examples/script/context2d/context2d.pro +++ b/examples/script/context2d/context2d.pro @@ -1,5 +1,5 @@ TEMPLATE = app -QT += script +QT += widgets script # Input HEADERS += qcontext2dcanvas.h \ context2d.h \ diff --git a/examples/script/defaultprototypes/defaultprototypes.pro b/examples/script/defaultprototypes/defaultprototypes.pro index 590ae8d..0685673 100644 --- a/examples/script/defaultprototypes/defaultprototypes.pro +++ b/examples/script/defaultprototypes/defaultprototypes.pro @@ -1,4 +1,4 @@ -QT += script +QT += widgets script RESOURCES += defaultprototypes.qrc SOURCES += main.cpp prototypes.cpp HEADERS += prototypes.h diff --git a/examples/script/defaultprototypes/main.cpp b/examples/script/defaultprototypes/main.cpp index 8fc17e3..71c7ca7 100644 --- a/examples/script/defaultprototypes/main.cpp +++ b/examples/script/defaultprototypes/main.cpp @@ -38,7 +38,8 @@ ** ****************************************************************************/ -#include +#include +#include #include #include "prototypes.h" diff --git a/examples/script/defaultprototypes/prototypes.cpp b/examples/script/defaultprototypes/prototypes.cpp index 15c2661..4cb38a8 100644 --- a/examples/script/defaultprototypes/prototypes.cpp +++ b/examples/script/defaultprototypes/prototypes.cpp @@ -39,8 +39,8 @@ ****************************************************************************/ #include "prototypes.h" -#include -#include +#include +#include #include #include #include diff --git a/examples/script/helloscript/helloscript.pro b/examples/script/helloscript/helloscript.pro index 5bfbc86..d3ce7c0 100644 --- a/examples/script/helloscript/helloscript.pro +++ b/examples/script/helloscript/helloscript.pro @@ -1,4 +1,4 @@ -QT += script +QT += widgets script RESOURCES += helloscript.qrc SOURCES += main.cpp diff --git a/examples/script/qscript/main.cpp b/examples/script/qscript/main.cpp index a8d93d0..b745ee0 100644 --- a/examples/script/qscript/main.cpp +++ b/examples/script/qscript/main.cpp @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include diff --git a/examples/script/qscript/qscript.pro b/examples/script/qscript/qscript.pro index 8005751..d9881a7 100644 --- a/examples/script/qscript/qscript.pro +++ b/examples/script/qscript/qscript.pro @@ -1,5 +1,5 @@ -QT += script +QT += widgets script win32: CONFIG += console mac:CONFIG -= app_bundle diff --git a/examples/script/qstetrix/main.cpp b/examples/script/qstetrix/main.cpp index 1ecad97..366c7a0 100644 --- a/examples/script/qstetrix/main.cpp +++ b/examples/script/qstetrix/main.cpp @@ -40,7 +40,10 @@ #include "tetrixboard.h" -#include +#include +#include +#include +#include #include #include diff --git a/examples/script/qstetrix/qstetrix.pro b/examples/script/qstetrix/qstetrix.pro index 4a99a0a..fad66ce 100644 --- a/examples/script/qstetrix/qstetrix.pro +++ b/examples/script/qstetrix/qstetrix.pro @@ -1,4 +1,4 @@ -QT += script +QT += widgets script CONFIG += uitools HEADERS = tetrixboard.h -- cgit v1.2.1