Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,806
    • Issues 3,806
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #19906

Closed
Open
Created Oct 31, 2019 by Mr-Question@Mr-Question

AutoMoc error in VS project generated by 3.16.0-rc2

Example project to reproduce aforementioned problem is in attachments base.zip.

Compilation of project generated by CMake 3.16.0-rc2 fails with the following notification (comparing to 3.15.0-rc1):

AutoMoc error
-------------
"SRC:/qtgroupboxpropertybrowser.cpp"
includes the moc file "moc_qtgroupboxpropertybrowser.cpp",
but a header "qtgroupboxpropertybrowser.{h,hh,h++,hm,hpp,hxx,in,txx}"
could not be found in the following directories
  "SRC:"
  "BIN:"
  "SRC:"

Interesting observation: if all files without extension (like QtProperty) are deleted from source directory, project will be compiled without any error.

Thank you in advance.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking