|
|
Hello all
Is there any way to change QString to char*
this is what I'm doing
for( uint i(0); i < WTopology.count(); i++ )
{
QStringList line( QStringList::split( " ", WTopology[i], false ) );
QString ip1 = *line.at( 0 );
ip1 = ip1.stripWhiteSpace( );
ip1.
for(int j=0; j<array; j++)
{
if(strcmp(mystr[j],ip1) == 0) // Here I comparing the string so which
takes char*
{
QMessageBox::information(this,"ip1",ip1);
}
}
}
Thank You
Harsimrat
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|