QtXlsxWriter icon indicating copy to clipboard operation
QtXlsxWriter copied to clipboard

Error by cellMerge

Open maxmalloni opened this issue 9 years ago • 3 comments

Example: QXlsx::Document xlsx("mergeCell.xlsx"); xlsx.write("A1", "Hello Qt!"); Format hFmt2; xlsx.write("A2", "List of", hFmt2); bool ok = xlsx.mergeCells("A2:H2", hFmt2); xlsx.save();

I cannot open the xlsx. Why?

Thank you

maxmalloni avatar Jan 05 '16 08:01 maxmalloni

Not terribly helpful but your code seems to work for me. I opened it in libreoffice and office 2k7 and it looked correct. Maybe delete the xlsx file and let it create a new one? Something else may have corrupted it.

huguley avatar Jan 05 '16 21:01 huguley

I really cannot understand the problem. In the last version the function was perfectly working. Attached the generated dlls...compiled for vs2010 x64.

lib.zip

maxmalloni avatar Jan 07 '16 13:01 maxmalloni

I' ve found the solution: it was a linking problem. Anyway thank you!

maxmalloni avatar Jan 07 '16 13:01 maxmalloni