Page 1 of 1

Teechart pro 9 and Qreport 5

Posted: Wed Jun 29, 2011 8:30 am
by 16558440
Can I use the Tee9QR5D15 dpk in the Tee chart Pro environment in Delphi XE.

I tried to install the component, but this did not work...

Re: Teechart pro 9 and Qreport 5

Posted: Thu Jun 30, 2011 10:41 am
by narcis
Hi jhum,

Yes, you should find the packages at C:\Program Files\Steema Software\TeeChart 2011 for Delphi 2011\Delphi15\QuickReport. Installation instructions can be found at the QuickReport article here. If you have problems during the installation please let us know the exact error messages you may get and during which step of the installation.

Thanks in advance.

Re: Teechart pro 9 and Qreport 5

Posted: Thu Jun 30, 2011 3:47 pm
by 16558440
This compiler error is generated in Delphi XE:

Building DclTee9QR5D15.dproj (Debug, Win32)

[DCC Error] DclTee9QR5D15.dpk(32): E2199 Packages 'Tee' and 'Tee915' both contain unit 'TeeGDIPlus'
[DCC Fatal Error] DclTee9QR5D15.dpk(32): F2220 Could not compile package 'Tee'
Failed

best regards

Re: Teechart pro 9 and Qreport 5

Posted: Fri Jul 01, 2011 7:48 am
by yeray
Hello jhum,

Note that,a s explained in the instructions Narcis pointed, the first package to build is Tee9QR5D15.dpk. Does it compile without problems?
And even before it, we are assuming you have TeeChart v9 and QuickReport v5 running properly fine alone in RAD XE, right?

Re: Teechart pro 9 and Qreport 5

Posted: Fri Jul 01, 2011 12:13 pm
by 16558440
Thank you for your reply!
- I have the TeeChart Pro 2010 Full Source Code source and quickreport 5.05 working fine on the Delphi XE environment.
- Tee9QR5D15.dpk can compile without a problem. It uses Tee915 etc...
- After installing the library and starting a new project, the following error occurs:
Cannot load package DclTeePro915. It contains unit TeeChartReg, which is also contained in package DclTee915.
It seems there is a mixup of libraries between the standard and the pro version?

Re: Teechart pro 9 and Qreport 5

Posted: Fri Jul 01, 2011 12:13 pm
by 16558440
Thank you for your reply!
- I have the TeeChart Pro 2010 Full Source Code source and quickreport 5.05 working fine on the Delphi XE environment.
- Tee9QR5D15.dpk can compile without a problem. It uses Tee915 etc...
- After installing the library and starting a new project, the following error occurs:
Cannot load package DclTeePro915. It contains unit TeeChartReg, which is also contained in package DclTee915.
It seems there is a mixup of libraries between the standard and the pro version?

Re: Teechart pro 9 and Qreport 5

Posted: Fri Jul 01, 2011 2:29 pm
by narcis
Hi jhum,
It seems there is a mixup of libraries between the standard and the pro version?
Yes, that's most likely the problem. You should check that your Delphi is not referencing old TeeChart version packages and that your TQRChart packages are referencing TeeChart Pro packages as explained in the article I pointed you earlier in this thread.

Re: Teechart pro 9 and Qreport 5

Posted: Wed Jul 06, 2011 1:35 pm
by 16558440
I tried to install the QReport Chart component after a complete reinstall of Teechart 2011 for Delphi XE.
The following error is generated if I try to install the component:

Can't load package DCLTee915. It contains unit TeeChartExp, which is also contained in package DCLTeePro915.

How to proceed?

Re: Teechart pro 9 and Qreport 5

Posted: Tue Jul 12, 2011 9:30 am
by yeray
Hello,

I've just installed it. My steps froma clean RAD XE:
- Install QuickReport 5. Revise "library" and "browsing" paths and put the QuickReport references on the top of the lists. Check that QuickReport works fine alone.
- Install TeeChart Pro v2011.03. Revise "library" and "debug dcu" paths and put the TeeChart references on the top of the lists. Check that TeeChart works fine alone.
- Copy QR5DesignDXE.dcp and QR5RunDXE.dcp from "\RAD Studio\8.0\lib" to "\RAD Studio\8.0\lib\win32\release". Or add "\RAD Studio\8.0\lib" into the search path.
- Edit manually (with notepad or similar) Tee9QR5D15.dpk and DclTee9QR5D15.dpk and change the references:
Tee915 to TeePro915.
DclTee915 to DclTeePro915.
- Open Tee9QR5D15.dpk and redirect the output paths as desired. Compile it.
- Open DclTee9QR5D15.dpk, add the Tee9QR5D15.dpk output path in the project search path and redirect the output paths as desired. Compile it.
- Copy the generated files acordingly:
DclTee9QR5D15.bpl to "\RAD Studio\8.0\bin"
Tee9QR5D15.bpl to "\Windows\System32" ("\Windows\SysWOW64" for 64 bit systems)
*.dcu and *.dcp to "\RAD Studio\8.0\lib\win32\release".
- Close the packages and istnall the "\RAD Studio\8.0\bin\DclTee9QR5D15.bpl" from the packages list in the IDE.

find attached the files that worked for me.