You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
286 B

#include <QtGui>
#include "xlsxdocument.h"
int main(int argc, char** argv)
{
QGuiApplication(argc, argv);
QXlsx::Document xlsx;
QImage image(400, 300, QImage::Format_RGB32);
image.fill(Qt::green);
xlsx.insertImage(5, 5, image);
xlsx.save();
return 0;
}