-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from wanhuz/main
Merge 0.6.2
- Loading branch information
Showing
19 changed files
with
159 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
1. Install MS Studio 2022 | ||
2. Install Qt 5.15.1 | ||
3. Install Vcpkg | ||
4. Build the project from Visual Studio once to download dependencies using Vcpkg | ||
1. Install MS Visual Studio 2022 | ||
2. Install Qt 5.15.1 | ||
3. Integrate Qt into Visual Studio using QT VS Tools Plugin | ||
- Set Qt 5.15.1 to its folder (example: C:\Qt\5.15.1\msvc2019_64) | ||
4. Install Vcpkg | ||
5. Install Mecab from official site, set to UTF-8 during installation | ||
6. To compile and run the program in debug mode, define absolute path to its resource folder in directive in file: | ||
- dict.cpp | ||
- MainWindow.cpp | ||
- mecabKey.cpp | ||
- ocr.cpp | ||
- popup.cpp | ||
6. Build the project from Visual Studio to download dependencies using Vcpkg and run it! | ||
|
||
x. If the program crash because of Mecab::createTagger, make sure the mecabrc absolute path is correct in mecabKey.cpp | ||
x. If the program crash because of Mecab::createTagger, make sure the mecabrc path is correct in mecabKey.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<LocalDebuggerEnvironment>TESSDATA_PREFIX=C:\Users\WanHuz\source\repos\melonpan\res\tessdata | ||
PATH=%PATH%;$(QtDllPath);C:\Users\WanHuz\AppData\Local\Programs\Python\Python37 | ||
PYTHONPATH="C:\Users\WanHuz\AppData\Local\Programs\Python\Python37\DLLs;C:\Users\WanHuz\AppData\Local\Programs\Python\Python37\Lib" | ||
PYTHONHOME=C:\Users\WanHuz\AppData\Local\Programs\Python\Python37</LocalDebuggerEnvironment> | ||
<LocalDebuggerEnvironment>PATH=%PATH%;$(QtDllPath) | ||
$(LocalDebuggerEnvironment)</LocalDebuggerEnvironment> | ||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
<LocalDebuggerCommand>$(TargetPath)</LocalDebuggerCommand> | ||
<LocalDebuggerCommandArguments>$(QmlDebug) </LocalDebuggerCommandArguments> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='x86|x64'"> | ||
<QtLastBackgroundBuild>2023-05-01T10:22:43.0950918Z</QtLastBackgroundBuild> | ||
<QtLastBackgroundBuild>2023-05-02T00:28:56.7707115Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<QtLastBackgroundBuild>2023-05-01T10:22:43.3310925Z</QtLastBackgroundBuild> | ||
<QtLastBackgroundBuild>2023-05-02T00:28:57.5382552Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<QtLastBackgroundBuild>2023-05-01T10:22:43.5470918Z</QtLastBackgroundBuild> | ||
<QtLastBackgroundBuild>2023-05-02T00:28:57.7812585Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<QtLastBackgroundBuild>2023-05-01T10:22:43.1720946Z</QtLastBackgroundBuild> | ||
<QtLastBackgroundBuild>2023-05-02T00:28:56.9702554Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='x86|Win32'"> | ||
<QtLastBackgroundBuild>2023-05-01T10:22:43.2521243Z</QtLastBackgroundBuild> | ||
<QtLastBackgroundBuild>2023-05-02T00:28:57.2052557Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<QtLastBackgroundBuild>2023-05-01T10:22:43.4580916Z</QtLastBackgroundBuild> | ||
<QtLastBackgroundBuild>2023-05-02T00:28:57.6802558Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
</Project> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
|
||
#define APSTUDIO_READONLY_SYMBOLS | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 2 resource. | ||
// | ||
#include "winres.h" | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#undef APSTUDIO_READONLY_SYMBOLS | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// Japanese (Japan) resources | ||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN) | ||
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT | ||
#pragma code_page(932) | ||
|
||
#ifdef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// TEXTINCLUDE | ||
// | ||
|
||
1 TEXTINCLUDE | ||
BEGIN | ||
"resource.h\0" | ||
END | ||
|
||
2 TEXTINCLUDE | ||
BEGIN | ||
"#include ""winres.h""\r\n" | ||
"\0" | ||
END | ||
|
||
3 TEXTINCLUDE | ||
BEGIN | ||
"\r\n" | ||
"\0" | ||
END | ||
|
||
#endif // APSTUDIO_INVOKED | ||
|
||
#endif // Japanese (Japan) resources | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// English (United Kingdom) resources | ||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) | ||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK | ||
#pragma code_page(1252) | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Icon | ||
// | ||
|
||
// Icon with lowest ID value placed first to ensure application icon | ||
// remains consistent on all systems. | ||
IDI_ICON2 ICON "C:\\Users\\WanHuz\\Documents\\GitHub\\melonpan\\res\\ui\\melonpan.ico" | ||
|
||
#endif // English (United Kingdom) resources | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 3 resource. | ||
// | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#endif // not APSTUDIO_INVOKED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//{{NO_DEPENDENCIES}} | ||
// Microsoft Visual C++ generated include file. | ||
// Used by melonpan.rc | ||
// | ||
#define IDI_ICON1 101 | ||
#define IDI_ICON2 102 | ||
|
||
// Next default values for new objects | ||
// | ||
#ifdef APSTUDIO_INVOKED | ||
#ifndef APSTUDIO_READONLY_SYMBOLS | ||
#define _APS_NEXT_RESOURCE_VALUE 103 | ||
#define _APS_NEXT_COMMAND_VALUE 40001 | ||
#define _APS_NEXT_CONTROL_VALUE 1001 | ||
#define _APS_NEXT_SYMED_VALUE 101 | ||
#endif | ||
#endif |