PDA

View Full Version : Image scanning



Scratch
22nd July 2009, 04:57
Hello,

Is there any library for image scanning built on Qt4 and i can run it on windows and linux :confused:

I use Qt creator with mingw on windows.

Thanks

aamer4yu
22nd July 2009, 06:19
IMage scanning from where ? scanner ?
Qt is not a driver for everything :D

Scratch
22nd July 2009, 06:58
IMage scanning from where ? scanner ?
Qt is not a driver for everything :D

I know :p but i ask about interface for any library like twain.h (http://twain.org/devfiles/twain.h) to use it easy with Qt.

Lykurg
22nd July 2009, 08:45
I use Qt creator

Well I sit on a blue chair. So what Qt version I use? Qt creator is just a editor and says nothing...


I know :p but i ask about interface for any library like twain.h (http://twain.org/devfiles/twain.h) to use it easy with Qt.

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/PACKAGE-QT-TWAIN_46374.aspx
EDIT 2: and the search engine of the board: http://www.qtcentre.org/forum/f-qt-programming-2/t-qt4-and-twain-scanning-15259.html

Scratch
22nd July 2009, 09:36
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.

ok... :rolleyes:
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 :(