Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.1.0
-
None
-
* Ubuntu 16.04.1/64bit
* Qt 5.7 from qt.io installed under ~/local/qt/5.7
* KDSoap built locally and installed under ~/local/kdsoap
* the builds are done by loading the .qbs in QtCreator (from ~/local/qt/)
-
9e6d470c3ae4922ff582e41ed18e796c1bb90537
Description
I am trying to create a qbs module for KDSoap (https://github.com/KDAB/KDSoap).
A qmake project using KDSoap and the ksdoap.pri provided by KDSoap worked without issues.
I have created a simple kdsoap.qbs module to do the similar steps kdsoap.pri does; that is, from a given foo.wsdl:
1) create a wsdl_foo.h
2) create a wsdl_foo.cpp
3) link them to my app
Steps 1) and 2) work and wsdl_foo.h and wsdl_foo.cpp are generated. These files contains Qt classes and they should now be parsed by moc.
However, if I am building from scratch (I close QtCreator, delete the build dir, open QtCreator, open the project, build), the moc is never run.
Sometimes it is enough to touch the kdsoap.qbs and, on the next build, the moc starts being run.
I have attached a sample project.