summaryrefslogtreecommitdiffstats
path: root/patches/0010-First-attempt-to-build-scripttools.patch
blob: bcd5f193ab3252e778ccae2cb45300b8eb394f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
From cc38b9720e504b0c46c26fe3fad81b76d1dbdf34 Mon Sep 17 00:00:00 2001
From: Liang Qi <liang.qi@nokia.com>
Date: Fri, 19 Nov 2010 13:58:03 +0100
Subject: [PATCH] First attempt to build scripttools.

---
 qtscript/src/scripttools/scripttools.pro |   11 +++++++++--
 qtscript/sync.profile                    |    3 +++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/qtscript/src/scripttools/scripttools.pro b/qtscript/src/scripttools/scripttools.pro
index 061dea5..08a7b51 100644
--- a/qtscript/src/scripttools/scripttools.pro
+++ b/qtscript/src/scripttools/scripttools.pro
@@ -1,3 +1,5 @@
+load(qt_module)
+
 TARGET     = QtScriptTools
 QPRO_PWD   = $$PWD
 QT         = core gui script
@@ -7,9 +9,14 @@ DEFINES   += QT_NO_USING_NAMESPACE
 
 unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtScript
 
-include(../qbase.pri)
-
+include($$QT_SOURCE_TREE/src/qbase.pri)
 
 include(debugging/debugging.pri)
 
+INCLUDEPATH += $$OUT_PWD/../../include \
+    $$OUT_PWD/../../include/QtScript \
+    $$OUT_PWD/../../include/QtScript/private \
+    $$OUT_PWD/../../include/QtScriptTools \
+    $$OUT_PWD/../../include/QtScriptTools/private
+
 symbian:TARGET.UID3=0x2001E625
diff --git a/qtscript/sync.profile b/qtscript/sync.profile
index 82a3a8f..d2f3c40 100644
--- a/qtscript/sync.profile
+++ b/qtscript/sync.profile
@@ -1,5 +1,6 @@
 %modules = ( # path to module name map
     "QtScript" => "$basedir/src/script",
+    "QtScriptTools" => "$basedir/src/scripttools",
 );
 %moduleheaders = ( # restrict the module headers to those found in relative path
 );
@@ -7,4 +8,6 @@
 );
 %mastercontent = (
     "core" => "#include <QtCore/QtCore>\n",
+    "gui" => "#include <QtGui/QtGui>\n",
+    "scripttools" => "#include <QtScriptTools/QtScriptTools>\n",
 );
-- 
1.7.3.2.343.g7d43d