Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Wed Sep 28, 2022 9:16 pm

I am running Delphi 10.4 Version 27.0.40680.4203 with QuickReport v6 (QR6DXE10_4_Sydney_W64_installer - as supplied by QBS).

I have downloaded the Tee9QR6D27 files from https://www.steema.com/downloads/vcl and am following the instructions provided.

But when I try to build the run-time packages for TQRChart is get this error :-
dcc32 command line for "DclTee9QR6D27.dpk"
[dcc32 Fatal Error] DclTee9QR6D27.dpk(35): E2202 Required package 'QRWRunDXE10_4_w64' not found

The only file of that name on my whole system is "C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\win32\debug\QRWRunDXE10_4_W64.res"

Has anybody managed to install TQRChart on Delphi 10.4 with QR6?

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Fri Sep 30, 2022 4:51 pm

I have now tried this on two different installations of Delphi 10.4, the second one freshly installed.

I get the same error and once again the only QRWRunDXE10_4_w64 files on my whole system are ".res" files.

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Fri Sep 30, 2022 5:21 pm

I also notice that the TeeChart version on my new install is 2022.36, whereas my previous attempt was with 2022.35. Same error both times.

I have decompressed Tee9QR6D27 to a subfolder of \Downloads, where I am trying to compile it. Should it be in another location? Should I be settings some extra paths?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Yeray » Mon Oct 03, 2022 9:37 am

Hello,

I see the names of the QR runtime package changed from "QRWRunDXE10_4_w64" to just "qrrun".
I've just corrected it, rebuilt the integration and uploaded the new zip.
Sorry for the inconvenience and thanks for reporting it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Mon Oct 03, 2022 2:08 pm

Hi Yeray,

Thanks for getting back to me. I now get a different error :-
"Can't load package C:\Temp\QR\compiled\DclTeeQR6D27.bpl.
The specified module could not be found."

Am I missing something? Should add a path?

I am only building the win32 version.

Thanks,
Jamie

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Wed Oct 05, 2022 12:50 pm

I have managed to install the components on one Windows installation but still fail, despite repeated attempts, to install on the second (main installation).

I have tried a few suggestions from StackOverflow without success. Do you have any idea as to why I get this message, no matter what I try ...

Image
Attachments
QRChartInstall.png
QRChartInstall.png (18.03 KiB) Viewed 18056 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Yeray » Wed Oct 05, 2022 1:57 pm

Hello,

Copying the packages to the default locations helps the IDE to load the packages:
- Design-time package ("compiled\Bpl\Win32\DclTee*.bpl") -> "bin" folder in the IDE
- 32bit runtime packages ("compiled\Bpl\Win32\Tee*.bpl") -> "Windows\SysWOW64"
- 64bit runtime packages ("compiled\Bpl\Win64\Tee*.bpl") -> "Windows\System32"
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Wed Oct 05, 2022 2:26 pm

Thanks, that solved the first problem, but now leads to ...
"Cannot load package 'qrrun.' It contains unit 'SGUtils', which is also contained in package 'qrdesign'."
... followed by ...
"Registration procedure, Teeqrteereg.Register in package C:\Temp\compiled\DclTee9QR6D27.bpl raised exception class EFilerError: A class named TQRPrintable already exists."

Would this be anything to do with the "qrrun" issue you mentioned in your previous message?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Yeray » Wed Oct 05, 2022 2:36 pm

Hello,

Make sure you install the design-time package you just copied to the "bin" folder in the IDE, not the one at "C:\Temp\compiled".
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Wed Oct 05, 2022 2:59 pm

Hi,

I tried that but got exactly the same error. Do I need to uninstall something first, or remove a reference somewhere?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Yeray » Thu Oct 06, 2022 6:19 am

Hello,

You only should remove the package from the list of packages and add it to the list browsing at the "bin" folder of the IDE.

I'm not sure why this shouldn't work, but another alternative would be to open the project group and build the packages, and install the design-time package from there (right click on the design time package and select "install").
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Fri Oct 07, 2022 5:57 pm

Well over the last couple of days I've tried everything I can think of, all to no avail.

I've uninstalled Delphi completely, wiped the folders and registry, tried Delphi 11 - but could not find components for TQRChart. So back to Delphi 10.4, from scratch, and still the same problems as before!

I also found that the installation I thought was working has some sort of bug. I can add a Quick Report and a QRChart and it works. But if I save the project, then reload I get the attached "Class TQRDBChart not found" error. I did not add a QRDBChart and no series use a DB.

What happens is that a TQRDBChart component gets inserted inside the TQRChart component, in the .dfm file, upon saving. It works before saving but not when reloaded.

So despite a whole week of trying I still can't get QRChart working with QR6 and Delphi 10.4.

Is there anyone at all successfully using QRChart with D10.4 and QR6 (and saving/reloading)?
Attachments
QRDBChart.png
QRDBChart.png (5.16 KiB) Viewed 17994 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Yeray » Fri Oct 14, 2022 2:01 pm

Hello,

I had problems to install the QRChart design time package (DclTee9QR6D27) because I got an error saying SGUtils was already loaded by QuickReport runtime package (qrrun).
I ended removing a reference to SGUtils from the sources of the QuickReport runtime package and rebuild also that.
After that, I could build and install QuickReport and QRChart without issues.

The error you are getting looks like a path missing from the search path.
Try adding the path where the TQRChart packages are generating the output to the library path in the IDE.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Fri Oct 14, 2022 2:37 pm

Thank you. I will try that.

Did you manage to find the bug where a TQRDBChart component gets inserted inside the TQRChart component when saving?

On the one installation where I managed to get QRChart working I still can't use it, after reloading.

I can recreate the form, from scratch, compile and run fine. But when I save and reload the form I get the error I mentioned in my last message.

Were you able to recreate that error?

Jamie
Newbie
Newbie
Posts: 21
Joined: Thu Mar 17, 2022 12:00 am

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Post by Jamie » Fri Oct 14, 2022 7:49 pm

Apologies, I see now that you were referring to the other error I mentioned. I have tried adding various Library paths, but nothing has helped, so far.

The TQRDBChart does not seem to be registered in the first place. When I installed the components the only component listed as added is TQBChart.

I don't seem to have any source code for QuickReports, so I don't see a way to edit the runtime package.

Where did you find the source code to make the change?

Post Reply