Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
i want to convert qsize to qstring. qApp->screens()[1]->size()
@saber
QSize s = qApp->screens()[1]->size(); QString sizeString("(%1,%2)").arg(s.width()).arg(s.height());
@J.Hilk thank. sorry for silly problem.
@saber I think @J-Hilk meant:
QString sizeString = QString("(%1,%2)").arg(s.width()).arg(s.height());
(or at least try that instead?)
Also:
QString sizeString = QString("(%1,%2)").arg(s.width(), s.height());
may be slightly preferable.