have a look at qt-box-editor[1] (even I did not test it with for a long
time, but there should be support for QT5)

[1] https://github.com/zdenop/qt-box-editor

Zdenko

On Mon, Nov 2, 2015 at 5:44 AM, Liu Paulson <[email protected]> wrote:

> I download  the tesseract-ocr library from the
> https://code.google.com/p/tesseract-ocr/downloads/list
> tesseract-3.02.02-win32-lib-include-dirs.zip
>
> I use the Qt platform to bulid the program:
> Add the below code to the project.pro file:
>
> INCLUDEPATH  += ./include/tesseract/ \
>
>                 ./include/leptonica/ \
>
>                 ./include
>
>
> LIBS+= ./lib/libtesseract302.dll \
>
>        ./lib/libtesseract302.lib
>
>
> Add the below code to the project.h file:
>
> #include <tesseract/baseapi.h>
>
>
> Add the below code to the project.cpp file:
>
>     const char* filename = "./number.jpg";
>
>     const char* lang = "eng";
>
>
>     tesseract::TessBaseAPI *tess = new tesseract::TessBaseAPI();
>
>
> ////////////////////////////////////////////////////////////////////////////////////////////////
>
> But when I compile the project , the error coming like:
>
> undefined reference to `tesseract::TessBaseAPI::TessBaseAPI()
>
>
>
> How can I solve the problem? Anyone can tell me how to connect the library of 
> the tesseract_ocr  in the Qt5.5 ? Thank you very much.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/6793cbaf-3cd4-4cd6-a791-00e14524855d%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/6793cbaf-3cd4-4cd6-a791-00e14524855d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xPiN3L4Ft3A6e9AWPdRUTN5gPXGfDuJYP%3DZ%3D4VG84g4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to