eyllanesc / QuteMap

Maps using Qt WebEngine and Qt WebChannel using PyQt5/PySide2
GNU Lesser General Public License v3.0
26 stars 11 forks source link

QtWebKit got deprecated upstream in Qt 5.5 and removed in 5.6 #1

Open ChildishGiant opened 6 years ago

ChildishGiant commented 6 years ago

https://github.com/eyllanesc/qMap/blob/master/qOSM/common.py#L16

eyllanesc commented 6 years ago

@ChildishGiant QtWebKit is deprecated in Qt but is still developed by another community independently, for example I just tested it with PyQt5 5.11.2 and it works correctly, could I point you out where did you get that information ?, on the other hand I will soon add support for QtWebEngine :smile:

ChildishGiant commented 6 years ago

Oh, I tried running the examples and my python complained that it doesn't exist. My reputable source is some random guy on stackoverflow.

eyllanesc commented 6 years ago

@ChildishGiant As I said officially Qt no longer supports QtWebKit (deprecated for Qt), but other developers keep giving it maintenance, and in my case to have support I have manually compile QtWebKit and PyQt5, I do not use pip, so I still have the ability to execute that code. In a next version of my library I will try to migrate to QtWebEngine, the migration is not easy since several functions of QtWebKit are no longer incorporated in QtWebEngine. Also, for example, QtWebEngine is asynchronous. So you'll have to wait for the future version, or use an older version of PyQt5, probably PyQt 5.5, PyQt5 5.6 :smile_cat:

ChildishGiant commented 6 years ago

Thanks for the explanation 😄