Skip to content

Use same QT vesion as VTK.#6406

Open
larshg wants to merge 2 commits intoPointCloudLibrary:masterfrom
larshg:vtkqtdependency
Open

Use same QT vesion as VTK.#6406
larshg wants to merge 2 commits intoPointCloudLibrary:masterfrom
larshg:vtkqtdependency

Conversation

@larshg
Copy link
Contributor

@larshg larshg commented Feb 4, 2026

Fixes #6390

CMakeLists.txt Outdated
endif()

# VTK can depend on Qt and search for its required version, so search after so we can overwrite Qt5_FOUND/Qt6_FOUND if the version we require is not found.
set(WITH_QT "AUTO" CACHE STRING "Build QT Front-End (AUTO|YES|QT6|QT5|NO)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be safer to put his line in an else() statement (if VTK_QT_VERSION is neither 5 nor 6), or does that not make any difference?

@larshg larshg added this to the pcl-1.16.0 milestone Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cmake] Qt6 cmake errors

2 participants