-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/Develop'
- Loading branch information
Showing
53 changed files
with
3,400 additions
and
988 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,3 +1,5 @@ | ||
/build-* | ||
*.pro.user | ||
/build_64_release/ | ||
/TrackYourTime.app/ | ||
/build_64_debug/ |
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,27 +1,45 @@ | ||
|
||
For building this application, Qt 5 is required | ||
For building this application, Qt 5 is required | ||
|
||
You can get it here: https://www.qt.io/download/ | ||
You can get it here: https://www.qt.io/download/ | ||
|
||
First build TrackYourTime.pro with Qt Creator - it is a typical Qt project | ||
First build TrackYourTime.pro with Qt Creator - it is a typical Qt project | ||
|
||
After building do the following: | ||
After building do the following: | ||
|
||
#Windows | ||
|
||
Place TrackYourTime.exe in build folder, copy data folder, | ||
copy platforms plugin with qwindows, copy necessary qt libs | ||
Pack in compressed folder TrackYourTime_Windows.zip | ||
Place TrackYourTime.exe in build folder, copy data folder, | ||
copy platforms plugin with qwindows, copy necessary qt libs | ||
Pack in compressed folder TrackYourTime_Windows.zip | ||
|
||
#Mac OS X | ||
|
||
Copy data into TrackYourTime.app/Contents/MacOS | ||
Copy data into TrackYourTime.app/Contents/MacOS | ||
copy platforms/libqcocoa.dylib into TrackYourTime.app/Contents/PlugIns/platforms | ||
add key LSUIElement with value 1 into TrackYourTime.app/Contents/Info.plist | ||
execute macdeployqt with -dmg flag | ||
execute macdeployqt with -dmg flag(<path_to_qt/macdeployqt TrackYourTime.app -dmg>) | ||
Rename package to TrackYourTime_MacOSX.dmg | ||
|
||
#Linux | ||
Place TrackYourTime in build folder, | ||
copy data folder, copy checksystem | ||
Pack into TrackYourTime_Linux.tar.gz | ||
|
||
|
||
#Localization | ||
its possible to make this work from console without QtCreator. | ||
But QtCreator is simple and powerfull tool and i prefer to use it. | ||
|
||
Open project in QtCreator | ||
Go to menu Tools->External->Linguist->Update Translations(lupdate) | ||
Launch Qt Linguist(<qt_path/bin/linguist>) | ||
Open *.ts file for edit | ||
Edit file(edit item and press Ctrl+Enter) | ||
Save file | ||
Go to menu Tools->External->Linguist->Release Translations(lrelease) | ||
Move *.qm file into data/languages | ||
|
||
If you create new language - create file with name data/languages/lang_<lang_id>_name.utf8 | ||
Open this file in utf8 text editor | ||
And place only one line in utd8 encoding - name of language in native format |
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
Oops, something went wrong.