- This topic has 1 reply, 1 voice, and was last updated 12 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › Help please HELP!! – I cant scan with qt and twain
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 Gennaro
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();
}