summaryrefslogtreecommitdiffstats
path: root/patches/0062-Added-needed-profile-files-for-ActiveQt.patch
blob: 2a70bb8abc179513489688555982f7b41b7dfa0e (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
From e414845f6d6f7b1736e6757ae0c88879cfaba8fb Mon Sep 17 00:00:00 2001
From: axis <qt-info@nokia.com>
Date: Thu, 27 Jan 2011 09:30:40 +0100
Subject: [PATCH] Added needed profile files for ActiveQt.

---
 qtactiveqt/qtactiveqt.pro          |   18 ++++++++++++++++++
 qtactiveqt/modules/qt_activeqt.pri |   15 +++++++++++++++
 qtactiveqt/src/src.pro             |    6 ++++++
 qtactiveqt/sync.profile            |   13 +++++++++++++
 4 files changed, 52 insertions(+), 0 deletions(-)
 create mode 100644 qtactiveqt/qtactiveqt.pro
 create mode 100644 qtactiveqt/modules/qt_activeqt.pri
 create mode 100644 qtactiveqt/src/src.pro
 create mode 100644 qtactiveqt/sync.profile

diff --git a/qtactiveqt/qtactiveqt.pro b/qtactiveqt/qtactiveqt.pro
new file mode 100644
index 0000000..db56e0e
--- /dev/null
+++ b/qtactiveqt/qtactiveqt.pro
@@ -0,0 +1,18 @@
+TEMPLATE = subdirs
+
+!win32:error("This is a Windows-only module")
+
+activeqt_src.subdir = $$IN_PWD/src
+activeqt_src.target = sub-src
+
+activeqt_tools.subdir = $$IN_PWD/tools
+activeqt_tools.target = sub-tools
+activeqt_tools.depends = activeqt_src
+
+activeqt_examples.subdir = $$IN_PWD/examples
+activeqt_examples.target = sub-examples
+activeqt_examples.depends = activeqt_src
+
+SUBDIRS = activeqt_src \
+          activeqt_tools \
+          activeqt_examples
diff --git a/qtactiveqt/modules/qt_activeqt.pri b/qtactiveqt/modules/qt_activeqt.pri
new file mode 100644
index 0000000..fe6a421
--- /dev/null
+++ b/qtactiveqt/modules/qt_activeqt.pri
@@ -0,0 +1,15 @@
+QT_DECLARATIVE_VERSION = $$QT_VERSION
+QT_DECLARATIVE_MAJOR_VERSION = $$QT_MAJOR_VERSION
+QT_DECLARATIVE_MINOR_VERSION = $$QT_MINOR_VERSION
+QT_DECLARATIVE_PATCH_VERSION = $$QT_PATCH_VERSION
+
+QT.activeqt.name = ActiveQt
+QT.activeqt.bins = $$QT_MODULE_BIN_BASE
+QT.activeqt.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/ActiveQt
+QT.activeqt.private_includes = $$QT_MODULE_INCLUDE_BASE/ActiveQt/private
+QT.activeqt.sources = $$QT_MODULE_BASE/src/activeqt
+QT.activeqt.libs = $$QT_MODULE_LIB_BASE
+QT.activeqt.depends = gui
+QT.activeqt.DEFINES = QT_ACTIVEQT_LIB
+
+QT_CONFIG += activeqt
diff --git a/qtactiveqt/src/src.pro b/qtactiveqt/src/src.pro
new file mode 100644
index 0000000..9026c51
--- /dev/null
+++ b/qtactiveqt/src/src.pro
@@ -0,0 +1,6 @@
+TEMPLATE = subdirs
+
+subdir_activeqt.subdir = $$IN_PWD/activeqt
+subdir_activeqt.target = sub_activeqt
+
+SUBDIRS += subdir_activeqt
diff --git a/qtactiveqt/sync.profile b/qtactiveqt/sync.profile
new file mode 100644
index 0000000..22c222d
--- /dev/null
+++ b/qtactiveqt/sync.profile
@@ -0,0 +1,13 @@
+%modules = ( # path to module name map
+    "ActiveQt" => "$basedir/src/activeqt",
+);
+%moduleheaders = ( # restrict the module headers to those found in relative path
+);
+%classnames = (
+);
+%mastercontent = (
+    "gui" => "#include <QtGui/QtGui>\n",
+);
+%modulepris = (
+    "ActiveQt" => "$basedir/modules/qt_activeqt.pri",
+);
-- 
1.7.3.2.343.g7d43d