Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widgets and WebKitWidgets for Qt5 #3

Open
dbrnz opened this issue Apr 12, 2014 · 3 comments
Open

Widgets and WebKitWidgets for Qt5 #3

dbrnz opened this issue Apr 12, 2014 · 3 comments

Comments

@dbrnz
Copy link

dbrnz commented Apr 12, 2014

Thanks for your work! I've managed to get things working with Qt 5.2 under OS/X 10.9. However QtWidgets and QtWebKitWidgets are missing. What is required to create code for them in ./generated_cpp_50?? I'm happy to do the work if I have some pointers...

@Orochimarufan
Copy link
Owner

It still uses the old (Qt4) module layout, so the QWidgets classes should be in QtGui and the QtWebkitWidgets classes in QtWebKit.
This should probably be fixed but right now, there's nobody working on it.

Basically, you need to change the .xml api description files in ./generator_50/ and possibly the generator code itself. Then you let it generate new bindings.

If you're up for it, feel free to do the work, as I don't really see myself working on this right now because I mostly use the non-GUI parts of PythonQt in my projects.

@dbrnz
Copy link
Author

dbrnz commented Apr 12, 2014

This looks to be a non-trivial task...! The .xml files come from the QtScript bindings project and my guess is that they have been generated by some tool. I'll carry on investigating.

@dbrnz
Copy link
Author

dbrnz commented Apr 12, 2014

The original source of the xml files was QtJambi and from its documentation: "Type conversion in the bindings is based on an XML mark-up which assigns certain attributes to each of the mapped classes. The XML document is handwritten, and mainly provides information on the usage pattern for each class."

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

No branches or pull requests

2 participants