Answer the question
In order to leave comments, you need to log in
Is there a significant difference in the speed of Qt with output to the console or writing to QString and output?
I send an http request to a web server, I get a response, but
m_sslSoc->write(get); //отправляю Get запрос на 2ip
while (m_sslSoc->waitForReadyRead()){ //читаю ответ
str+=m_sslSoc->readAll();//записываю ответ в QString str
}
emit m_readRequest(str);//создаю сигнал и передаю в нем ответ
//потом где то в main.cpp в слоте его вывожу через qDebug() << str;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question