Well, this as always been a pain in the ... to install that package. and as usual, it didnt work and im out of energy trying to make it work by myself. Can you please help me out.
Delphi 2010 update 5
QuickReport 5.042
My traces:
QuickReport
General note: These steps are written in order to help users when trying to install the TQRChart component without depending on the TeeChart, QuickReport or Delphi version they use.
Thanks a lot, really was near to reach my goal. Need a lil adjustment and we are in business.
All TeeChart packages are compiled with built-in version of Quick Report. If you're using different Quick Report version (newer or PRO version) you'll have to recompile and reinstall TQRChart component files after you've installed the latest TeeChart and Quick Report version. The necessary source code files (all TQRChart component files) and instructions how to do this are usually located in one of TeeChart subfolders ("QuickReport" subfolder). In addition, below you will find step-by-step instructions explaining how to compile and use TeeChart with any QuickReport version.
Well, i haven't find any of those subfolders in my "TeeChart Pro 8.06 Full Source Code" folder. It was in Sources subfolder with all the others source files. So i said to myself, good, thats really a good start i have to find my files.
1. Uninstall old TeeChart with Delphi closed.
Removed the Component Std in Delphi 2010 new installation. (Dont understand why i had to install TeeChart from Delphi installation, other Delphi i was using asked my if i wish to install the components or not.
2. Uninstall old QuickReport with Delphi closed.
none was installed
3. Clean residual files and folders if remaining. Search TeeChart and QuickReport remaining files at Delphi's bin folder, Delphi's lib folder and windows' system32 folder.
recursive searched for tee*.* in all folders and deleted files.
4. Clean Delphi's search path. Remove references to uninstalled packages.
None was found.
5. Open Delphi and test it running an empty form.
Working
6. Install QuickReport with Delphi closed.
Done
7. Open Delphi and add the QuickReport design bpl at Delphi's package list.
Don't have to do it, its done by the install software.
8. Add the search path where QuickReport was installed.
Done by the install software
9. Test Delphi with QuickReport running an application with only a QuickRep component on the form.
Weird, couldnt find QuickReport file so i had to add a random path and remove it to from the library path to make it work
10. Install TeeChart with Delphi closed.
TeeRecompile, Option := [Install packages into IDEs], Packages := [TeeTree,QuickReport];
11. Open Delphi and test it with TeeChart running an application with only a Chart component on the form.
Working
Now let's get ready to compile TQRChart.
cool, Now we are talking!
12. We recommend you to create a new folder that will contain the compiled files we are going to get. This will be only a temporal folder and we can delete it after finishing all the installation process. But in meanwhile, as we need to reference it we will call it as "compiled folder" during this installation instructions.
Done, new folder on my desktop
13. Open runtime package for TQRChart. It is called Tee8QR4D11.dpk, Tee7QR4D10.dpk,... depending on your particular TeeChart, QuickReport and Delphi/BCB version environment. The first number indicates which TeeChart version was the package made for, the second number indicates the QuickReport version and the last number indicates the Delphi version. You will find the package at your TeeChart installation folder, inside QuickReport folder.
Opened Project Tee8QR5D14.dpk and again no it wasnt in QuickReport folder it was in sources folder.
14. Set the "compiled folder" we've just created as output path for the compiled files that will generate the package compilation. This will make easier to find the bpl, dcu and dcp files.
Changed DCP output directory with Package output directory and unit output directory of the project option to my folder "compiled folder".
15. Build the project. You may find an error finding the correct runtime library for QuickReport. So you should look for the dcp file that causes the problem at the requires list, remove it from the list and add the correct one from your QuickReport installation folder, inside its bpl folder. Then, try to build it again.
First i got the error you were telling, so i remove the line with the QR5Run2008, rebuild and delphi told me to use QR5RunD2010, so i said YES to add it to my project.
Build again... [DCC Error] E2466 Never-build package '.Tee8QR5D14' requires always-build package 'QR5RunD2010'
after some google i found out that {$IMPLICITBUILD ON} must be set to off otherwise i am always getting that error.
16. Save the project once it will compile fine.
Done
17. Open design time package for TQRChart. It is called (following the same number nomenclature as before) DclTee8QR4D11.dpk, DclTee7QR4D10.dpk,... You will find the package at your TeeChart installation folder, inside QuickReport folder.
Opened Project DclTee8QR5D14.dpk and again no it wasnt in QuickReport folder it was in sources folder.
18. Again, set the "compiled folder" as output path for the compiled files that will generate the package compilation. and this time add this folder to the search path list to as this design time package needs to find the TQRChart runtime package compiled files we've just generated.
Changed DCP output directory with Package output directory and unit output directory of the project option to my folder "compiled folder".
19. Build the project. You may find an error finding the correct design time library for TeeChart. So you should look for the dcp file that causes the problem at the requires list, remove it from the list and add the correct one from your TeeChart installation folder, inside its lib folder. It's called DclTeePro811.dcp, DclTeePro710.dcp,... Then, try to build it again.
First i got the error you were telling, so i remove the line with the QR5Run2008, rebuild and delphi told me to use QR5RunD2010, so i said YES to add it to my project.
Build again... [DCC Error] E2466 Never-build package '.Tee8QR5D14' requires always-build package 'QR5RunD2010'
after some google i found out that {$IMPLICITBUILD ON} must be set to off otherwise i am always getting that error.
20. Save the project once it will compile fine.
Done
Now you should have everything you need compiled.
Woot, can't wait to install it in delphi
21. Close Delphi and copy the compiled files from your "compiled folder":
ok
- TQRChart 's design time bpl to Delphi's bin folder (DclTee8QR4D11.bpl or DclTee7QR4D10.bpl or...).
DclTee8QR5D14.bpl done
- All dcu and dcp files to Delphi's lib folder.
Done
- TQRChart 's runtime bpl to your windows' system32 folder (Tee8QR4D11.bpl or Tee7QR4D10.bpl or...).
Tee8QR5D14.bpl done
22. Still with Delphi closed, copy all bpls from the bpl folder inside your TeeChart installation folder to your Delphi's bin folder.
hum... i dont have any bpl folder, if i search, i got some bpl in bin folder lets copy them
DclTee814, DclTeePro814 and DclTeeProStd814
23. Open Delphi and add TQRChart 's design time bpl from your Delphi's bin folder to Delphi's package list.
Cannot load package 'DclTeePro814.' It contains unit 'TeeChartReg,'which is also contained in package 'DclTee814'
24. Finally, you could test if TQRChart works fine in a new application. To do this, create a new application in you IDE, drag a QuickRep component on the Form, drag a QRBand component onto the QuickRep and a TQRChart component onto the QRBand.
I wish i could, dreamed of it for a long time
D2010, QuickReprt and TQRChart...a nightmare again!
Re: D2010, QuickReprt and TQRChart...a nightmare again!
Hi GoToXY,
On the other hand, TeeChart with sources includes the TeeRecompile tool that may help you in the process. I've tested it here and worked successfully, I've only had to edit manually the following:
- "C:\Program Files\Steema Software\TeeChart Pro 8.06 Full Source Code\Sources\Tee8QR5D14.dpk":
Change "{$IMPLICITBUILD ON}" for "{$IMPLICITBUILD OFF}"
Change "Tee814" for "TeePro814"
Change "QR5RunD2008" for "QR5RunD2010"
- "C:\Program Files\Steema Software\TeeChart Pro 8.06 Full Source Code\Sources\DclTee8QR5D14.dpk":
Change "{$IMPLICITBUILD ON}" for "{$IMPLICITBUILD OFF}"
Change "DclTee814" for "DclTeePro814"
Some other clarifications to your commentaries:
This first steps are an intend to guide the users who installed several TeeChart Pro to clean their environments in order to avoid future conflicts.
I've corrected the mistakes and clarified the difference between the installation with and without source code in the article. Excuse us for the inconvenience and confusion generated.
If you still have problems with it, please don't hesitate to let us know.
The instructions were written tracing the installation of the TQRChart package from a binary TeeChart installation. As you've seen, for TeeChart sources installation, the TQRChart sources are in the "sources" folder instead of in the "QuickReport" folder.GoToXY wrote:All TeeChart packages are compiled with built-in version of Quick Report. If you're using different Quick Report version (newer or PRO version) you'll have to recompile and reinstall TQRChart component files after you've installed the latest TeeChart and Quick Report version. The necessary source code files (all TQRChart component files) and instructions how to do this are usually located in one of TeeChart subfolders ("QuickReport" subfolder). In addition, below you will find step-by-step instructions explaining how to compile and use TeeChart with any QuickReport version.
Well, i haven't find any of those subfolders in my "TeeChart Pro 8.06 Full Source Code" folder. It was in Sources subfolder with all the others source files. So i said to myself, good, thats really a good start i have to find my files.
On the other hand, TeeChart with sources includes the TeeRecompile tool that may help you in the process. I've tested it here and worked successfully, I've only had to edit manually the following:
- "C:\Program Files\Steema Software\TeeChart Pro 8.06 Full Source Code\Sources\Tee8QR5D14.dpk":
Change "{$IMPLICITBUILD ON}" for "{$IMPLICITBUILD OFF}"
Change "Tee814" for "TeePro814"
Change "QR5RunD2008" for "QR5RunD2010"
- "C:\Program Files\Steema Software\TeeChart Pro 8.06 Full Source Code\Sources\DclTee8QR5D14.dpk":
Change "{$IMPLICITBUILD ON}" for "{$IMPLICITBUILD OFF}"
Change "DclTee814" for "DclTeePro814"
Some other clarifications to your commentaries:
You don't have to uninstall or remove the TeeChart Std that comes with the IDE. The Teechart Pro installer (both the binary installer and the teerecompile tool) should backup it for you.GoToXY wrote:1. Uninstall old TeeChart with Delphi closed.
Removed the Component Std in Delphi 2010 new installation. (Dont understand why i had to install TeeChart from Delphi installation, other Delphi i was using asked my if i wish to install the components or not.
This first steps are an intend to guide the users who installed several TeeChart Pro to clean their environments in order to avoid future conflicts.
I don't understand what QuickReport file are you searching here. Here it is suggested to create a new application, drop a TQuickRep object into the form and try to run it only to check if QuickReport has been correctly installed.GoToXY wrote:9. Test Delphi with QuickReport running an application with only a QuickRep component on the form.
Weird, couldnt find QuickReport file so i had to add a random path and remove it to from the library path to make it work
Again, it was for the "binary" customers. But yes, for "source code" customers the default checkboxes active "Install packages into IDEs", "TeeTree" and "QuickReport" should work fine (after the modification in the beginning of this post).GoToXY wrote:10. Install TeeChart with Delphi closed.
TeeRecompile, Option := [Install packages into IDEs], Packages := [TeeTree,QuickReport];
Excuse us, the TeeChart bpls should be in your TeeChart "Delphi14\Bin" folder.GoToXY wrote:22. Still with Delphi closed, copy all bpls from the bpl folder inside your TeeChart installation folder to your Delphi's bin folder.
hum... i dont have any bpl folder, if i search, i got some bpl in bin folder lets copy them
DclTee814, DclTeePro814 and DclTeeProStd814
I think that the changes mentioned above should correct this.GoToXY wrote:23. Open Delphi and add TQRChart 's design time bpl from your Delphi's bin folder to Delphi's package list.
Cannot load package 'DclTeePro814.' It contains unit 'TeeChartReg,'which is also contained in package 'DclTee814'
I've corrected the mistakes and clarified the difference between the installation with and without source code in the article. Excuse us for the inconvenience and confusion generated.
If you still have problems with it, please don't hesitate to let us know.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: D2010, QuickReprt and TQRChart...a nightmare again!
That is what i call, a perfect support reply! Thanks a lot, everything works fine now. Finally i use the QRChart so i can remove my 300 line to code that simulate the QRChart from a chart. Hope ill get good quality on printing tho.
Only one weird thing happend tho, i had to put back IMPLICITBUILD ON in TeeQR5D14 otherwise i was getting the same error.
Can you tell me if im ok what that:
Tee8QR5D14 --> Compiled with your changes directly from steema source directory
DclTee8QR5D14 --> Compiled with your changes directly from steema source directory and then installed the components
Works fine, i didnt had to copy any bpl. Im i lucky because it found the old bpl I did copy before or is it ok to do it that way.
Thanks again for your support, i really apreciate it and let me tell you, i bought lots of components, but none gave me so much great support as you guys do.
I was about to forgot, for clarification:
on point 9, testing QuickReport, the compiler told me it could'nt found the source for QuickRep.pas, but weird thing, the source directory was in my library - win32, but Delphi was not checking in. So i had to add a false directory and then remove it to help delphi refresh the library. So maybe its just my Delphi 2010 or maybe it could happend with other ppl. Thats why i told you that in case it happend to others. But maybe i shouldnt because it is not really related to TeeChart but a QuickReport/Delphi issue. Sorry about that.
btw: This forum is really getting me frustrated with the auto follow max height for scrolling that dont work and make my memo window jump from 1 line to another for each char i type. i had to use my friend (notepad) for the last post because of that.
Only one weird thing happend tho, i had to put back IMPLICITBUILD ON in TeeQR5D14 otherwise i was getting the same error.
Can you tell me if im ok what that:
Tee8QR5D14 --> Compiled with your changes directly from steema source directory
DclTee8QR5D14 --> Compiled with your changes directly from steema source directory and then installed the components
Works fine, i didnt had to copy any bpl. Im i lucky because it found the old bpl I did copy before or is it ok to do it that way.
Thanks again for your support, i really apreciate it and let me tell you, i bought lots of components, but none gave me so much great support as you guys do.
I was about to forgot, for clarification:
on point 9, testing QuickReport, the compiler told me it could'nt found the source for QuickRep.pas, but weird thing, the source directory was in my library - win32, but Delphi was not checking in. So i had to add a false directory and then remove it to help delphi refresh the library. So maybe its just my Delphi 2010 or maybe it could happend with other ppl. Thats why i told you that in case it happend to others. But maybe i shouldnt because it is not really related to TeeChart but a QuickReport/Delphi issue. Sorry about that.
btw: This forum is really getting me frustrated with the auto follow max height for scrolling that dont work and make my memo window jump from 1 line to another for each char i type. i had to use my friend (notepad) for the last post because of that.
Re: D2010, QuickReprt and TQRChart...a nightmare again!
Hi GoToXY,
Anyway, the bpls and dcus are recommended to be moved to the IDE's default locations to avoid possible conflicts but this problems are more common with CBuilder personality than Delphi. Having the search and library paths correctly added use to be enough to install the packages from another location.
Have you compiled and installed the package manually or using TeeRecompile tool?GoToXY wrote:Can you tell me if im ok what that:
Tee8QR5D14 --> Compiled with your changes directly from steema source directory
DclTee8QR5D14 --> Compiled with your changes directly from steema source directory and then installed the components
Works fine, i didnt had to copy any bpl. Im i lucky because it found the old bpl I did copy before or is it ok to do it that way.
Anyway, the bpls and dcus are recommended to be moved to the IDE's default locations to avoid possible conflicts but this problems are more common with CBuilder personality than Delphi. Having the search and library paths correctly added use to be enough to install the packages from another location.
I think it is related with the point 8. Do you have the folder "C:\Program Files\Embarcadero\RAD Studio\7.0\Quickrep504" in your IDE's library path? If I remove it I get the following error when trying to run a simple application with only a TQuickReport in an empty formGoToXY wrote:I was about to forgot, for clarification:
on point 9, testing QuickReport, the compiler told me it could'nt found the source for QuickRep.pas, but weird thing, the source directory was in my library - win32, but Delphi was not checking in. So i had to add a false directory and then remove it to help delphi refresh the library. So maybe its just my Delphi 2010 or maybe it could happend with other ppl. Thats why i told you that in case it happend to others. But maybe i shouldnt because it is not really related to TeeChart but a QuickReport/Delphi issue. Sorry about that.
Code: Select all
[DCC Fatal Error] Unit1.pas(7): F1026 File not found: 'QuickRpt.dcu'
What do you mean with "auto follow max height for scrolling". Could you please explain us how can we do it?GoToXY wrote:btw: This forum is really getting me frustrated with the auto follow max height for scrolling that dont work and make my memo window jump from 1 line to another for each char i type. i had to use my friend (notepad) for the last post because of that.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: D2010, QuickReprt and TQRChart...a nightmare again!
Hi Yeray, well, what i mean is when i write my comments, in this forum, if what i write takes more line than those visible, the scrollbar shown. When i type characters and the scrollbar is visible, my page is doing weird thing like it is trying to go to the last line visible but it doesnt reach it, it get the line before the last one, so i dont see what i type. It do that check on every char i type. So My texte seems to be in a road with lots of hole, going up and down or an earthquake. i'm using IE8 and winXP Pro, dont know if this help you or not.
Re: D2010, QuickReprt and TQRChart...a nightmare again!
Hi GoToXY,
It seems to be an IE8 bug:
http://connect.microsoft.com/IE/feedbac ... en-editing
http://www.microsoft.com/communities/ne ... &sloc=&p=1
Other browsers work fine.
It seems to be an IE8 bug:
http://connect.microsoft.com/IE/feedbac ... en-editing
http://www.microsoft.com/communities/ne ... &sloc=&p=1
Other browsers work fine.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: D2010, QuickReprt and TQRChart...a nightmare again!
Thanks again and yes i confirm with you it is an IE 8 bug.