Skip to content

FindwxWidgets: Add support for wxQt

Craig Sturdy requested to merge (removed):find_wxwidgets_qt into master

Support for a Qt backend for wxWidgets is starting to find its way in to official releases. Currently, with the backend/platform forming the name of generated .lib files and .dll files, FindwxWidgets.cmake is currently unable to do its job when wxWidgets is built against Qt.

This change adds support for wxWidgets, built against Qt, by detecting the backend/platform in WX_GET_NAME_COMPONENTS—storing "msw", or "qt" as ${_PF}, then using this to search for built libraries corresponding to that configuration.

Backport: release
Topic-rename: FindwxWidgets-qt

Edited by Brad King

Merge request reports