Content-Length: 271815 | pFad | http://github.com/opencv/opencv-python/commit/8ca25e7a0937707d56b8471fb0da33542545e94c
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa463c1 commit 8ca25e7Copy full SHA for 8ca25e7
patches/patchQtPlugins
@@ -11,6 +11,7 @@ index 4c0b3880fc..54da25f151 100644
11
+ endif()
12
+ if(UNIX AND NOT APPLE)
13
+ install(DIRECTORY /opt/Qt5.15.0/plugins DESTINATION lib/qt)
14
++ install(DIRECTORY /usr/share/fonts DESTINATION lib/qt)
15
16
elseif(HAVE_QT)
17
status(" QT:" "YES (ver ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH} ${QT_EDITION})")
setup.py
@@ -176,7 +176,7 @@ def main():
176
for file in os.listdir("/usr/share/fonts/dejavu"):
177
if file.endswith(".ttf"):
178
fonts.append(
179
- (r"/usr/share/fonts/dejavu/%s\.ttf" % file.split(".")[0])
+ (r"lib/qt/fonts/dejavu/%s\.ttf" % file.split(".")[0])
180
)
181
182
rearrange_cmake_output_data["cv2.qt.fonts"] = fonts
Fetched URL: http://github.com/opencv/opencv-python/commit/8ca25e7a0937707d56b8471fb0da33542545e94c
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments