Skip to content

fix: unblock Linux package build — PDFForm form detection in QuickDocumentModel - #501

Merged
mberrys merged 3 commits into
devfrom
cursor/quickdocumentmodel-form-fix-06ea
Sep 2, 2026
Merged

fix: unblock Linux package build — PDFForm form detection in QuickDocumentModel#501
mberrys merged 3 commits into
devfrom
cursor/quickdocumentmodel-form-fix-06ea

Conversation

@mberrys

@mberrys mberrys commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Linux_AppImage run 33557508019 failed during Build Project with:

quickdocumentmodel.cpp:254:42: error: 'const class pdf::PDFObject' has no member named 'isValid'

PDFObject exposes isNull(), isDictionary(), etc., but not isValid(). Use the existing PDFForm::parse path (same as pdftoolinfo) to detect AcroForm/XFA presence.

Session 07 impact

This is unrelated to the #500 packaging-boundary fixes. Linux cannot reach linuxdeployqt until this compiles. After merge, rerun Linux_AppImage with the new merged SHA as source_sha.

Open in Web Open in Cursor 

PDFObject has no isValid() member; use PDFForm::parse to determine whether
the catalog exposes an AcroForm or XFA form. Unblocks Linux_AppImage builds.

Co-authored-by: michael berry <mberrys@users.noreply.github.com>
@mberrys
mberrys marked this pull request as ready for review September 1, 2026 23:45
@mberrys
mberrys merged commit dcffef2 into dev Sep 2, 2026
8 checks passed
@mberrys
mberrys deleted the cursor/quickdocumentmodel-form-fix-06ea branch September 2, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants