Re: Qt incompatibilities between Pascal and C++
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Message-ID | <[email protected]> |
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 ---------------------~--> 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/