Qt Contributors Summit 2022 - Program/QtScrypt: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
m (CristianMaureiraFredes moved page QtScrypt to Qt Contributors Summit 2022 - Program/QtScrypt)
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
==Notes==
==Notes==


(Taken by XXX)
taken by Friedemann Kleint


===Title===
* Hackathon Project running Python from C++ (Qt Script)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
* Idea: Simplify CPython API/Create a high level API for it
 
* QScryptEngine with an evaluate() function
===Title===
* QVariant-based (due to mixed types in Python)
 
* QScryptModule/QScryptFunction
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
* Some confusion about super ()
 
* Application bindings exposing QObjects (as historically in Qt Creator)?
 
* Python scripting of Qt Design Studio was considered , but no capacity
===Title===
* Use Python instead of JavaScript in Qt Design Studio would be nice (developer POV) , for example Property Editor
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
* Enable use of scientific packages from Python

Latest revision as of 12:30, 8 June 2022


Session Summary

Some time ago, I wrote a hackathon project to enable Python scripting within C++ applications - the outcome was cool :). Due to the similarities, I decided to call it QtScrypt, because it kind of follows a similar idea as QtScript, but with Python. I would like to present the proof of concept I have, and if it's interest from someone else to start the development and create a proper project out of this idea.

Session Owners

  • Cristián Maureira-Fredes

Notes

taken by Friedemann Kleint

  • Hackathon Project running Python from C++ (Qt Script)
  • Idea: Simplify CPython API/Create a high level API for it
  • QScryptEngine with an evaluate() function
  • QVariant-based (due to mixed types in Python)
  • QScryptModule/QScryptFunction
  • Some confusion about super ()
  • Application bindings exposing QObjects (as historically in Qt Creator)?
  • Python scripting of Qt Design Studio was considered , but no capacity
  • Use Python instead of JavaScript in Qt Design Studio would be nice (developer POV) , for example Property Editor
  • Enable use of scientific packages from Python