1 diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
2 index 84dbbfebd4..615bfed124 100644
3 --- a/src/gui/Qt5GuiConfigExtras.cmake.in
4 +++ b/src/gui/Qt5GuiConfigExtras.cmake.in
5 @@ -119,6 +119,10 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
6 if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
7 set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
9 + set(Qt5Gui_${_cmake_lib_name}_LIBRARY "${Qt5Gui_${_cmake_lib_name}_LIBRARY}/${_lib}.tbd")
10 + if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
11 + set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
14 if (NOT Qt5Gui_${_cmake_lib_name}_LIBRARY)
15 # The above find_library call doesn\'t work for finding