[QBS] module for KDSoap

Ioan Calin Borcoman iborco at gmail.com
Mon Sep 19 20:00:29 CEST 2016


I'm trying to write a module that generates wsdl_foo.h and
wsdl_foo.cpp from foo.wsdl, using KDSoap's kdwsdl2cpp

After it is generated, the wsdl_foo.h should be parsed by moc, as it
contains an QObject based class.

The problem is that moc is sometimes called and sometimes isn't. If I
delete the build tree and try to run qbs from scratch, the moc is not
run and the build fails.

But if I touch my kdsoap.qbs module, even if I don't change anything
in it, and then run again qbs, the moc is run and my project builds.

I'm running qbs from qtcreator, on linux, using the latest qt from qt.io.

I've attached my kdsoap.qbs module.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdsoap.qbs
Type: application/octet-stream
Size: 1744 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20160919/5b05cf09/attachment.obj>

More information about the Qbs mailing list