summaryrefslogtreecommitdiff
path: root/classes/sip.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sip.oeclass')
-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