Compiling a mixed D and C++ project?

Kyle De'Vir kyle.devir at mykolab.com
Mon Sep 2 14:20:32 UTC 2019


On Monday, 2 September 2019 at 14:04:44 UTC, Exil wrote:
> You have to link to Qt's libs when you are compiling your D 
> code. Otherwise it won't know where to find those functions.

Ah. Right. How could I forget. :P

This helped silence the error: `gdc Main.d TestApplication.o 
-lstdc++ -lQt5Core -lQt5Widgets`

Anyways, now I have other errors:

https://invent.kde.org/snippets/429

`SetAppAtrributes` is properly wrapped, so I'm unsure about that.

The other ones I'm not sure what to do about.


More information about the Digitalmars-d mailing list