Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Delphi Firemonkey project using Quick PDF Library |
Post Reply
|
| Author | |
CraigK
Beginner
Joined: 26 Aug 16 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: Delphi Firemonkey project using Quick PDF LibraryPosted: 26 Aug 16 at 4:07PM |
|
I am a newbie when it comes to Delphi Firemonkey so please go easy on me. I am currently using Quick PDF Library (QPL) with Delphi VCL. I am looking to switch my project over to Firemonkey so I can compile and run on a Mac.
I am running into a few issues when trying to include QPL in the uses clause in my sample Firemonkey project. The first error I got when including DebenuPDFLibrary1211 in my uses clause is an error that states that the Graphics.dcu file is not found. Okay easy fix, include the conditional define of QPL_FIREMONKEY. The QPL_FIREMONKEY conditional define uses the DebenuPDFLibraryGraphics file instead of the VCL.Graphics file. Now this is where I am stuck. When I try to compile and run after including the QPL_FIREMONKEY conditional define, I start getting more errors. All of the errors are located in the DebenuPDFLibraryFontRasterizer file. Its the same error but in multiple locations. It states: "System.UITypes.TFontStle and DebenuPDFLibraryGraphics.TFontStyle" are incompatible types. If anyone has any idea on how to get Debenu QPL running in a Firemonkey project, please help. Thanks
|
|
![]() |
|
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 5:12PM |
|
The VCL PDF Library is designed to work with teh VCL only and not Firemonkey. I'm not even sure it would work in an FMX app compiled for Windows.
|
|
![]() |
|
CraigK
Beginner
Joined: 26 Aug 16 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 5:23PM |
|
Would you happen to know if there is a separate library available to use/download for a FMX app? Only reason I thought this was possible was because I found this posting on Debenu's website.
http://www.debenu.com/kb/firemonkey-compatibility/ If I have misread/misunderstood something please let me know. I've shot off an email to Debenu's tech support team but have yet to hear back from them. Thanks
|
|
![]() |
|
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 5:29PM |
|
I hadn't seen that. It certainly suggests that is. I wonder if you perhaps have to use the DLL? It has an import unit available
For the Mac I would think that you would need "Quick PDF Library for Mac"
|
|
![]() |
|
CraigK
Beginner
Joined: 26 Aug 16 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 7:06PM |
|
Yeah it seems to be quite confusing. I'm not quite sure about the DLL. I wouldn't think so, especially since I have the source code for the library. I could be wrong though.
I'll keep digging and see if I can't find anything else.
|
|
![]() |
|
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 Aug 16 at 12:11AM |
|
I was thinking about the DLL (which ships with the VCL version) as with that you wouldn't have the issues with vcl units within your fmx app
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store