Skip to content

Qt6/Fedora build fails with "PythonQt: missing generated wrapper sources" #1319

@codeling

Description

@codeling

When trying to build the Slicer pull request for Qt6 support on Fedora 32, I get this error:

CMake Error at CMakeLists.txt:177 (message):
  PythonQt: missing generated wrapper sources for Qt 6.9.

  Expected:
  SLICER_BASE_BUILD_FOLDER/CTK-build/PythonQtGenerator-output-6.9.3/generated_cpp


  Hint: pass -DPythonQt_GENERATED_PATH:PATH=/path/to/generated_cpp

The generated_cpp folder in my case was created inside the PythonQt folder, not inside a PythonQtGenerator-output-6.9.3 folder; though I'm not sure the folder existed at all; this could be somehow triggered by me trying to create the missing generated_cpp folder through running PythonQtGenerator manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions