PDFDoc::createTrailerDict original file's ID entry isn't an array
I’m getting the warning PDFDoc::createTrailerDict original file's ID entry isn't an array
in pdfattach
for PDF files that, legitimately¹, do not contain an ID entry at all. (They are created by Qt, in case that matters.)
Please consider just not warning if it’s absent.
① It’s optional, after all, except in some cases not present here.