File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set(KSNIP_PLUGIN_OCR_SRCS
55
66
77add_library (ksnip-plugin-ocr SHARED ${KSNIP_PLUGIN_OCR_SRCS} )
8- target_link_libraries (ksnip-plugin-ocr PRIVATE Qt5::Widgets tesseract)
8+ target_link_libraries (ksnip-plugin-ocr PRIVATE Qt5::Widgets tesseract leptonica )
99target_compile_options (ksnip-plugin-ocr PRIVATE ${COMPILE_OPTIONS} )
1010
1111if (UNIX AND NOT APPLE )
Original file line number Diff line number Diff line change 1919
2020#include " OcrWrapper.h"
2121
22- #include < QDebug>
23-
2422OcrWrapper::OcrWrapper () :
2523 mTessApi(QSharedPointer<TessBaseAPI>(new TessBaseAPI()))
2624{
Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ class OcrWrapper
3939private:
4040 QSharedPointer<TessBaseAPI> mTessApi ;
4141
42- static PIX* makePixFromPixmap (const QPixmap &pixmap) ;
42+ static PIX* makePixFromPixmap (const QPixmap &pixmap);
4343};
4444
45-
4645#endif // PLUGIN_OCR_OCRWRAPPER_H
You can’t perform that action at this time.
0 commit comments