make it possible to use qmake for Linux, too

This commit is contained in:
Volker Fischer 2010-04-09 17:45:29 +00:00
parent 5f7db0880e
commit 016316236a
6 changed files with 7 additions and 6 deletions

View file

@ -9,7 +9,8 @@ INCLUDEPATH += src \
libs/celt libs/celt
DEFINES += USE_ALLOCA \ DEFINES += USE_ALLOCA \
_REENTRANT _REENTRANT \
_IS_QMAKE_CONFIG
macx { macx {
HEADERS += mac/sound.h HEADERS += mac/sound.h

View file

@ -33,7 +33,7 @@
#ifdef _WIN32 #ifdef _WIN32
# include "../windows/moc/chatdlgbase.h" # include "../windows/moc/chatdlgbase.h"
#else #else
# if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( _IS_QMAKE_CONFIG )
# include "ui_chatdlgbase.h" # include "ui_chatdlgbase.h"
# else # else
# include "moc/chatdlgbase.h" # include "moc/chatdlgbase.h"

View file

@ -40,7 +40,7 @@
#ifdef _WIN32 #ifdef _WIN32
# include "../windows/moc/clientsettingsdlgbase.h" # include "../windows/moc/clientsettingsdlgbase.h"
#else #else
# if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( _IS_QMAKE_CONFIG )
# include "ui_clientsettingsdlgbase.h" # include "ui_clientsettingsdlgbase.h"
# else # else
# include "moc/clientsettingsdlgbase.h" # include "moc/clientsettingsdlgbase.h"

View file

@ -42,7 +42,7 @@
#ifdef _WIN32 #ifdef _WIN32
# include "../windows/moc/llconclientdlgbase.h" # include "../windows/moc/llconclientdlgbase.h"
#else #else
# if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( _IS_QMAKE_CONFIG )
# include "ui_llconclientdlgbase.h" # include "ui_llconclientdlgbase.h"
# else # else
# include "moc/llconclientdlgbase.h" # include "moc/llconclientdlgbase.h"

View file

@ -36,7 +36,7 @@
#ifdef _WIN32 #ifdef _WIN32
# include "../windows/moc/llconserverdlgbase.h" # include "../windows/moc/llconserverdlgbase.h"
#else #else
# if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( _IS_QMAKE_CONFIG )
# include "ui_llconserverdlgbase.h" # include "ui_llconserverdlgbase.h"
# else # else
# include "moc/llconserverdlgbase.h" # include "moc/llconserverdlgbase.h"

View file

@ -40,7 +40,7 @@ using namespace std; // because of the library: "vector"
# include <windows.h> # include <windows.h>
# include <mmsystem.h> # include <mmsystem.h>
#else #else
# if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( _IS_QMAKE_CONFIG )
# include "ui_aboutdlgbase.h" # include "ui_aboutdlgbase.h"
# else # else
# include "moc/aboutdlgbase.h" # include "moc/aboutdlgbase.h"