Re: Re: Qt incompatibilities between Pascal and C++

[email protected] Tue, 24 Dec 2002 17:22:52 -0500
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <3E0897EC.32377.CC10B@localhost>
I can use my components in projects built without runtime packages but 
I'm using the Professional Edition rather than the Open Edition.  

> Thanks a million!
> It works but... not quite.
> I can compile&link&run c++ projects with dbControls included only when
> "build with runtime packages" project option IS SET
> (rtl:visualclx:dbControls).
> If not, I get linker errors for all the dbControls included. For ex.:
> "[Linker Error] Unresolved external 'Qdbctrls::TDBEdit::' referenced
> from MainF.o"
> dbControls package is design&runtime kind. dbControls.a lib. is
> included into project. bpldbControls is in the path.
> I managed to explicitly link them with "#pragma link" but then I get
> SIGSEGV(11) at runtime.
> 
> Can you use your delphi components in the projects built without
> runtime time packages?
> 
> --- In [email protected], rbwinston@m... wrote:
> > I finally did manage to get it to work. What I had to do was compile 
> > the source code under the Delphi IDE and then install it as a package 
> > in the C++ IDE. Here are my notes on what I did.
> > 
> > Installing components in Kylix C++ IDE
> > Select Component|Install PackagesÂ…
> > Click the Add... Button.
> > Select a *.so file generated by the Delphi IDE.
> > Click the Open button.
> > Click the OK button.
> > 
> > For each package, you need to generate an *.a file. 
> > 
> > File|CloseAll
> > File|New|Other|Library
> > File|Save Project AsÂ… and save with the same root name as the Package 
> > file for the Delphi IDE
> > Project|Add to Project
> > Select the *.so file.
> > File | Save All 
> > Now you are ready to actually build the library, so: Project | Build 
> > Click the OK button.
> 
> 
> 
> 
> 
>                        Yahoo! Groups Sponsor
>                                   
>                            ADVERTISEMENT
>                                  
>                                   
>                                   
>                                   
> 
> 
> 
> -------------------------------------------------------
> Forum / mailing list for Borland Kylix programmers
> Our web page: http://groups.yahoo.com/group/kylixgroup
> To join the forum: [email protected]
> To unsubscribe: [email protected]
> To post your messages: [email protected]
> To contact the moderator: [email protected]
> -------------------------------------------------------
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Richard B. Winston
[email protected]
301-474-2762
http://www.mindspring.com/~rbwinston/rbwinsto.htm
MODFLOW Help File: 
http://www.mindspring.com/~rbwinston/modhelp.htm
ftp://ftp.mindspring.com/users/rbwinston/incoming
My statements are personal opinion.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/i7folB/TM
---------------------------------------------------------------------~->

-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/