Posted on Aug 19, 2010 by
Happy Ox
qtd-0.6-current.7z + dmd2(download from www.digitalmars.com)
code: // code of main.d module main;
import qt.gui.QApplication; import qt.gui.QPushButton;
int main(string[] args) { scope app = new QApplication(args); scope win = new QPushButton(hello world); win.resize(200,200); win.show(); return app.exec(); } // end of code
compile args: c:\ dmd main.d qtdcore.lib qtdgui.lib
nothing at compiling and nothing by running and auto exit.
added qt*.dll to PATH environment
how can i do it?
Comment #1
Posted on Aug 20, 2010 by Happy OxComment deleted
Status: New
Labels:
Type-Defect
Priority-Medium