-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
qtwebglplugin: init at 5.11 #50207
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
qtwebglplugin: init at 5.11 #50207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure, according to the contribution guidelines, that the commit msg should be
qtwebglplugin: init at 5.11
Note: As with all Qt plugins, must set QT_QPA_PLATFORM_PLUGIN_PATH=~/.nix-profile/lib/qt-5.11/plugins for it to be found.
b8fb3b2
to
230f714
Compare
@GrahamcOfBorg build qt5.qtwebglplugin |
Success on x86_64-linux (full log) Attempted: qt5.qtwebglplugin Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: qt5.qtwebglplugin Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not to familiar with qt packaging in nixpkgs, but this appears fine to me.
Thanks! |
Note: As with all Qt plugins, must set QT_QPA_PLATFORM_PLUGIN_PATH=~/.nix-profile/lib/qt-5.11/plugins for it to be found.
Motivation for this change
qtwebglplugin wasn't packaged
Things done
Added a Qt module
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)Note: To test/use this, you need to:
Set
QT_QPA_PLATFORM_PLUGIN_PATH=~/.nix-profile/lib/qt-5.11/plugins
Run a Qt Quick application, either with the environment variable
QT_QPA_PLATFORM=webgl
or with the argument-platform webgl
Point a WebGL-capable browser at
<IP address>:8080
.I tested it with a number of the examples in the qt sources in qtdeclarative/examples.