Code Monkey home page Code Monkey logo

Comments (5)

christian-oreilly avatar christian-oreilly commented on June 12, 2024

The following package could be very useful in abstracting this problem: https://pypi.python.org/pypi/QtPy . This is used by the Spyder project (https://github.com/spyder-ide/spyder). Inspiration can be taken from this project on how to manage Qt bindings properly.

from neurocurator.

christian-oreilly avatar christian-oreilly commented on June 12, 2024

Other potential avenues to consider (listed for brainstorming only):

  • Docker install
  • Freeze as an executable
  • Move from Qt to a web-based interface (on longer term because this is likely to require a significant amount of work and time)
  • (to be completed)

from neurocurator.

pafonta avatar pafonta commented on June 12, 2024

Some notes as of 01.02.18:

  • Docker isn't for GUI applications like NeuroCurator,
  • freezing as an executable has been done between October 2017 and January 2018 but has a high cost on the releasing process and isn't Python style,
  • a web-based interface isn't currently the goal,
  • QtPy, from the Spyder project, might be in danger as the Spyder project is unfunded since November 2017,
  • PySide2 is still not considered stable,
  • migrating to Qt 5 is blocked by the need to stabilize the current code base.

As of v0.4.1, the new installation procedure mitigates this issue using conda-forge for PySide and Qt.
https://github.com/BlueBrain/neurocurator/blob/v0.4.1/README.md#getting-started

from neurocurator.

pafonta avatar pafonta commented on June 12, 2024

We will want to check Qt.py as an alternative to QtPy.
See also: https://github.com/mottosso/Qt.py#projects-similar-to-qtpy.

from neurocurator.

pafonta avatar pafonta commented on June 12, 2024

Fixed in NeuroCurator v0.4.4 by porting to Qt 5.11 and PyQt 5.11.

PyQt5 has been chosen instead of Qt for Python (PySide2) because there is no Poppler binding for PySide2. As currently it does not make sense to also be compatible with PySide2, no abstraction layer (Qt.py, QtPy, ...) has been used.

from neurocurator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.