Skip to content

Qt6 GuiPrivate not found error and suggested fix #83

@BlaineHein

Description

@BlaineHein

When building QtAliceVision with Qt6.10.0 cmake gives error message

CMake Error at src/qtAliceVision/CMakeLists.txt:87 (target_link_libraries):
Target "qtAliceVisionPlugin" links to:

Qt6::GuiPrivate

Solution: Insert line

find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)

into src/qtAliceVision/CMakeLists.txt

Solution adapted from

https://forum.qt.io/topic/155256/building-qt6-from-sources-coreprivate/3

changing COMPONENTS from CorePrivate to GuiPrivate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions