File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ index 4c0b3880fc..54da25f151 100644
1111+ endif()
1212+ if(UNIX AND NOT APPLE)
1313+ install(DIRECTORY /opt/Qt5.15.0/plugins DESTINATION lib/qt)
14+ + install(DIRECTORY /usr/share/fonts DESTINATION lib/qt)
1415+ endif()
1516 elseif(HAVE_QT)
1617 status(" QT:" "YES (ver ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH} ${QT_EDITION})")
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ def main():
173173 for file in os .listdir ("/usr/share/fonts/dejavu" ):
174174 if file .endswith (".ttf" ):
175175 fonts .append (
176- (r"/usr/share /fonts/dejavu/%s\.ttf" % file .split ("." )[0 ])
176+ (r"lib/qt /fonts/dejavu/%s\.ttf" % file .split ("." )[0 ])
177177 )
178178
179179 rearrange_cmake_output_data ["cv2.qt.fonts" ] = fonts
You can’t perform that action at this time.
0 commit comments