SORU
28 Kasım 2009, CUMARTESİ


Nasıl QString içine dize değiştirmek için?

Bunu yapmak için en basit yolu nedir?

CEVAP
29 Kasım 2009, Pazar


Eğer STL uyumluluk, QString derledi QString std::string dönüştürme static method:

std::string str = "abc";
QString qstr = QString::fromStdString(str);

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Dion Coulls

    Dion Coulls

    16 AĞUSTOS 2006
  • kruno j

    kruno j

    6 Mayıs 2007
  • Troy Hunt

    Troy Hunt

    29 EYLÜL 2011