qt

As an old programmer, when I debug a program, the first option is neither using qDebug()<<“helloworld”, nor using cout<<“helloworld”, not mention QMessageBox::information(this,”hello”,”world”). I’d like to use the old printf function. […]

Look at this simple code: QString s=”abcd”; char * ts=s.toLocal8Bit().data(); QMessageBox::information(NULL,”length”,QString(“s length:%1, ts length:%2”).arg(s.length()).arg(strlen(ts))); What do you think about the length of s and ts? Are they both 4? No, […]

Download and install software required to build Qt6 with VS To build Qt6 on Windows using Visual Studio, you need to install several software: cmake perl python3 ninja Visual Studio […]