Question

I am trying to venture into the UPNP programming. However, I don't know how to use the upnp library on Linux. I don't like the gnu - UPNP stuffs. It confuses me a lot. However, I can give a try if I can find some simple examples on either QT-UPNP or G-UPNP. Please do share some simple examples on it. My preference is QT. In case, QT doesn't support UPNP, please suggest some other alternative examples. I tried with libupnp version, but their example code crashed with a segmentation fault.

Was it helpful?

Solution

QT does not include UPnP functionality (as a Google search must have told you). I think it's fair to say that there is no QT-based UPnP library that is close to being as stable and complete as GUPnP is.

GUPnP has examples included in the source code, starting from simple light switch to more complex tools.

OTHER TIPS

Qt doesn't integrate any UPnP module. But there are some projects which tried to implement UPnP for Qt, like :

But these are a bit old and not really stable

To see others UPnP implementations, please visit the UPnP forum website

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top