Hi.
Firstly, which TeeChart version are you using ? Secondy, can you be a bit more specific about "it doesn't work" ? What kind of an error do you receive when you try to compile TQRChart component packages ?
TQRChart sources and instructions how to compile it is included in all TeeChart (binary) installers. Check the TeeChart \DelphiX\QuickReport\ folder. Here is the install.txt (valid for Delphi 5 and TeeChart 5.02, but the same approach can be used for Delphi 4-6 and TeeChart v6, of course, with changed package names):
Installing QuickReport TQRChart source code.
============================================
Depending on which QuickReport version you have
installed on your machine, you might need to
manually recompile a small package for the QRChart
component to use the same QuickReport version you have.
This allows you to install TeeChart Pro with any
past or future QuickReport version with few efforts.
Recompilation is easy.
----------------------
Warning:
Check first you have QuickReport installed !
Visit QuickReport web site at
www.qusoft.no for
upgrades.
If you have an old TeeChart or TeeChart Pro version,
recompilation will fail.
Install first the TeeChart Pro v5 packages !
If you are not a Steema customer, download the
"Free Upgrade Trial" version of TeeChart Pro 5 VCL from
our web site.
This upgrade can be found at the "VCL" page, clicking
on "Trial version Download" link.
Installation Steps:
====================
1) Delete TeeQR55.dcp, QRTee.dcu, TeeQRTeeReg.dcu and DCLTQR55.DCU files
from the Delphi5\Lib folder. (If they exist).
2) Open Delphi 5.
3) Go to the "Component->Install packages" and remove the DclTQR45.bpl
package from the list (the "Remove" button).
4) Next, close all projects. Then go to the "File->Open project" menu
and pick the the TeeQR55.dpk package.
5) Now click the "Compile" button. The package should compile fine.
If you receive errors, see "TroubleShooting" below.
6) Open ("File->Open project" menu) the DclTQR55.dpk package.
7) Now click the "Compile" button. The package should compile fine.
If you receive errors, see "TroubleShooting" below.
Copy the compiled packages
(most probably they were compiled to Delphi5\Projects\BPL folder):
- TeeQR55.bpl to Windows\System (or WinNT\System32).
- DclTQR55.bpl to Delphi5\Bin.
- TeeQR55.dcp to Delphi5\Lib.
- DclTQR55.dcp to Delphi5\Lib.
- TeeQR55.dcu, TeeQRTeeReg.dcu and DCLTQR55.dcu to \Delphi5\Lib.
9) Go to the "Component->Install packages" press the "Add" button and
pick the DclTQR55.bpl package (located in Delphi5\Bin directory,
if you followed previous steps).
This should install the QRChart component at QReport component palette.
10) Remember to check the "Project->Options->Packages" dialog.
The new package name should be listed at the bottom edit-box.
11) IMPORTANT:
Don't forget to copy all newly recompiled *.dcu files
(from the directory where you keep the files TeeQR55.dpk and DclTQR55.dpk)
to Delphi5\Lib directory.
---------------------------------------------------------------
TroubleShooting:
----------------
Most common causes for installation problems are:
-missing files
When Delphi or C++ Builder compile this package, they try
to find the TeeChart Pro 5 and QuickReport units, either
in source code (*.pas) or compiled (*.dcu) format.
Check you have the correct paths to all units at
"Environment -> Options" dialogs.
-wrong files
If you have the original TeeChart Standard version included
free in Delphi 5,4,3 or C++ Builder 5,4,3, installation can fail
because the original compiled units have preference over
the new ones.
Check for existing TeeChart units at \Lib folder and replace
them with the new ones.
-----------------------------------------------------------------