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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Delphi Firemonkey project using Quick PDF Library
  FAQ FAQ  Forum Search   Register Register  Login Login

Delphi Firemonkey project using Quick PDF Library

 Post Reply Post Reply
Author
Message
CraigK View Drop Down
Beginner
Beginner


Joined: 26 Aug 16
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CraigK Quote  Post ReplyReply Direct Link To This Post Topic: Delphi Firemonkey project using Quick PDF Library
    Posted: 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
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post 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. 
Back to Top
CraigK View Drop Down
Beginner
Beginner


Joined: 26 Aug 16
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CraigK Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post 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"
Back to Top
CraigK View Drop Down
Beginner
Beginner


Joined: 26 Aug 16
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CraigK Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store