Hello Erik,
thanks for the suggestion, this helped a step further along but not very far ...
This is what I've tried to do:
- install a fresh new OS (tried with Ubuntu and Manjaro)
- PyQt5 and QT5 are installed
- created a virtualenv for camelot, and PyQt5 is accessible in there
- hg clone
https://bitbucket.org/conceptive/camelot- hg checkout no_shared_data
- edit requirements.txt because there is a version conflict with chardet, so I removed the explicit versionnumber
- pip install -r requirements.txt --user
- export CAMELOT_QT_API=PyQt5
- cd myprojects/camelot/camelot_example
- python main.py
Then I get different exceptions one after another as I'm fixing them one by one, but after the sixth or so it feels like I'm not getting anywhere ...
The fixes I made so far:
1. in myprojects/camelot/camelot_example/main.py:
in class ExampleSettings, function setup_model
change the line "from . import model" to "import camelot_example.model as model"
2. in .virtualenvs/camelot_example/lib/python3.6/site-packages/camelot/view/controls/busy_widget.py:
in class BusyWidget, function __init__
change the corresponding line to "self.setSizePolicy( QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)"
3. in .virtualenvs/camelot_example/lib/python3.6/site-packages/camelot/view/workspace.py:
in class DesktopBackground, function __init__
change the corresponding line to "actionButtonsLayout = QtWidgets.QGridLayout()"
4. same file, same class, function set_actions
change the corresponding line to "actionButtonsLayout = self.findChild(QtWidgets.QGridLayout, 'actionButtonsLayout')"
5. in .virtualenvs/camelot_example/lib/python3.6/site-packages/camelot/view/controls/tableview.py:
in class TableView, function __init__
change the corresponding line to "splitter = QtWidgets.QSplitter(self)"
a couple lines further
change to "size_policy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)"
6. in .virtualenvs/camelot_example/lib/python3.6/site-packages/camelot/view/controls/inheritance.py:
in class SubclassTree, function __init__
change the corresponding line to "self.setSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)"
Is it that I did something wrong while installing, is my setup messed up? Or is it something else?
I have no experience with QT, the GUI stuff I did so far happened with wxPython. I'm wondering if the setup really can be such a problem. And I haven't even tried the whole thing on Windows, I assume this is going to be even more difficult considering I've never used py2exe or anything similar.
Could you share some thoughts maybe?
Kind regards,
Ralf