1
0
telegram-desktop/0003-add-qt5-widgets-include.patch
2022-02-04 13:11:50 +00:00

21 lines
663 B
Diff

diff --git a/cmake/external/qt/CMakeLists.txt b/cmake/external/qt/CMakeLists.txt
index a4b15d3..fbd9630 100644
--- a/cmake/external/qt/CMakeLists.txt
+++ b/cmake/external/qt/CMakeLists.txt
@@ -27,6 +27,7 @@ if (DESKTOP_APP_USE_PACKAGED)
INTERFACE
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
+ ${Qt5Widgets_PRIVATE_INCLUDE_DIRS}
)
if (Qt5DBus_FOUND)
@@ -65,6 +66,7 @@ INTERFACE
${qt_loc}/include/QtGui/${qt_version}
${qt_loc}/include/QtCore/${qt_version}/QtCore
${qt_loc}/include/QtGui/${qt_version}/QtGui
+ ${qt_loc}/include/QtWidgets/${qt_version}/QtWidgets
)
if (Qt5DBus_FOUND)