TQRChart - where?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ITQConsult
Newbie
Newbie
Posts: 2
Joined: Tue Nov 01, 2005 5:00 am

TQRChart - where?

Post by ITQConsult » Wed Jan 11, 2006 7:26 pm

My Delphi is D2006
My QuickReport is QR version : 4.06 (Pro)
My TeeChart is 7.06 (Pro)

Everything is installed - apparently - successful.
However - where is the TeeChart component on my QuickReport "Palette" ??

How can I install the QR version of my Teechart.

Regards
Anders Balslev

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 12, 2006 8:53 am

Hi Anders,
Everything is installed - apparently - successful.
However - where is the TeeChart component on my QuickReport "Palette" ??
It is not installed because Quick Report standard is not shipped with Delphi 2006.
How can I install the QR version of my Teechart.
You will find the packages at C:\Program Files\Steema Software\TeeChart 7.06 for Delphi 2006\Delphi10\QuickReport (default english installation path). Then you'll have to change their references to your Quick Report version. Below you'll find an article with the instructions on how to do that.
The install instructions included with TeeChart distribution are written for
Quick Report 3. If you're using Quick Report v4, the same rules apply, but
with two additional things:

1) In QR v4 package names have changed. So, the Quick Report runtime package
has been changed from qrpt70.bpl to QR4RunD7.bpl. This means you have to
remove the reference to old Quick Report package and replace it with new
version.

2) Set the TQRChart runtime and design time package rebuild option to
"Rebuild as needed".

Here are the step-by-step instructions on how to recompile/reinstall the
TQChart component packages (TeeChart v7, Quick Report v4.03, Delphi 7). The
same rules, but with different package names can be used for older TeeChart
versions:

1) Go to the "Component->Install packages" and remove the DclTQR77.bpl
package from the list (the "Remove" button).

2) Close Delphi 7.

3 (Very important!!). Search all directories in "Delphi search path" list
and remove all old TQRChart component files. This is crucial if you want to
recompile TQRChart component successfully. Basically, locate and delete
teeqr77.dcp, DclTQR77.dcp, TeeQr.dcu, qrtee.dcu, qrteereg.dcu, TeeQR.res,
TeeQR77.bpl and DclTQR77.bpl files. Then, and only after you're 100% sure
you removed all old TQRChart files, proceed with the next steps. If you're
using different a TeeChart version, the same rules apply - remove all old
TQRChart component files *before* recompiling TQRChart component
packages.

4) Open Delphi 7.

5) Next, close all projects. Then go to the "File->Open project" menu and
pick the TeeQR77.dpk package.

6) For <b>Quick Report 4</b>, you'll have to remove the reference to the old
<b>Quick Report v3</b> package and replace it with the new runtime package.
For Delphi 7, you should remove the qrpt70.dcp file (or similar, depending
which QR version you previously used) and replace it with the QR4RunD7.dcp
package. Also, set the package build option to "Rebuild as needed".

7) Now click the "Compile" button. The package should compile correctly. If
you receive errors, see "TroubleShooting" below.

8 ) Open the DclTQR77.dpk package ("File->Open project" menu).

9) Now click the "Compile" button. The package should compile automatically.
If you receive errors, see "TroubleShooting" below.

10) Copy the compiled packages (most probably they were compiled to
Delphi7ProjectsBPL directory, but the actual directory might depend on
platform settings):

- TeeQR77.bpl to WindowsSystem (or WinNTSystem32) directory
- DclTQR77.bpl to Delphi7Bin directory
- TeeQR77.dcp to Delphi7Lib directory
- DclTQR77.dcp to Delphi7Lib directory
- QRTeeReg.dcu, QRTee.dcu to Delphi7Lib directory
- all *.res files to Delphi7Lib directory

11) Go to the "Component->Install packages" press the "Add" button and pick
the DclTQR77.bpl package (located in Delphi7Bin directory - if you followed
the previous steps. This should install the QRChart component at the QReport
component palette.

12) Remember to check the "Project->Options->Packages" dialog. The new
package name should be listed in the bottom edit-box.

13) IMPORTANT: Don't forget to copy all newly recompiled *.dcu files (from
the directory where you keep the files TeeQR77.dpk and DclTQR77.dpk) to the
Delphi7Lib directory.

If you're using different Delphi and/or TeeChart versions, then you can
follow the same rules and simply replace package names. For example, if
you're using TeeChart v6 with Delphi 5, then package names will change to :
TeeQR65, DclTQR65, qrpt50.bpl to QR4RunD5.bpl, etc...
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ITQConsult
Newbie
Newbie
Posts: 2
Joined: Tue Nov 01, 2005 5:00 am

Post by ITQConsult » Thu Jan 12, 2006 9:38 am

Thank you for the support.
But - however - I didn't come very long.

I found the package as you described. But here it stops.
The description is dedicated to Delphi 7 - not Delphi 2006
I couldnt find very many of the files you described I should remove.
Delphi 7 (in which QuickReport is included) differs far too much from D2006 so I can't make use of the guidelines.

Please - give me a chance to include TeeChart in my Pro-version of QuickReport

Regards

Anders
:cry:

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 12, 2006 10:03 am

Hi Anders,

The steps are almost the same even the differences in the IDE. The most significative changes are packages names. In the instructions I posted befores most of them are referred as *TQR77* meaning that they are TeeChart v7 for Delphi 7 packages. In your case your packages will be named *TQR710*, meaning TeeChart v7 packages for Delphi 2006 (Delphi 10).

Another difference can be that you won't need to remove some packages as they weren't previously installed as I told you in my previous post. The rest should be the same.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply