QString msgText = QString("The file has been saved at %1\sysconf.xml").arg(QApplication::applicationDirPath);
給我上面的錯誤。之前我使用過.arg(),所以我想知道它爲什麼會給我這個錯誤?我的代碼中的所有其他.arg()都能正常工作。
我有一個QString,我追加從用戶輸入的數據。 在QString的結束,我需要追加一個「正常」的QString的十六進制表示。 例如: QString Test("ff00112233440a0a");
QString Input("Words");
Test.append(Input);//but here is where Input needs to be the Hex repre