Trying to compile the attached program to test DMD 2.068's promised C++ interfacing capabilities:
$ dmd qt.d -L-L/usr/share/x86_64-linux-gnu -L-lQt5Core -L-lQt5Gui qt.o:(.rodata+0x40): undefined reference to `QWidget::show()' qt.o: In function `_Dmain': qt.d:(.text._Dmain+0x3b): undefined reference to `QApplication::__ctor(int&, char**)' qt.d:(.text._Dmain+0x4f): undefined reference to `QApplication::exec()' collect2: error: ld returned 1 exit status --- errorlevel 1 Seems like I'm doing something hopelessly wrong. Please enlighten. Also, please specifically review my hastily put-together argv(string[] args) function... I'm using Kubuntu Trusty 64 bit. -- Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
qt.d
Description: application/dsrc