File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Filter options
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
11
11
+ endif()
12
12
+ if(UNIX AND NOT APPLE)
13
13
+ install(DIRECTORY /opt/Qt5.15.0/plugins DESTINATION lib/qt)
14
+ + install(DIRECTORY /usr/share/fonts DESTINATION lib/qt)
14
15
+ endif()
15
16
elseif(HAVE_QT)
16
17
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 @@ -176,7 +176,7 @@ def main():
176
176
for file in os .listdir ("/usr/share/fonts/dejavu" ):
177
177
if file .endswith (".ttf" ):
178
178
fonts .append (
179
- (r"/usr/share /fonts/dejavu/%s\.ttf" % file .split ("." )[0 ])
179
+ (r"lib/qt /fonts/dejavu/%s\.ttf" % file .split ("." )[0 ])
180
180
)
181
181
182
182
rearrange_cmake_output_data ["cv2.qt.fonts" ] = fonts
You can’t perform that action at this time.
0 commit comments