#include <QCoreApplication>#include "work.h"#include <QDebug>int main(int argc, char *argv[]){ QCoreApplication a(argc, argv);// Work w;// w.gorgeMem(); QByteArray ba; qDebug() << ba.capacity(); float fff = 0; ba.append((const char *)&fff, sizeof(float)); qDebug() << ba.capacity(); ba.append((const char *)&fff, sizeof(float)); qDebug() << ba.capacity(); return a.exec();}