On Fri, Aug 24, 2012 at 12:32 PM, TP <[email protected]> wrote:

> On Fri, Aug 24, 2012 at 2:34 AM, zdenko podobny <[email protected]> wrote:
> > First of all you need tesseract dependencies (leptonica + its
> dependencies).
> > You can compile it by yourself, but in this case you need to install
> > mingw+msys environment...  than you need to compile tesseract library.
> >
> > In past I was successful in using leptonica library build by VC++
> > (leptonica-1.68-win32-lib-include-dirs.zip) within QT Creator (with
> mingw),
> > but as far as I know it is not correct way...
> >
> > Maybe during weekend I can try to publish needed libs + include file,
> maybe
> > example QT4 project for using tesseract api (without QT4 dependencies)...
>
> Why couldn't someone just use the VS2008 [1] or VS2010 [2] versions of Qt?
>
> 1. it is user choice/question of preferences ;-) Some users
could prefer QT4 native solution (QT creator). I guess it is possible to
use VC++ compiler within it but I can not help with it.
2. some versions of Qt VS Add-in[1] (e.g. 1.1.7[2]) do not work
with  Visual Studio Express editions...

[1] http://qt-project.org/wiki/QtVSAddin
[2] http://doc.qt.nokia.com/vs-add-in-1.1.7/index.html

I haven't tried this myself. The last (and only) time I tried Qt I
> used python and PyQt [3] instead of C++ and wrote a small python class
> using the ctypes package to hook into Leptonica. I find PyQt *much*
> easier to use than straight Qt but I suppose it's trickier to package
> up the result into something that you can ship to people.
>

I agree PyQT4 is easier, but that would require to learn another language
(python).
I am not advocating for any solution - I just offer what I already have (I
need to pack it...)


> [1] http://qt.nokia.com/downloads/windows-cpp-vs2008
>
> [2] http://qt.nokia.com/downloads/windows-cpp-vs2010
>
> [3] http://www.riverbankcomputing.co.uk/software/pyqt/intro
>
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to