Forum Replies Created
Viewing 1 post (of 1 total)
- AuthorPosts
Because the function does not recognize me QTwain.initTwain? I’m missing?
int main(int argc, char *argv[]) {
// initialize resources, if needed
// Q_INIT_RESOURCE(resfile);QApplication app(argc, argv);
//cvDestroyAllWindows;
QTwain * m_pTwain;if (!m_pTwain.initTwain())
qWarning(“initTwain() call not successful!”);
else
if (!m_pTwain->selectSource())
qWarning(“selectSource() call not successful!”);
else
if (!m_pTwain->acquire())
qWarning(“acquire() call not successful!”);
return app.exec();
}- AuthorPosts
Viewing 1 post (of 1 total)