Page 1 of 1

[RESOLVED] QrTee was compiled with different ver of QuickRpt

Posted: Tue Jul 25, 2006 1:43 am
by 9339722
Hi,

My development setup is below.

Delphi 7
Delphi 7 Update Pack 1
QuickReport Pro 3.6.2 with Source (I don't mind upgrading upto 4.0.6 as long as there are no major code changes required)
TeeChart Pro 7.0 will Source
Jedi 2.10
TurboPower Internet Professional 1.15

I opened a brand new project and added TQuickRep component that was fine.
Then I added a TQRBand and that was fine.
Then I added TQRChart and I got the following error.

Unit QrTee was compiled with a different version of QuickRpt.TQRPrintable

How do I fix this? I have searched the website for some possible answers which says TeeChart was built using the standard version of QuickReport and I need to rebuilt some components again. I did follow steps but have no joy yet.

I used the following link.
http://www.teechart.net/reference/modul ... cle&sid=13

Any help would be greatly appreciated.

Regards,

Nirav Patel

Posted: Wed Jul 26, 2006 9:50 am
by narcis
Hi Nirav,

This is most likely that your IDE or TQRChart packages you have compiled are still referencing old Quick Report packages.

You can check this at Project\Options\Packages that no old Quick Report packages are installed and at Project\Options\Directories/Conditionals\Search Path you should check that latest QR and TeeChart version Bin and Lib folders are on top of the search list. You should check that for all the TQRChart packages you have rebuilt.

Posted: Wed Jul 26, 2006 11:54 pm
by 9339722
Thanks Narcís,

I made sure of the steps you mentioned but no luck either.

Then I decided to uninstall everything including Delphi itself and then deleted every single BPL, DCU, DCP, RES files which came with it and might have been installed on the system.

I reinstalled everything again and followed every single step making sure I don't miss anything and got nowhere. I have uninstalled and reinstalled everything 4 times so far with no joy using QuickReport 3.6.2 Pro components.

So I decided to give one more try to it by using QuickReport 4.0.4 (4.0.3 is mentioned in the article link I posted in my first post). Again I uninstalled and reinstalled everything and to my bad luck, no joy..!

I finished everything upto STEP 10. When I tried to do STEP 11, I got the following error. I was getting the same error when I tried to load QuickReport design time components other than QRChart.

ERROR
--------
Cannot load package 'QR4RunD7'. It contains unit 'QRCtrls', which is also contained in package 'qrpt70'

So the new setup is below.

Delphi 7
Delphi 7 Update Pack 1
QuickReport Pro 4.0.4 with Source
TeeChart Pro 7.0 (Haven't installed Source yet but that should not matter)
Jedi 2.10
TurboPower Internet Professional 1.15

What could I be missing here? Any help is really appreciated as I have managers wanting to hear from me on what is going on and why is it taking 4 days to install something which should not even take 4 hours?

Cheers,
Nirav :)

Posted: Thu Jul 27, 2006 7:15 am
by narcis
Hi Nirav,

The error message you get indicates that Quick Report version shipped with Delphi 7 (qrpt70) is still installed at Project\Options\Packages or referenced at the package search path as I told you in my previous post. You should check this again at least for QR4RunD7.

Posted: Thu Jul 27, 2006 10:21 pm
by 9339722
Thanks Narcís,

After going through every single thing carefully making sure I am not missing anything I found that there was no direct reference to the package QRPT70.

So I decided to do a search for anything which contains QRPT* and I found JVCL DesignTime and RunTime pacakge referring to it. So I renamed the QRPT reference to the new RunTime and wolla. Everything works fine now.

Turns out I did nothing wrong in the first place and your answer was right too (checking packages, but I couldn't see it being referenced directly).

Thanks again for all your help Narcís and sorry about being a little pain. Now it's time to ask few questions to GNostice guyz :)

Cheers,
Nirav

Posted: Fri Jul 28, 2006 7:28 am
by narcis
Hi Nirav,

You're very welcome. I'm glad to hear you finally could solve those problems.