-
Notifications
You must be signed in to change notification settings - Fork 3
/
DEVEL.txt
62 lines (55 loc) · 2.73 KB
/
DEVEL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
==========================================
Getting the source and contribute changes:
==========================================
Download and install tortoisegit from here:
https://code.google.com/p/tortoisegit/wiki/Download
Go to the git repository of win32diskimager, create an account, and login. Next click "fork" at the top-left, then click fork to accept the defaults.
https://sourceforge.net/p/win32diskimager/code/ci/master/tree/
Copy the "git clone" line at the top into notepad, should be something like this:
git clone ssh://[email protected]/u/username/win32diskimager u-username-win32diskimager
edit the line, so only the following remains:
ssh://[email protected]/u/username/win32diskimager
create a new folder somewhere on your hard disk.
right-click the folder, choose "Git Clone..."
enter this into the line "URL:"
ssh://[email protected]/u/username/win32diskimager
you will be asked for your sourceforge password.
When you have edited files, right-click on the folder, choose commit -> master.
You will be asked to enter information why you made the changes. This information is then stored locally on your computer.
Next, publish the changes you have made to sourceforge by right-click, and push. You will be asked for your sourceforge password. Now the changes are transferred to your version on sourceforge.
Finally, login to sourceforge, navigate to your fork of win32diskimager, and click "Request Merge"
Provide a meaningful summary and description, then click "Save". Now the developers are notified of your changes.
===========
Getting Qt:
===========
http://www.qt.io/download-open-source/
http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
welcome-> next
qt account -> leave all empty, next
setup -> next
installation folder: c:\qt -> next
select components: qt 5.7, deselect all, select minGW 5.3.0 -> next
***and tools-mingw5.3.0
license Agreement: agree -> next
start menu shortcuts -> next
install
installation finished -> next -> launch
=================
Debug Win32imager
=================
win32diskimager requires administrator rights to run, so run qtcreator as administrator.
open project, browse to win32diskimager\src\DiskImager.pro and then choose open
configure project
debug->start debugging->start debugging (F5)
======================
Add a new translation:
======================
Adding a new translation:
First, install QT as described above.
Next, run QT Linguist from the Windows Start Menu->QT folder.
File -> Open diskimager_en.ts
edit-> translation file settings, set target language and country/region.
file-> save as Open diskimager_??.ts
translate all the strings into the new language, save the file
edit DiskImager.pro to include the new language:
TRANSLATIONS =