I knowbut i ask about interface for any library like twain.h to use it easy with Qt.
I knowbut i ask about interface for any library like twain.h to use it easy with Qt.
Well I sit on a blue chair. So what Qt version I use? Qt creator is just a editor and says nothing...
Since Qt is C++ and Twain has a C/C++ library, you can simple use it. Just integrate it in you app.
EDIT: I have used google for you: http://www.cppfrance.com/codes/PACKA...AIN_46374.aspx
EDIT 2: and the search engine of the board: http://www.qtcentre.org/forum/f-qt-p...ing-15259.html
Last edited by Lykurg; 22nd July 2009 at 07:52.
ok...
You must use MS compiler To use Twain library on windows because Twain library depends on DSM (Data Source Manager) library and i can't use mingw to built DSM library on windows but i can built it easy on linux.
i will use the already built library (TWAINDSM.dll) but i try many times to built TWAIN sample Data Source using src.pro and all attempts failed
I use Qt 4.5.2 with mingw, specifically i use this package
http://www.qtsoftware.com/downloads/sdk-windows-cpp
Please tell me if you know other library i can run it on linux and windows using mingw without change my source.
EDIT: i try google before and i get your result but this library did not work with mingw and QT4 and twain.h is very old![]()
Last edited by Scratch; 22nd July 2009 at 08:48.
Bookmarks