Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Richard 祝发兴 - -IT
opencv-python
提交
fd4e6040
O
opencv-python
项目概览
Richard 祝发兴 - -IT
/
opencv-python
与 Fork 源项目一致
Fork自
OpenCV / opencv-python
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
opencv-python
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
fd4e6040
编写于
12月 28, 2020
作者:
O
Olli-Pekka Heinisuo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
disable Qt on macOS for now due to multiple issues
上级
5f56caf2
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
12 deletion
+10
-12
cv2/__init__.py
cv2/__init__.py
+1
-3
setup.py
setup.py
+1
-1
travis_config.sh
travis_config.sh
+8
-8
未找到文件。
cv2/__init__.py
浏览文件 @
fd4e6040
...
@@ -19,9 +19,7 @@ except:
...
@@ -19,9 +19,7 @@ except:
pass
pass
# the Qt plugin is included currently only in the pre-built wheels
# the Qt plugin is included currently only in the pre-built wheels
if
(
if
sys
.
platform
.
startswith
(
"linux"
)
and
ci_and_not_headless
:
sys
.
platform
==
"darwin"
or
sys
.
platform
.
startswith
(
"linux"
)
)
and
ci_and_not_headless
:
os
.
environ
[
"QT_QPA_PLATFORM_PLUGIN_PATH"
]
=
os
.
path
.
join
(
os
.
environ
[
"QT_QPA_PLATFORM_PLUGIN_PATH"
]
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
"qt"
,
"plugins"
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
"qt"
,
"plugins"
)
)
...
...
setup.py
浏览文件 @
fd4e6040
...
@@ -172,7 +172,7 @@ def main():
...
@@ -172,7 +172,7 @@ def main():
if
(
if
(
not
build_headless
not
build_headless
and
"bdist_wheel"
in
sys
.
argv
and
"bdist_wheel"
in
sys
.
argv
and
(
sys
.
platform
==
"darwin"
or
sys
.
platform
.
startswith
(
"linux"
)
)
and
sys
.
platform
.
startswith
(
"linux"
)
):
):
cmake_args
.
append
(
"-DWITH_QT=5"
)
cmake_args
.
append
(
"-DWITH_QT=5"
)
subprocess
.
check_call
(
"patch -p1 < patches/patchQtPlugins"
,
shell
=
True
)
subprocess
.
check_call
(
"patch -p1 < patches/patchQtPlugins"
,
shell
=
True
)
...
...
travis_config.sh
浏览文件 @
fd4e6040
...
@@ -115,15 +115,15 @@ function pre_build {
...
@@ -115,15 +115,15 @@ function pre_build {
brew
install
ffmpeg_opencv
brew
install
ffmpeg_opencv
fi
fi
echo
'Installing qt5'
#
echo 'Installing qt5'
if
[
-n
"
$CACHE_STAGE
"
]
;
then
#
if [ -n "$CACHE_STAGE" ]; then
echo
"Qt5 has bottle, no caching needed"
#
echo "Qt5 has bottle, no caching needed"
else
#
else
brew switch qt 5.13.2
#
brew switch qt 5.13.2
brew pin qt
#
brew pin qt
export
PATH
=
"/usr/local/opt/qt/bin:
$PATH
"
#
export PATH="/usr/local/opt/qt/bin:$PATH"
fi
#
fi
if
[
-n
"
$CACHE_STAGE
"
]
;
then
if
[
-n
"
$CACHE_STAGE
"
]
;
then
brew_go_bootstrap_mode 0
brew_go_bootstrap_mode 0
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录