From 9981eb853deaeac6ef5f87b94b60984450cb630a Mon Sep 17 00:00:00 2001 From: eilers Date: Thu, 29 Jul 2004 10:50:29 +0000 Subject: Reimplement fix to compile and work on MacOS-X. --- (limited to 'qmake') diff --git a/qmake/include/qglobal.h b/qmake/include/qglobal.h index b7e919d..ce209fe 100644 --- a/qmake/include/qglobal.h +++ b/qmake/include/qglobal.h @@ -163,6 +163,14 @@ #if defined(Q_OS_MAC9) || defined(Q_OS_MACX) # define Q_OS_MAC +/* We have to prevent qmake to generate makefiles or projectfiles for the Apple build system. + * This would work if we would use QT3. But we compile with QT2 which don't use qmake and does nothing + * about the MAC platform !! (se) + */ +#warning "evil hack here !! (se)" +#define Q_OS_LINUX +#undef Q_OS_MACX +#undef Q_OS_MAC #endif #if defined(Q_OS_MAC9) || defined(Q_OS_MSDOS) || defined(Q_OS_OS2) || defined(Q_OS_WIN) -- cgit v0.9.0.2