-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PDF support in attachment preview dialog #11656
base: develop
Are you sure you want to change the base?
Add PDF support in attachment preview dialog #11656
Conversation
@droidmonkey Could you explain how to add these dependencies for the build? |
Will need to add it to the vcpkg.json and CMakeLists.txt, probably as an optional dependency On the CI boxes we will install it |
Great! |
@droidmonkey I couldn’t find qt5-image-formats-plugin-pdf in the package manager. Can I use Poppler instead? |
Poppler seems well regarded and supported, i don't have an issue with it. |
@droidmonkey I need your help. The CI/CD environment doesn’t have the required library (Poppler). Do I need to add a new CMake option to enable or disable this feature? |
Don't worry about the CI env, I'll get it all set once your work is ready for review. |
I have finished it. I think previewing the first page is enough, but there’s no problem with adding all pages to the preview. |
Add PDF support in attachment preview dialog
To preview the first page of a PDF file you need poppler >= 23.1.0.
Screenshots
Testing strategy
Type of change