Page 1 of 2

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

Posted: Wed Sep 28, 2022 9:16 pm
by 16593417
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?

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

Posted: Fri Sep 30, 2022 4:51 pm
by 16593417
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.

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

Posted: Fri Sep 30, 2022 5:21 pm
by 16593417
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?

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

Posted: Mon Oct 03, 2022 9:37 am
by yeray
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.

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

Posted: Mon Oct 03, 2022 2:08 pm
by 16593417
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

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

Posted: Wed Oct 05, 2022 12:50 pm
by 16593417
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

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

Posted: Wed Oct 05, 2022 1:57 pm
by yeray
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"

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

Posted: Wed Oct 05, 2022 2:26 pm
by 16593417
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?

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

Posted: Wed Oct 05, 2022 2:36 pm
by yeray
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".

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

Posted: Wed Oct 05, 2022 2:59 pm
by 16593417
Hi,

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

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

Posted: Thu Oct 06, 2022 6:19 am
by yeray
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").

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

Posted: Fri Oct 07, 2022 5:57 pm
by 16593417
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)?

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

Posted: Fri Oct 14, 2022 2:01 pm
by yeray
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.

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

Posted: Fri Oct 14, 2022 2:37 pm
by 16593417
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?

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

Posted: Fri Oct 14, 2022 7:49 pm
by 16593417
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?