[SOLVED] Problem with QString
I need help with QString variable. I want to create a sql query which contains near 1450 symbols.
Firstly, I create QString variable. When I'm checking size of my variable I see 1450 symbols. But when I'm trying to execute my QSqlQuery I catch an error. From the qDebug() I see first 1024 symbols normally and next only unreadable symbols. In the same time count show 1450 symbols. Please help my to understand what is wrong.
Thank in advance
Any chance you have escape charactors in it such as \ " ' etc etc
Thanks for your reply!
But I can't find any mistake in my string.
Bye the way, I tried to execute the next code:
@ QString ar;
for (int i=0; i < 1020; ++i)
ar += 'a';
qDebug() << ar;@
and have in the end of my output something like that
It was stupid question)
Sorry for disturb