Qt opencv imread String问题

Qt opencv imread 问题

**今日入门openCV

书中imread(QString::toStdString())无效

将其改为

imread(QString::toLocal8Bit().data());//ok

imwrite两种都行,猜测因为const

你可能感兴趣的:(Qt5&OpenCV3,opencv,Qt,imread)