Skip to content

Commit 9d33f53

Browse files
committed
Build on Windows
- Bumped a few more version numbers in the codebase. - Updated readme for Windows packaging.
1 parent 7a5dfb6 commit 9d33f53

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

src/jyut-dict/jyut-dict.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
1818
TARGET = "Jyut Dictionary"
1919
TEMPLATE = app
2020

21-
VERSION = 0.20.05.25
21+
VERSION = 1.22.02.07
2222
QMAKE_TARGET_COMPANY = "Aaron Tan"
2323
QMAKE_TARGET_PRODUCT = "Jyut Dictionary"
2424
QMAKE_TARGET_DESCRIPTION = "Jyut Dictionary"

src/jyut-dict/logic/database/sqldatabasemanager.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ QString SQLDatabaseManager::getBundleUserDatabasePath()
221221
QFileInfo bundleFile{QCoreApplication::applicationDirPath()
222222
+ "/../Resources/" + USER_DATABASE_NAME};
223223
#elif defined(Q_OS_WIN)
224-
QFileInfo bundleFile{QCoreApplication::applicationDirPath() + USER_DATABASE_NAME};
224+
QFileInfo bundleFile{QCoreApplication::applicationDirPath() + "./"
225+
+ USER_DATABASE_NAME};
225226
#else
226227
#ifdef APPIMAGE
227228
QFileInfo bundleFile{QCoreApplication::applicationDirPath()

src/jyut-dict/platform/windows/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ To build for Windows:
33
- Build using the RELEASE configuration on Windows.
44
- Copy the executable, dict.db, and user.db to `installer/packages/com.aaronhktan.cantonesedictionary/data`.
55
- Run WinDeployQt on the executable. Make sure to run WinDeployQt with the command prompt installed in the Start Menu or run QtEnv2.bat, so that appropriate paths are added to the system path.
6-
- Download and install the appropriate OpenSSL 1.0.2 file (32-bit and 64-bit). Copy libeay32.dll and ssleay32.dll to the data folder.
6+
- Download and install the appropriate OpenSSL 1.1.1 file (32-bit and 64-bit). Copy libssl-1_1.dll, libcrypto-1_1.dll, capi.dll, and dasync.dll to the data folder.
77
- Run binarycreator.exe (from Qt Installer Framework Tools), passing `--offline-only -c <path-to-config/config.xml> -p <path-to-packages> <name-of-executable>`.

src/jyut-dict/platform/windows/installer/config/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Installer>
33
<Name>Jyut Dictionary</Name>
4-
<Version>2020-05-25</Version>
4+
<Version>2022-02-07</Version>
55
<Title>Jyut Dictionary</Title>
66
<Publisher>Aaron Tan</Publisher>
77
<StartMenuDir>Jyut Dictionary</StartMenuDir>

src/jyut-dict/platform/windows/installer/packages/com.aaronhktan.cantonesedictionary/meta/package.xml

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
<Package>
33
<DisplayName>Jyut Dictionary</DisplayName>
44
<Description xml:lang="fr">Dictionnaire Jyut</Description>
5-
<Description xml:lang="zh_CN">粤语字典</Description>
6-
<Description xml:lang="zh_HK">粵語字典</Description>
7-
<Description xml:lang="zh_TW">粵語字典</Description>
5+
<Description xml:lang="zh_CN">粤语词典</Description>
6+
<Description xml:lang="zh_HK">粵語辭典</Description>
7+
<Description xml:lang="zh_TW">粵語辭典</Description>
88
<Description>The Cantonese Dictionary Application.</Description>
99
<Description xml:lang="fr">Application Dictionnaire Jyut.</Description>
10-
<Description xml:lang="zh_CN">粤语字典软件。</Description>
11-
<Description xml:lang="zh_HK">粵語字典軟件。</Description>
12-
<Description xml:lang="zh_TW">粵語字典軟件。</Description>
13-
<Version>2020.05.25</Version>
14-
<ReleaseDate>2020-05-25</ReleaseDate>
10+
<Description xml:lang="zh_CN">粤语词典软件。</Description>
11+
<Description xml:lang="zh_HK">粵語辭典軟件。</Description>
12+
<Description xml:lang="zh_TW">粵語辭典軟件。</Description>
13+
<Version>2022.02.07</Version>
14+
<ReleaseDate>2022-02-07</ReleaseDate>
1515
<Licenses>
1616
<License name="MIT License" file="LICENSE.md" />
1717
</Licenses>

0 commit comments

Comments
 (0)