Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c048e37

Browse filesBrowse files
committed
fix plugin path
1 parent a8dfcf2 commit c048e37
Copy full SHA for c048e37

File tree

Expand file treeCollapse file tree

1 file changed

+8
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-3
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+8-3Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,14 @@ def main():
155155
]
156156

157157
if sys.platform.startswith("linux") and not build_headless:
158-
rearrange_cmake_output_data["cv2.qt.plugins.platforms"] = [
159-
(r"lib/qt/plugins/platforms/libqxcb\.so")
160-
]
158+
if x64:
159+
rearrange_cmake_output_data["cv2.qt.plugins.platforms"] = [
160+
(r"/usr/lib64/qt5/plugins/platforms/libqxcb\.so")
161+
]
162+
else:
163+
rearrange_cmake_output_data["cv2.qt.plugins.platforms"] = [
164+
(r"/usr/lib/qt5/plugins/platforms/libqxcb\.so")
165+
]
161166

162167
if build_headless:
163168
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.