Scripter2 (Project)

From Scribus Wiki
Revision as of 08:57, 15 September 2017 by JLuc (talk | contribs) (→‎Hints)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

early draft

il y a un scripter 2 que j'ai intégré dans scribus 1.5 et avec lequel il serait facile de créer des dialogues. le problème est que lorsque j'ai intégré le code il marchait à peu près et -- maintenant -- il ne compile plus. il faudrait vraiment que quelqu'un qui s'y mette, mais mes connaissances de python ne sont pas suffisantes (et l'auteur original n'est pas pressé de y travailler). je peux par contre aider pour la partie c++ (même si mes connaissances de c++ et de python ne sont pas exceptionnelles) et la plupart du code du scripter lui-même est du python.

Issues with scripter 2

JL : afaik issues are with updating to Python3 and Qt5.

Ale : scripter 2 is a very elegant solution... but

  • it's hard to understand how it works
  • it's based on a brilliant but esoteric fork of kross, an unsupported (since 10+ years) library... not in use anymore - apart in kde - and minikross has never been used by any other project.

and no effort could get to make it work with python3 and Qt5

Hints

boud has tried to get the scripter 2 to work for krita, but failed and implemented an own solution for krita. https://phabricator.kde.org/T1625 . As far as i understood they've built the solution on swig http://www.swig.org

Ale :

boud (for Krita) :