Robotics StackExchange | Archived questions

How to create a gui using qt creator ?

I am using ubuntu 16.04 and ROS kinetic.

Asked by Fstream on 2018-12-16 06:21:51 UTC

Comments

Answers

  1. $ sudo apt-get install qt-sdk - to install QT
  2. $ sudo apt-get install python-qt4 pyqt4-dev-tools - to install Python bindings for Qt cross-platform

After 1 and 2, Create required UI using QtCreater.

a. $ pyuic4 -x filename.ui -o filename.py

b. In filename.py integrate ROS code to interact with respect to UI Clicks

Follow this Tutorial series https://www.youtube.com/watch?v=CNgfM2UAReA&t=14s

Asked by pavankumarbn on 2018-12-16 22:22:59 UTC

Comments

Can you please update your answer with the relevant information to answer the question? If your video disappears then this answer will no longer have value.

Asked by jayess on 2018-12-18 07:02:54 UTC

Thank you @jayess for your guidance. I will update my answers.

Asked by pavankumarbn on 2018-12-18 18:08:32 UTC