-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Darwin build #12
Fix Darwin build #12
Conversation
Darwin Qt contains .cmake files which match this filter.
Skip early Qt versions due to failures.
Thanks for the help! Hopefully I can give it a try today. My recollection was that my hangup was with identifying all the dependencies that needed to be included so I'm a bit confused that there isn't more work for that. But, maybe I was just heading down the wrong path... But really, this is years in the waiting so, excited! |
There is some unsolved problems with qt 5.14.1 and earlier, which I have excluded from CI. Probably you were hitting those problems, which are thankfully solved in qt 5.14.2+ , and hopefully dont re-appear in v6. If you have problems with v6, disable mac for #11 and I'll investigate them after you've merged. |
ping @altendky, did you get a chance to look at this, and altendky/pyqt-plugins#14 . I'd like to keep working on a solution based on this, esp adding qmlformat and qmllint to pyqt-tools, but I need the mac support for this to be viable. |
I spent most of the weekend on another project, but yes, I did start into this and ran into unrelated build issues in qt-tools that I need to deal with, or maybe shortcut around. |
I took the shortcut in qt-tools ; these packages are wickedly interwoven. |
ping @altendky ;-) |
@altendky , is there anything I can do to help this along, in this repo or the associated repos? |
Sorry for leaving you hanging. |
Hey guys, nothing to do with this project, but how can I make pyqt5-tools work on my mac? It always gives me errors when i type "pip3 install pyqt5-tools" |
We're waiting on altendky/pyqt-plugins#15 being ready. |
With @jayvdb, I think we've got all layers... working? I have disabled 5.14.0 and 5.14.1 on macOS. @jayvdb, did you have any understanding of what the issue is with them? I didn't dig into it. Is it Qt? PyQt? Python 3.5 failures on Windows I think are caused by path length limits that go away once lower layers are released so I'm planning on ignoring those unless they continue after the sub-layers do get published. |
@SKing606 also note that there is altendky/pyqt-tools#12. Maybe we get lucky and it gets closed soon. |
@jayvdb, would you have time to try out the wheels in the artifacts for the following builds? You should be able to download the https://github.com/altendky/qt-applications/actions/runs/811033536 |
Hmm, not quite that easy
|
Manually removed those deps from the
|
❯ python3.8 -m pyflakes py2many.py setup.py pykt pygo pydart/ pyjl pyrs py2many/ py14 pynim
Python 3.8.5 (default, Sep 4 2020, 02:22:02)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt5_applications
>>> qt5_applications._applications
<module 'qt5_applications._applications' from '/usr/local/Caskroom/miniconda/base/lib/python3.8/site-packages/qt5_applications/_applications.py'>
>>> qt5_applications._applications.application_paths
{'assistant': 'Assistant.app', 'designer': 'Designer.app', 'linguist': 'Linguist.app', 'canbusutil': 'canbusutil', 'lconvert': 'lconvert', 'licheck_mac': 'licheck_mac', 'lprodump': 'lprodump', 'lrelease': 'lrelease', 'lrelease-pro': 'lrelease-pro', 'lupdate': 'lupdate', 'lupdate-pro': 'lupdate-pro', 'macchangeqt': 'macchangeqt', 'macdeployqt': 'macdeployqt', 'moc': 'moc', 'pixeltool': 'pixeltool.app', 'qcollectiongenerator': 'qcollectiongenerator', 'qdbus': 'qdbus', 'qdbuscpp2xml': 'qdbuscpp2xml', 'qdbusviewer': 'qdbusviewer.app', 'qdbusxml2cpp': 'qdbusxml2cpp', 'qdistancefieldgenerator': 'qdistancefieldgenerator', 'qdoc': 'qdoc', 'qgltf': 'qgltf', 'qhelpgenerator': 'qhelpgenerator', 'qlalr': 'qlalr', 'qmake': 'qmake', 'qml': 'qml.app', 'qmlcachegen': 'qmlcachegen', 'qmleasing': 'qmleasing', 'qmlimportscanner': 'qmlimportscanner', 'qmllint': 'qmllint', 'qmlmin': 'qmlmin', 'qmlplugindump': 'qmlplugindump', 'qmlpreview': 'qmlpreview', 'qmlprofiler': 'qmlprofiler', 'qmlscene': 'qmlscene', 'qmltestrunner': 'qmltestrunner', 'qscxmlc': 'qscxmlc', 'qtattributionsscanner': 'qtattributionsscanner', 'qtdiag': 'qtdiag', 'qtpaths': 'qtpaths', 'qtplugininfo': 'qtplugininfo', 'qvkgen': 'qvkgen', 'rcc': 'rcc', 'repc': 'repc', 'tracegen': 'tracegen', 'uic': 'uic', 'xmlpatterns': 'xmlpatterns', 'xmlpatternsvalidator': 'xmlpatternsvalidator'}
>>> qt5_applications._application_path('designer')
PosixPath('/usr/local/Caskroom/miniconda/base/lib/python3.8/site-packages/qt5_applications/Qt/bin/Designer.app')
>>> import qt5_tools.entrypoints
>>> qt5_tools.entrypoints
<module 'qt5_tools.entrypoints' from '/usr/local/Caskroom/miniconda/base/lib/python3.8/site-packages/qt5_tools/entrypoints.py'> |
@jayvdb thanks for trying this out. I get the issue with the dependencies and yeah, another bit there to make more pleasant for development. I'm not sure what you are showing with the second message or whether it seems to be working for you. |
Yea, just showing that it is working after installing. Happy to run any other snippets you want in order to verify it is working correctly. |
@jayvdb I was thinking using the pyqt5-tools layer and making sure applications open, the demo cli options work such as designer showing the example widget in the widget list, etc. |
@jayvdb, pending your go ahead that at least your installation "works" I think I'm ready to start into the release process on this. Mostly just qt-applications is the important layer to not re-release due to its big size. So, we shouldn't need to do this for all the layers. Just this first and then again at the end with a just-from-PyPI installation. Thanks for your work on this. Been a lot of years waiting to get support for all three platforms. |
My installation works. |
With this, and a few other changes in other related repos,
pyqt5-tools designer
works on Mac