Skip to content

Hardcoded Qt6_DIR path. #7

@ColePoppleton

Description

@ColePoppleton

The line set(Qt6_DIR "C:/Qt/6.9.0/mingw_64/lib/cmake/Qt6") contains a hardcoded path to the Qt 6 installation. This will prevent the project from being built on other machines without modification. Remove this line. CMake's find_package command can usually locate Qt 6 automatically if Qt is properly installed and configured in the system's environment. If a hint is needed, consider using a CMake variable that can be set by the user when configuring the project.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions