You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after applying #3659 rdmolops.so is still linking to Qt libraries, at least on Linux.
It seems like these are transitive dependencies brought in by MolDraw2D: even if rdmolops itself doesn't make use of Qt, it defines MolToSVG(), which adds a dependency on MolDraw2D, so that it gets loaded whenever rdmolops is, and this also brings in the Qt libraries. As mentioned in #3658, this causes problems in systems where Qt is not available.
The best way I can think of to solve this issue is moving MolToSVG() to rdkit.Chem.Draw. I don't love that, because all the "MolTo..." functions are collected together in rdkit.Chem, but it would solve the issue, and since SVG is not really a structure file format (i.e. we cannot import a molecule back from it, there's no "MolFromSVG()"), it kind of makes sense to put it together with the rest of the drawing stuff.
Does that make sense?
The text was updated successfully, but these errors were encountered:
Even after applying #3659 rdmolops.so is still linking to Qt libraries, at least on Linux.
It seems like these are transitive dependencies brought in by MolDraw2D: even if rdmolops itself doesn't make use of Qt, it defines
MolToSVG()
, which adds a dependency on MolDraw2D, so that it gets loaded whenever rdmolops is, and this also brings in the Qt libraries. As mentioned in #3658, this causes problems in systems where Qt is not available.The best way I can think of to solve this issue is moving
MolToSVG()
tordkit.Chem.Draw
. I don't love that, because all the "MolTo..." functions are collected together inrdkit.Chem
, but it would solve the issue, and since SVG is not really a structure file format (i.e. we cannot import a molecule back from it, there's no "MolFromSVG()
"), it kind of makes sense to put it together with the rest of the drawing stuff.Does that make sense?
The text was updated successfully, but these errors were encountered: