summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-10-03 02:18:24 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-10-03 02:18:24 +0000
commit6431089e71128e70185737d33fef998ca8a53c81 (patch)
tree213ed6e3e4f4ef696239a242e84cda137089510f /classes
parentfdd3150b77df034ab19bb0af3df33341a9513de0 (diff)
next attempt to fix PyQt which was broken since sip4
BKrev: 415f6170jWJlCXV8BczTSENZS1A6sA
Diffstat (limited to 'classes')
-rw-r--r--classes/sip.oeclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/sip.oeclass b/classes/sip.oeclass
index 7102980a23..837a31675d 100644
--- a/classes/sip.oeclass
+++ b/classes/sip.oeclass
@@ -32,7 +32,11 @@ sip_do_generate() {
oenote "calling 'sip -I sip -I ${STAGING_SIPDIR} ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.pro.in sip/${module}/${module}mod.sip'"
sip -I ${STAGING_SIPDIR} -I sip ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.sbf sip/${module}/${module}mod.sip \
|| die "Error calling sip on ${module}"
- cat ${module}/${module}.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, >${module}/${module}.pro
+ cat ${module}/${module}.sbf | sed s,target,TARGET, \
+ | sed s,sources,SOURCES, \
+ | sed s,headers,HEADERS, \
+ | sed s,"moc_HEADERS =","HEADERS +=", \
+ >${module}/${module}.pro
echo "TEMPLATE=lib" >>${module}/${module}.pro
[ "${module}" = "qt" ] && echo "" >>${module}/${module}.pro
[ "${module}" = "qtcanvas" ] && echo "" >>${module}/${module}.pro