Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, July 2006
Retrieving subnet mask


Message 1 in thread

Hi There,

Is it possible to retrieve the subnet mask which the computer uses on a
network card with Qt somehow? Or shall there any other cross platform
alternative?

Thanks,
Sandor


Message 2 in thread

On Wednesday 05 July 2006 19:54, Hadas Sandor wrote:
> Is it possible to retrieve the subnet mask which the computer uses on a
> network card with Qt somehow? Or shall there any other cross platform
> alternative?
http://doc.trolltech.com/4.2/qnetworkinterface.html#addressEntries
appears to do what you want.

I'm not aware of any way to do this with Qt 4.1 or earlier.

Brad

--
 [ signature omitted ] 

Message 3 in thread

On Wednesday 05 July 2006 11:54, Hadas Sandor wrote:
> Hi There,
>
> Is it possible to retrieve the subnet mask which the computer uses on a
> network card with Qt somehow? Or shall there any other cross platform
> alternative?

Check out QNetworkInterface and QNetworkAddressEntry in Qt 4.2's tech preview 
release recently announced.

	http://doc.trolltech.com/4.2/qnetworkinterface.html

Simon

Attachment:

Attachment: pgpnfOZYjtlmi.pgp
Description: PGP signature


Message 4 in thread

Thanks Brad and Simon. :)
 
Sandor
 

Message 5 in thread

Simon Hausmann wrote:
> On Wednesday 05 July 2006 11:54, Hadas Sandor wrote:
> > Hi There,
> >
> > Is it possible to retrieve the subnet mask which the computer uses on a
> > network card with Qt somehow? Or shall there any other cross platform
> > alternative?
> 
> Check out QNetworkInterface and QNetworkAddressEntry in Qt 
> 4.2's tech preview release recently announced.
> 
> 	http://doc.trolltech.com/4.2/qnetworkinterface.html

Now that hints to 4.2 are showing up regularly I have two
questions:

How stable is this 'tech preview' compared to 4.1.4 (or
better 4.1.3), i.e. will it likely work out-of-the-box,
or is it rather similar to 4.0betaX and 4.0.0?

Is it planned to have a 4.1.5 release fixing e.g. the drawLine()
crash, or will 4.2.0 be the next official release?

Andre'

--
 [ signature omitted ]