Page 1 of 1

Inconvenient Compile Errors In My Program

Posted: Wed Apr 03, 2013 1:22 pm
by 16565542
Greetings,

I just upgraded to the VCL verison of TeeChart Pro yesterday (Apr 2). I managed to get it installed for QReport5 after a bit of tinkering (a couple of required files were not what they needed to be for QR5). Anyway, in a test project, I dropped a QReport on a form and then dropped a QRChart in the report, set up one quick series and compiled it. All of the items in the uses clauses were not able to be found in the module QRTee and I had to change them, for example...

From:

Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, TeeProcs, TeEngine, Chart, QuickRpt, TeCanvas,
{$IFNDEF NOUSE_BDE}
DBChart,
{$ENDIF}
StdCtrls, Menus, ExtCtrls;

to:

Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, VclTee.TeeProcs, VclTee.TeEngine, VclTee.Chart, QuickRpt, VclTee.TeCanvas,
{$IFNDEF NOUSE_BDE}
VclTee.DBChart,
{$ENDIF}
StdCtrls, Menus, ExtCtrls;

I am just curious... why was this necessary and will this affect something down the line that I haven't tried yet?

>>> Rick <<<

Re: Inconvenient Compile Errors In My Program

Posted: Thu Apr 04, 2013 3:44 pm
by yeray
Hi Rick,

Try adding VCLTee at "Tools->Options->Environment Options->Delphi Options->Library->Unit scope names" to let the IDE find the according packages.

The unit scopes appeared with XE2 forcing us to add the VCLTee and FMXTee prefixes to TeeChart units. See more details here:
http://docwiki.embarcadero.com/RADStudi ... cope_Names
http://docwiki.embarcadero.com/RADStudi ... i_Compiler