Page 1 of 1

Inst-problem with Teechart V8 / Quickreport Pro V4 /BDS2006

Posted: Thu Oct 25, 2007 6:33 am
by 10547037
Hi,

at the moment I can´t installed the Quickreport -Teechart components with BDs2006. I open the delphi enviroment and load the Tee8QR4D10.dpk project and compile. The error message is :
" can´found QR4RunD10- package". To solve this problem I have changed it to QR4RunD2006 and it works. After this I load the DclTee8QR4D10.dpk project and the compile error : " can´t found DclTee810 package " If I changed it to DclTeePro810 I create an error :"Never buildt package DclTeePro810 should be recompiled "

Can anybody help me ?

Thanks !


Regards


Udo

Posted: Thu Oct 25, 2007 7:19 am
by 10047009
Hi

I also had problems with this.
The following sorted me out.
Substitute relevant D2007 references with D2006 names.

Lucien.


To follow on from your request, we've made some tests and I've written a first outline of what probably will end in a general article of "how-to install TQR for Teechart v7.12 and QuickReport v4.07 for Dephi 2007".

Here is the "how-to":

1. Unistall old teechart with Delphi 2007 closed.
2. Unistall old quickreport with Delphi 2007 closed.
3. Open Delphi 2007 and test it by creating a new vcl forms application and running the empty form by pressing F9.
4. Install quickreport (in this example the installer is QR407PD2007.exe) with Delphi 2007 closed.
5. Open Delphi 2007 and add QuickReport component C:\Program Files\CodeGear\RAD Studio\5.0\QuickRep\bpl\QR4DesignD2007.bpl at Components->Install packages...
6. Add the search path: C:\Program Files\CodeGear\RAD Studio\5.0\QuickRep at Project->Default Options->Delphi for Win32
7. Test delphi 2007 with QuickReport by creating a new vcl application forms, place a quickreport and run the application.
8. Install TeeChart (in this example v7.12 is TeeChart7.12Delphi2007.exe) with Delphi 2007 closed.
9. Open Delphi 2007 and test it placing a chart in an empty application form and run the application.

Now let's get ready to compile tqr.
10. Create a new folder to place our new compiled files (C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\compiled).
11. Open package C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\TeeQR711.dpk (File->Open Project...).
12. Remove the file qrpt.dcp from the requires list (Right click at the file and "Remove from project").
13. Add the correct requires by right clicking at Requires and clicking "Add Reference..." (C:\Program Files\CodeGear\RAD Studio\5.0\QuickRep\bpl\QR4RunD2007.dcp).
14. Add the search paths (at Project->Options->Directories/Conditionals):
C:\Program Files\CodeGear\RAD Studio\5.0\QuickRep (already added at step 6)
C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport
15. And add "output directory", "Unit outputdirectory" and "DCP output directory" C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\compiled
16. Save the project (File->Save all) and build the project (Shift+F9).
17. Open package C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\DclTQR711.dpk (File->Open Project...).
18. Remove the file dcltee711.dcp from the requires list (Right click at the file and "Remove from project").
19. Add the correct requires by right clicking at Requires and clicking "Add Reference..." (C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\Lib\dclteepro711.dcp).
20. Add the search paths (at Project->Options->Directories/Conditionals):
C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\compiled
C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport
C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\lib
C:\Program Files\CodeGear\RAD Studio\5.0\QuickRep
21. And add "output directory", "Unit outputdirectory" and "DCP output directory" C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\compiled
22. Save the project (File->Save all) and build the project (Shift+F9).

Now you sould have everything you need compiled.
23. Close Delphi 2007.
24. Copy the compiled files:
C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\compiled\DclTQR711.bpl
C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport\compiled\TeeQR711.bpl
to the path: C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\Bin
25. Open Delphi 2007 and add TeeChart 7 for QuickReport component C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\Bin\DclTQR711.bpl at Components->Install packages...
26. Add the search path (at Project->Options->Directories/Conditionals): C:\Program Files\Steema Software\TeeChart 7.12 for Delphi 2007\Delphi11\QuickReport

Inst-problem with Teechart V8 / Quickreport Pro V4 /BDS2006

Posted: Thu Oct 25, 2007 7:29 am
by 10547037
Hi Lucien,

I have only BDS2006 at the moment . So I haven´t Delphi 2007 !

Regards

Udo

Posted: Thu Oct 25, 2007 9:03 am
by yeray
Hi weidunu,

I recommend you to create a folder for the compiled files as described at step 10. Then, for the Tee8QR4D10.dpk package, set this folder as output, unit output and dcp output directory, as explained at step 15. Then, change the requires as you did, build the project and save it if has been successful.

Then open the DclTee8QR4D10.dpk package and add the compiled folder as at output directories as before and at search path too (to use the compiled files on the other project). Change the requires as you did, build and save.

I hope it helps, basically is what Lucien told to you, changing folders and file names according to your environment (BDS 2006, TeeChart Pro v8 and QuickReport v4).

Posted: Thu Oct 25, 2007 9:26 am
by 10047009
Hi Udo,

I also only have BDS2006 and I managed to get it working !
Not too much effort.

Regards
Lucien

Posted: Fri Oct 26, 2007 7:48 am
by 10547037
Hi,

thank you very much for this ! It`s works, but now I haven´t the Teechart Professional Components V8.0 as before. The installed components are the standard componets.

How can I integrate the Teechart-Quickreport components in Teechart Pro V8.0 ?


regards

Udo

Posted: Fri Oct 26, 2007 9:58 am
by narcis
Hi Udo,

You should follow the same process but use the packages named like Tee810 instead of Tee711. This means TeeChart v8 for Delphi 2006.

Hope this helps!

Posted: Fri Oct 26, 2007 12:58 pm
by 10547037
Hi Narcis,

Yes , I have used the TEE810 . But it´s not the Professional version of Teechart V8.0 , which I have bought. So you haven´t all the Teechart component as in the Proffessional version and I need the prof version.


Best regards

Udo

Posted: Fri Oct 26, 2007 2:26 pm
by narcis
Hi Udo,

Then you should use packages named after *TeePro810*.

Installation of Teechart Pro Quickreport Components

Posted: Tue Nov 06, 2007 3:06 pm
by 10547037
Hello Narcis,


I have deinstalled the Teechart and the Quickrep Components under Components->Install Packages and I have tried again .

Installation of Quickreport Pro 4 and then Teechart . Inside the dephi enviroment I see all components, but under C++Builder you can´t see the Quickreport components in the tool palett ? I have tried again and again,but under C++Builder , the Qickreport components are disappeared.

Do you have an idea ?

Best regards

Udo

Posted: Wed Nov 07, 2007 9:37 am
by yeray
Hi Udo,

For BDS2006, QuickReport has two diferent installers, one for delphi and one for C++Builder. So, if you need both of them you'll need to install "QR407PD2006.EXE" for Delphi and "QR407PC2006.EXE" for C++Builder.

Also note that for a proper installation of QuickReport for C++Builder (BDS2006) you may follow those steps:
  • Install QR407PC2006.EXE
    Add package "C:\Program Files\Borland\BDS\4.0\projects\BPL\QR4DesignC2006.bpl" in your package list
    Add lib path "C:\Program Files\Borland\BDS\4.0\projects\lib"
    Add lib path "C:\Program Files\Borland\BDS\4.0\quickrpt"