Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDSoap does not produce moc_ files when using a shadow build setup #79

Open
DRFrederik opened this issue May 2, 2016 · 2 comments
Open

Comments

@DRFrederik
Copy link

When I build KDSoap (no modifications locally whatsoever) using shadow build, the project fails at the following first error:

KDSoap/kdwsdl2cpp/common/fileprovider.cpp:104: error: moc_fileprovider.cpp: No such file or directory
#include "moc_fileprovider.cpp"

QMake was run prior to building the project. When searching for the file moc_fileprovider.cpp, it does not seems to exist anywhere

When building regularly (no shadow build) the build completes and the file moc_fileprovider.cpp is located at:
KDSoap/kdwsdl2cpp/common/.moc/moc_fileprovider.cpp

@winterz
Copy link
Member

winterz commented May 2, 2016

is this using git master? or from a released tarball?

works for me:
mkdir build; cd build; ../configure.sh -shared -debug; make

perhaps you need to cleanout your build dir and start over?

@DRFrederik
Copy link
Author

No, it is when using the project in QtCreator. Opening kdsoap.pro then select shadow build. The point is my customer builds every project using a shadow build dir, including kdsoap.pro as a subdir to produce a .so shared lib only works when I deselect shadow build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants