Sunday, July 6th 2008, 1:33am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, January 24th 2008, 8:14pm

Output system commands to system designer

Guys,

I need to know how to output system commands to qt designer. I am using python to program. For example, i want to perform the below unix command:

cmd='dig ' + input + ' ns +short
os.system(cmd)

I want the command to output to QT designer. I tried:

self.listBox1.insertItem(os.system(cmd))

Can someone please tell me how to output system commands to QT designer.

Thanks.
  • Go to the top of the page

Rate this thread