-
Notifications
You must be signed in to change notification settings - Fork 8
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
Bzlmod2 #26
Bzlmod2 #26
Conversation
Slightly editing shell command to make it easier to paste and run.
Sure thing, if you found any problem I will try my best to help if I got time. Btw, if you remember I encountered a performance issue a few months ago thread, the good news is that it was gone since bazel 8. I think the culprit was "~" in the path for Windows machines. Bazel 8 uses "+" instead. In other words, if bazel version < 8.0, I would recommend using WORKSPACE for rules_qt on Windows (other platforms work fine). For M1 Mac, I tried to build a Qt by myself and it works okay, since I don't want it to depend on system installed one. This change might break something, do you have error messages? |
@Sayter99 I get this error if I want to run the Hello World example:
I just cloned your repo and did a I added Have you hints for me - how did you bild Qt 6.8.0 on macos ARM? If I try to execute one of the binaries in the archive (e.g. bin/Designer) I get a warning that I cannot run an unknown executable from internet (maybe some saftey option on my Mac or the stuff has to be siggned...?) I tried also to use the Qt version installed by brew via:
But this leads to other errors... |
I can reproduce the error for bazel 8. It is working at my end with bazel 7.4.1, not sure what got changed, will look into it later. W.r.t. the Qt I've built, I enabled webengine (it's huge!) that's the reason it is large. I built it from scratch without signing anything, it might be the reason Qt creator cannot load it. |
@Vertexwahn Could you try to modify this line from update: per the help I got from slack channel, I updated the way to set rpath for mac. The issue should be fixed by this commit |
@Sayter99 I merged the pull request! Thanks for the awesome work you did! Build on macOS 13 fails since this uses macOS on x86_64 (and not arm) - would be nice if we could get this also fixed. May plan is to bring this also to the Bazel Central Registry. I am also thinking to bring this over to https://github.com/bazel-contrib organization. |
@Sayter99 I plan to overtake your Bzlmod approach - currently works fine for me on Ubuntu 24.04 and Windows 11. macOS ARM (with M1) does currently not work