Skip to content

Build failure on Qt 5.11 due to qt5_use_modules removal #125

@prettyv

Description

@prettyv

Since Qt 5.11 q4wine fails to build with Unknown CMake command "qt5_use_modules" because this macro has been removed. Qt's CMake Macro Reference says about qt5_use_modules:
This macro is obsolete. Use target_link_libraries with IMPORTED targets instead

According to this using target_link_libraries and prepending Qt5:: to the module names should generally be enough, although my CMake knowledge is limited.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions