You are not logged in.

1

Tuesday, December 7th 2004, 8:35am

external application

can somebody tell me, how can i create a link from a button widget in Qt to any external application? such as link to any url..

thank you so much

lucy

djanubis

Professional

  • "djanubis" is male

Posts: 1,370

Location: Moulins France

Occupation: Software ingeneering

  • Send private message

2

Tuesday, December 7th 2004, 9:13am

RE: external application

Create a slot, connect the clicked signal from the button to the slot.
In slot, use QProcess or system to activate your app.
For QProcess discussions, use the search button and follow the threads about QProcess.
Never patch not working code. Rewrite it !
Never patch badly designed classes. Recreate them cleanly.
(Excerpts from Computing Bible)

Home of the Lab project