Page 1 of 1

Install in QuickReport 5.06 Professional (Tokyo)

Posted: Mon Jul 17, 2017 7:24 pm
by 16579726
How to install Teechart 2017.22 in QuickReport 5.06 Professional (Delphi 10.2 - Tokyo)?

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Tue Jul 18, 2017 12:45 pm
by yeray
Hello,

Find attached the sources for the integration of TeeChart Pro into QuickReport v6 in RAD Studio 10.2 Tokyo. The packages are compiled with TeeChart Pro v2017.22.
Tee9QR6D25.zip
(153.13 KiB) Downloaded 2344 times

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Tue Jul 18, 2017 5:24 pm
by 16579726
Thanks, but I use QuickReport version 5.06.

In the package I renamed the "QRWRunDXE10_2_w64" to "QR506RunDXE10_2" but when I tried to compile I received the error below:

[dcc32 Error] TeeHtml.pas(293): E2003 Undeclared identifier: 'RGBToColor'

How to solve this issue?

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Wed Jul 19, 2017 6:47 am
by yeray
Hello,

Excuse me, here you have the sources for TeeChart Pro and QuickReport 5.06 in RAD Studio 10.2 Tokyo. The packages are compiled with TeeChart Pro v2017.22.
Tee9QR5D25.zip
(151.93 KiB) Downloaded 1371 times

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Wed Jul 19, 2017 12:51 pm
by 16579726
I tried installing using the sources you sent me and when I was compiling I received the following errors (log attached):

C:\D10\TeeChart 2017\Source\TeCanvas.pas(5803,22): error E2010: E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
C:\D10\TeeChart 2017\Source\TeCanvas.pas(8614,22): error E2010: E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'

For now I am using the compiled packages that were in the ZIP you sent me.

Please can you send me the correct procedure to compile & install the source package you sent me?

I'm using:
Delphi Professional 10.2 (Tokyo - 25.0.26309.314)
Quick report 5.06 2 (Build 49 - 2017/05/12)
Teechart Pro 2017 (2017.22.170619)

Thank you.

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Thu Jul 20, 2017 7:43 am
by yeray
Hello,
NatSam wrote:I tried installing using the sources you sent me and when I was compiling I received the following errors (log attached):

C:\D10\TeeChart 2017\Source\TeCanvas.pas(5803,22): error E2010: E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
C:\D10\TeeChart 2017\Source\TeCanvas.pas(8614,22): error E2010: E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
It sounds as the problem with the prefixes. It should be fixed adding "VCLTee" to the "unit scope names" in your IDE at "Tools\Options..."
NatSam wrote:For now I am using the compiled packages that were in the ZIP you sent me.

Please can you send me the correct procedure to compile & install the source package you sent me?

I'm using:
Delphi Professional 10.2 (Tokyo - 25.0.26309.314)
Quick report 5.06 2 (Build 49 - 2017/05/12)
Teechart Pro 2017 (2017.22.170619)
When the paths, unit scope names and project references are correct, you only have to open the .groupproj and:
- Select win32 target platform in the runtime package (Tee9QR*), and build it.
- Select win64 target platform in the runtime package (Tee9QR*), and build it.
- Select the designtime package (DclTee9QR*), and build it.

Now all the compiled packages should have been regenerated in the "compiled" folder.
Copy the compiled packages to the according locations:
- Copy "compiled\Bpl\win32\DclTee9QR*.bpl" to "$(BDS)\bin"
- Copy "compiled\Bpl\win32\Tee9QR*.bpl" to "C:\Windows\SysWOW64"
- Copy "compiled\Bpl\win64\Tee9QR*.bpl" to "C:\Windows\System32"
- Copy "compiled\Lib\*.*" to "$(BDS)\lib\*.*"

Now everything should be in place.
Go to "Component\Install Packages...", click "Add..." button and browse and select the "$(BDS)\bin\DclTee9QR*.bpl" package.

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Thu Jul 20, 2017 12:38 pm
by 16579726
Hi,

I added "VCLTee" to the "unit scope names" and problem persists.

Any other suggestions?

If you wish, I can release remote access to my PC (via TeamViewer) to see if you can identify the problem.

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Fri Jul 21, 2017 6:11 am
by yeray
Hello,

I'd check the paths in the IDE are the correct ones.
NatSam wrote:If you wish, I can release remote access to my PC (via TeamViewer) to see if you can identify the problem.
If you still find problems with it, yes, I can enter your machine to check it.

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Sun Jul 23, 2017 11:15 pm
by 16579726
To check if the problem was with my Delphi, I did the following:

1) I created a new VM (Windows 10).
2) I installed the Delphi 10.2 Tokyo (Professional).
3) I installed the Quick Report Professional 5.06.
4) I installed the Teechart 2017.22 (file TeeChartVCLFMXSOURCE-2017.22.exe)
5) Unzip the Tee9QR5D25.zip.
6) Check IDE Paths
7) Add VCLTee" to the "unit scope names" in "Tools\Options..."
6) Build the ProjectGroup1.groupproj (file Tee9QR5D25).

The same error occurs:
C:\D10\TeeChart 2017\Source\TeCanvas.pas(5803,22): error E2010: E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
C:\D10\TeeChart 2017\Source\TeCanvas.pas(8614,22): error E2010: E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'

I tried again, now with QuickReport 6:
1) I created a new VM (Windows 10).
2) I installed the Delphi 10.2 Tokyo (Professional) WITHOUT TeeChart Standard.
3) I installed the Quick Report Professional 6.
4) I installed the Teechart 2017.22 (file TeeChartVCLFMXSOURCE-2017.22.exe)
5) Unzip the Tee9QR6D25.zip.
6) Check IDE Paths
7) Add VCLTee" to the "unit scope names" in "Tools\Options..."
6) Build the ProjectGroup1.groupproj (file Tee9QR6D25).

The same error occurs.

For now, I'm using the compiled versions that accompany the ZIP file you sent me.

Re: Install in QuickReport 5.06 Professional (Tokyo)

Posted: Wed Jul 26, 2017 1:44 pm
by yeray
Hello,

I believe the problem is with the paths. I guess you have the "Source" path in your IDE. Try adding the "Source\VCL" path before "Source".