Bug report #14309

Build fails to generate mocs

Added by Vincent Mora almost 7 years ago. Updated almost 7 years ago.

Affected QGIS version:master Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:No Copied to github as #:22299


From a clean build, or after

find -name *.moc |xargs rm

I get:

    .../tests/src/core/testqgsinvertedpolygonrenderer.cpp:196:46: fatal error: testqgsinvertedpolygonrenderer.moc: Aucun fichier ou dossier de ce type

If I edit the tests/src/core/CMakeLists.txt, changing the name of the test, the build succeed, I can change it back to what it was and build will again succeed.

I'm building on Ubuntu 15.10 with cmake version 3.2.2

Is there something I'm missing, can someone else reproduce ?


#1 Updated by Jürgen Fischer almost 7 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Closed

#2 Updated by Vincent Mora almost 7 years ago

@jef: thanks

Also available in: Atom PDF