summaryrefslogtreecommitdiffstats
path: root/afterlive/qttools/0001-Add-module.prf-and-install-MODULE_PRI-for-each-modul.patch
blob: 85a505853c0ce24268dea725c6753e5d3b0baa57 (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
From 34e59b54f0247a857430a4c0b1ec99b29b614e33 Mon Sep 17 00:00:00 2001
From: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Date: Fri, 1 Apr 2011 05:47:28 -0500
Subject: [PATCH] Add module.prf, and install MODULE_PRI for each module

Output warning if not present
---
 src/assistant/lib/lib.pro              |    4 ++++
 src/designer/src/designer/designer.pro |    4 ++++
 2 files changed, 85 insertions(+), 5 deletions(-)
 create mode 100644 qtbase/mkspecs/features/module.prf

diff --git a/src/assistant/lib/lib.pro b/src/assistant/lib/lib.pro
index fd6a348..c3fd158 100644
--- a/src/assistant/lib/lib.pro
+++ b/src/assistant/lib/lib.pro
@@ -5,6 +5,10 @@ QT += sql \
     network
 TEMPLATE = lib
 TARGET = QtHelp
+
+CONFIG += module
+MODULE_PRI += ../../../modules/qt_help.pri
+
 DEFINES += QHELP_LIB \
     QT_CLUCENE_SUPPORT
 CONFIG += qt \
diff --git a/src/designer/src/designer/designer.pro b/src/designer/src/designer/designer.pro
index 166c253..f542cd6 100644
--- a/src/designer/src/designer/designer.pro
+++ b/src/designer/src/designer/designer.pro
@@ -2,6 +2,10 @@ load(qt_module)
 
 DESTDIR = $$QT.designer.bins
 QT += xml network designer
+
+CONFIG += module
+MODULE_PRI = ../../../../modules/qt_designer.pri
+
 contains(QT_CONFIG, script): QT += script
 build_all:!build_pass {
     CONFIG -= build_all
-- 
1.7.3.2.343.g7d43d