Page 1 of 1

Delphi 12 install TeeChart for Quickreport

Posted: Fri Dec 01, 2023 2:37 pm
by 16477605
I have tried to install TeeChart for QuickReport in Dephi 12.
I use the newest TeeChart Pro version and QR5Pro.

Compilation of the runtime package to Win64 is ok, but compilation of runtime packages to Win32 gives the following errors:
[dcc32 Error] TeCanvas.pas(5979): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8745): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] TeeProcs.pas(345): F2063 Could not compile used unit 'TeCanvas.pas'

I have checked paths and unit scope name and everything seems ok. Can you help?

Re: Delphi 12 install TeeChart for Quickreport

Posted: Mon Dec 04, 2023 7:23 am
by yeray
Hello,
Thomas wrote:
Fri Dec 01, 2023 2:37 pm
Compilation of the runtime package to Win64 is ok, but compilation of runtime packages to Win32 gives the following errors:
[dcc32 Error] TeCanvas.pas(5979): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
Thomas wrote:
Fri Dec 01, 2023 2:37 pm
I have checked paths and unit scope name and everything seems ok. Can you help?
Note there's a "unit scope names" section for every platform. Please double check you have the "VCLTee" prefix in the "unit scope names" for the "Windows 32-bit" platform.

If you still find problems with it, does is happen with a new simple project with only a TChart on the form (no QuickReport)?

Re: Delphi 12 install TeeChart for Quickreport

Posted: Mon Dec 04, 2023 12:40 pm
by 16595201
A project with a TChart is working as expected in all configurations. This was also expected as TeeRecompile completed without any issues.
The problem is that installing the QRTee packages leads to the compilation error. VCLTee is present in unit scope names for all configurations in the project options.

I can send the project I have created for building and package. Am I allowed to upload it here? It has worked in previous versions of Delphi and TeeChart (prior to upgrading to Delphi 11).

Re: Delphi 12 install TeeChart for Quickreport

Posted: Tue Dec 05, 2023 12:09 pm
by yeray
Hello,

I've contacted QuickReport team to try to get their packages for RAD 12. When we'll have them, we'll try to prepare the packages integrating TeeChart for QuickReport into RAD 12.

Re: Delphi 12 install TeeChart for Quickreport

Posted: Tue Dec 05, 2023 12:48 pm
by 16477605
It is version 5.06 I am using. QuickReport has not released official packages for the latest versions of Delphi. I have the source code of QuickReport and have built the package myself. I don't know if I am allowed to share the built package. Maybe you can ask them if that would be okay in case they cannot provide it.

Re: Delphi 12 install TeeChart for Quickreport

Posted: Tue Dec 05, 2023 2:11 pm
by yeray
Hello,

I don't think you should be publishing QuickReport sources anywhere.
I've been able to modify QuickReport sources v6.5 for RAD 11 and install them on RAD 12.

What I can share is the TeeChart for QuickReport integration I made for that environment:
Tee9QR6D29.zip
(15.17 KiB) Downloaded 384 times
It shouldn't be very different for QuickReport 5.

Re: Delphi 12 install TeeChart for Quickreport

Posted: Wed Dec 06, 2023 10:01 am
by 16477605
Your files gave the same error, but I solved it myself by removing:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.39\Source
from the library path.

Re: Delphi 12 install TeeChart for Quickreport

Posted: Mon Dec 11, 2023 11:52 am
by yeray
Hello,

Thanks for the feedback. I'm glad to hear you could make it work.