Bug report #14309

Build fails to generate mocs

Added by Vincent Mora over 4 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
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

Description

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 ?

History

#1 Updated by Jürgen Fischer over 4 years ago

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

#2 Updated by Vincent Mora over 4 years ago

@jef: thanks

Also available in: Atom PDF