This repository was archived by the owner on Feb 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +37
-10
lines changed Expand file tree Collapse file tree 4 files changed +37
-10
lines changed Original file line number Diff line number Diff line change 88 types : [ created ]
99
1010jobs :
11+ windows-qt :
12+ runs-on : windows-2019
13+ steps :
14+ - uses : actions/checkout@v1
15+ with :
16+ fetch-depth : 1
17+ - name : Install Qt
18+ uses : jurplel/install-qt-action@v2
19+ with :
20+ modules : qtwebengine
21+ - name : Install dependencies
22+ shell : bash
23+ run : |
24+ choco install openssl
25+ - name : Build the application
26+ shell : bash
27+ run : |
28+ mkdir build
29+ cd build
30+ export CMAKE_PREFIX_PATH="$Qt5_Dir/lib/cmake"
31+ export PATH="$Qt5_Dir/bin":"$PATH"
32+ kit=$(ls "/c/Program Files (x86)/Windows Kits/10/bin/"*"/x64/mc.exe" | head -n1 | sed s/mc.exe//)
33+ export PATH="$kit":"$PATH"
34+ export OPENSSL_ROOT_DIR="/c/Program Files/OpenSSL-Win64"
35+ cmake -DCMAKE_BUILD_TYPE=Release -DTOGGL_BUILD_TESTS=OFF -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" ..
36+ cmake --build . --config Release -- -m
37+
1138 macos-qt :
1239 runs-on : macOS-latest
1340 steps :
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ include_directories(
3030 ${LUA_INCLUDE_DIRS}
3131 ${JSONCPP_INCLUDE_DIRS}
3232 ${POCO_INCLUDE_DIRS}
33- $ENV{OPENSSL_ROOT_DIR} /include
33+ " $ENV{OPENSSL_ROOT_DIR} /include"
3434)
3535
3636# TogglDesktopLibrary sources
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ void setOptions(const TogglApplication &a) {
8181 parser.addOption (forceOption);
8282
8383 if (parser.isSet (forceStagingOption)) {
84- toggl::urls::SetUseStagingAsBackend (true );
84+ toggl_set_staging_override (true );
8585 }
8686
8787 parser.process (a);
Original file line number Diff line number Diff line change @@ -187,14 +187,14 @@ void on_display_timer_state(
187187}
188188
189189void on_display_idle_notification (
190- const char_t *guid,
191- const char_t *since,
192- const char_t *duration,
190+ const char_t *guid,
191+ const char_t *since,
192+ const char_t *duration,
193193 const int64_t started,
194- const char *description,
195- const char *project,
196- const char *task,
197- const char *projectColor) {
194+ const char_t *description,
195+ const char_t *project,
196+ const char_t *task,
197+ const char_t *projectColor) {
198198 TogglApi::instance->displayIdleNotification (
199199 toQString (guid),
200200 toQString (since),
@@ -635,7 +635,7 @@ QString TogglApi::start(const QString description,
635635 task_id,
636636 project_id,
637637 nullptr /* project guid */ ,
638- tags. toStdString (). c_str ( ) /* tags */ ,
638+ toLocalString (tags ) /* tags */ ,
639639 false ,
640640 0 ,
641641 0 );
You can’t perform that action at this time.
0 commit comments