Connnecting slots by name

I tried to use Qt designer, and I don’t see how I can rename a slot in the designer. It turns out that it will try to “connect by the name” directly.  It is quite obscure. And here is a bit of explanation.

gstreamer not working

Somehow using installing ros seems to screw up PKG_CONFIG_PATH and it returns only /opt/ros/noetic/lib/pkgconfig And if I try gst-inspect-1.0 It will return almost nothing. Manage to find the path back with pkg-config –variable pc_path pkg-config So adding export PKG_CONFIG_PATH=`pkg-config –variable pc_path pkg-config`:$PKG_CONFIG_PATH to .bashrc will do the trick. Now gst-launch-1.0 playbin uri=file:///path/to/video will play video…

Mounting EBS volume to AWS ec2

Stop an instance and detach the volume Attach the volume to another instance Mount the volume with commands below     sudo mkdir -m 000 /vol sudo mount /dev/xvdf1 /vol -t ext4