【Qt】ubuntu14.04+qt5.6+opencv2.4编程注意事项

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u010168781/article/details/81304720
cv::imshow();//不能在QT中使用该接口来创建窗口

否侧会报错:
(:1103): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
(:1103): GLib-CRITICAL **: Source ID 52 was not found when attempting to remove it
参见:https://blog.csdn.net/u010168781/article/details/81302376

cv::waitKey()//回卡死

在Qt中使用cv::waitKey()回卡死,使用QThread::msleep()来替换

猜你喜欢

转载自blog.csdn.net/u010168781/article/details/81304720