view examples/mainwindows/dockwidgets/build.sh @ 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 a212c97edcd2
children
line wrap: on
line source

#! /bin/bash
#rcc mainwindow.qrc -o mainwindow_rcc.cpp
#g++ -c -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include mainwindow_rcc.cpp
dmd main.d mainwindow.d -I../../../ -I../../../qt/d2 -L-L../../../lib -L-lqtdgui -L-lqtdcore -L-lQtCore -L-lQtGui -ofdockwidgets