Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Fix #392 with version check for Anki and Qt #396

Merged
merged 2 commits into from
Jul 8, 2023
Merged

Fix #392 with version check for Anki and Qt #396

merged 2 commits into from
Jul 8, 2023

Conversation

mikkkee
Copy link
Contributor

@mikkkee mikkkee commented Jul 6, 2023

Hi,

Some tests are failing due to #392 , there are two kinds of errors

  1. aqt.import_export doesn't exist, it turns out this is only added in Anki 2.1.52. See #1743 in ankitects/anki@2.1.51...2.1.52
  2. Qt.WindowStaysOnTopHint doesn't exist, it turns out it's of a different name in Qt6.

This pull request is to handle both and update doc to make it clear guiImportFile is only supported >=2.1.52

Thanks!

@mikkkee
Copy link
Contributor Author

mikkkee commented Jul 7, 2023

Oh looks I need to add a button click after bringing up the import window to avoid timeout

@mikkkee
Copy link
Contributor Author

mikkkee commented Jul 7, 2023

Tests are good now 😄

@FooSoft
Copy link
Owner

FooSoft commented Jul 8, 2023

Nice, thanks for fixing up the back compat!

@FooSoft FooSoft merged commit b896b66 into FooSoft:master Jul 8, 2023
19 checks passed
@mikkkee
Copy link
Contributor Author

mikkkee commented Jul 9, 2023

This test fails, but it looks not related to this change.

https://github.com/FooSoft/anki-connect/actions/runs/5495042567/jobs/10014182696

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants