view mini/test1/main.d @ 399:e40f33cc0bf5

Explicitly include qglobal.h before all the ?master includes?. This makes sure that macros like Q_CORE_EXPORT are already defined for all parsed header files. Starting with this commit, QtD should build successfully against the pre-built Cocoa packages on OS X 10.6.
author David Nadlinger <code@klickverbot.at>
date Sun, 16 Jan 2011 00:56:21 +0100
parents a032df77b6ab
children
line wrap: on
line source

import qt.core.QMetaType;

import std.stdio;
import std.conv;
import qt.core.test.Objects;
//import qt.gui.QApplication;

void main(string[] args)
{
    /+
    scope app = new QApplication(args);
    app.exec();
    +/
}