Damien Elmes
66406110f5
typing tweaks
2019-12-19 21:11:35 +10:00
Damien Elmes
e84b3256e5
add extra qt import back to fix linting
2019-12-16 10:02:48 +10:00
Damien Elmes
c508498ba8
add aqt/
2019-12-16 08:51:38 +10:00
Damien Elmes
ebdd8dae4b
tidy up unused imports
2019-03-04 17:25:19 +10:00
Damien Elmes
4037a034aa
fix inconsistent indentation
2019-03-04 16:54:22 +10:00
Damien Elmes
3721cc4604
silence some spurious errors and remove some unused code
2019-03-04 11:22:40 +10:00
Glutanimate
ff74c51d9f
Explicitly import all QtWebEngineWidgets
...
Seems to be necessary for pyqt 5.12+ builds from pypi.
2019-02-15 13:55:35 +01:00
Damien Elmes
372d5ed6e8
update copyright and clarify licenses
2019-02-05 14:01:33 +10:00
Damien Elmes
3cb073878a
allow startup on qt5.12+
...
an intermittent issue with the webview on macOS, but otherwise
appears ok in initial tests
2018-10-25 14:48:08 +10:00
Damien Elmes
63f2ccdb3a
allow startup on qt 5.11
2018-10-23 16:03:27 +10:00
Damien Elmes
5ecd01cc99
support new sip module location
...
qt has moved sip into a submodule
2018-10-23 16:02:59 +10:00
Damien Elmes
da246cb935
move back to requiring python 3.6
...
portions of libanki can run on python 3.5, but media syncing will fail
so we require 3.6 when running the GUI
2018-06-07 11:36:11 +10:00
Damien Elmes
e93dedc7c6
avoid running on qt 5.11
...
updates will be needed for Qt's latest round of breaking changes
2018-05-29 19:25:23 +10:00
Damien Elmes
65b826d787
refuse to run on qt 5.10
...
- on Linux and Windows, opening the browser and stats window back and
forth multiple times triggers a crash in the GL libraries, even with
software rendering enabled. Will try again when .1 is out
- on Mac, shortcut keys fire multiple times:
https://bugreports.qt.io/browse/QTBUG-65184
2017-12-18 14:50:14 +10:00
Damien Elmes
c24f122d6e
require qt 5.9
2017-06-06 14:33:53 +10:00
Damien Elmes
8085f8bc04
refuse to load on qt5.8.0 due to lack of IME support, etc
2017-02-22 18:36:46 +10:00
Damien Elmes
1405cddc6e
require qt5.7.1+
2017-01-08 19:34:31 +10:00
Damien Elmes
adda80fc33
refuse to run on qt5.7.0
2016-07-18 13:59:45 +10:00
Damien Elmes
d0fcf6a2ff
debug webengine dll problems
2016-07-08 12:34:30 +10:00
Damien Elmes
9abc9fde9f
use a channel for bridge
...
acceptNavRequest was not being called for rapid updates, so it's not
usable
2016-06-06 15:50:03 +10:00
Damien Elmes
de7e40537d
port majority of code to qt5.5+
...
- a few issues to work out still, and editor changes not done yet
- for communication between webengine and python code, we set window
.location to 'http://anki/ <something>' - the leading http is
necessary for qt to call the link handler, which was introduced
in qt5.5
- the designer files now use a promoted qobject to create instances
of AnkiWebView
- we use the css zoom property to alter webengine font size based on
system dpi
- prefs and addons folder stored in new location (at least for now)
2016-05-31 18:51:40 +10:00
Damien Elmes
93414007b8
stop providing pyqtconfig, as it's no longer available on newer plats
2014-03-06 09:04:28 +09:00
Damien Elmes
cc98ef3763
tweak imports to work around tooling incorrectly finding module unused
...
fixes 'quit' from the profile menu, etc
2013-12-19 07:41:29 +09:00
Damien Elmes
463fec1158
setdestroyonexit ( #907 )
2013-09-04 03:15:35 +09:00
Damien Elmes
8fd4ae7a89
include pyqtconfig until add-ons have a chance to update
2013-06-10 15:03:19 +09:00
Damien Elmes
a492e95aed
remove pyqtconfig usage ( #831 )
2013-05-17 15:17:04 +09:00
Damien Elmes
f54c2f7835
qt4.6 ruby workaround
2013-01-29 06:40:33 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00