Home › Forums › TWAIN Classic › Help please HELP!! – I cant scan with qt and twain
- This topic has 1 reply, 1 voice, and was last updated 13 years ago by elegido03.
- AuthorPosts
Hello, I’m trying to use Twain with QT down the Ide Netbeans. Would you have some tutorial about how to utilize the Twain libraries? Or, some example about how to obtain a image?
Please Help
Thanks
Cristian Di GennaroBecause 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