qmake is now the one and only supported environment

This commit is contained in:
Volker Fischer 2013-01-09 09:28:15 +00:00
parent f9ca26af0c
commit dd1b97319f
9 changed files with 10 additions and 66 deletions

View file

@ -26,13 +26,11 @@
Windows:
--------
Rquired software: QT4, Visual Studio 2005, ASIO development files
Rquired software: QT, a compiler like Visual Studio, ASIO development files
- copy ASIO development files in llcon/windows directory so that, e.g., the
directory llcon\windows\ASIOSDK2\common exists
- run llcon/windows/MocQT.bat
- open llcon.sln in your Visual Studio environment and compile
- run llcon/windows/Release/llcon.exe
- open llcon.pro in Qt Creator and compile
Linux:

View file

@ -10,8 +10,7 @@ INCLUDEPATH += src \
libs/celt
DEFINES += USE_ALLOCA \
_REENTRANT \
_IS_QMAKE_CONFIG
_REENTRANT
win32 {
DEFINES -= UNICODE

View file

@ -30,15 +30,7 @@
#include <QLayout>
#include <QAccessible>
#include "global.h"
#ifdef _IS_QMAKE_CONFIG
#include "ui_chatdlgbase.h"
#else
# ifdef _WIN32
# include "../windows/moc/chatdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else
# include "moc/chatdlgbase.h"
# endif
#endif
/* Classes ********************************************************************/

View file

@ -37,15 +37,7 @@
#include "global.h"
#include "client.h"
#include "multicolorled.h"
#ifdef _IS_QMAKE_CONFIG
#include "ui_clientsettingsdlgbase.h"
#else
# ifdef _WIN32
# include "../windows/moc/clientsettingsdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else
# include "moc/clientsettingsdlgbase.h"
# endif
#endif
/* Definitions ****************************************************************/

View file

@ -31,15 +31,7 @@
#include <QLocale>
#include "global.h"
#include "client.h"
#ifdef _IS_QMAKE_CONFIG
#include "ui_connectdlgbase.h"
#else
# ifdef _WIN32
# include "../windows/moc/connectdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else
# include "moc/connectdlgbase.h"
# endif
#endif
/* Definitions ****************************************************************/

View file

@ -41,15 +41,7 @@
#include "clientsettingsdlg.h"
#include "chatdlg.h"
#include "connectdlg.h"
#ifdef _IS_QMAKE_CONFIG
#include "ui_llconclientdlgbase.h"
#else
# ifdef _WIN32
# include "../windows/moc/llconclientdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else
# include "moc/llconclientdlgbase.h"
# endif
#endif
/* Definitions ****************************************************************/

View file

@ -37,15 +37,7 @@
#include "server.h"
#include "settings.h"
#include "multicolorled.h"
#ifdef _IS_QMAKE_CONFIG
#include "ui_llconserverdlgbase.h"
#else
# ifdef _WIN32
# include "../windows/moc/llconserverdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else
# include "moc/llconserverdlgbase.h"
# endif
#endif
/* Definitions ****************************************************************/

View file

@ -352,12 +352,7 @@ int main ( int argc, char** argv )
#endif
// init resources
#ifdef _IS_QMAKE_CONFIG
Q_INIT_RESOURCE(resources);
#else
extern int qInitResources();
qInitResources();
#endif
// TEST -> activate the following line to activate the test bench,

View file

@ -44,15 +44,7 @@ using namespace std; // because of the library: "vector"
# include <windows.h>
# include <mmsystem.h>
#endif
#ifdef _IS_QMAKE_CONFIG
#include "ui_aboutdlgbase.h"
#else
# ifdef _WIN32
# include "../windows/moc/aboutdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else
# include "moc/aboutdlgbase.h"
# endif
#endif
/* Definitions ****************************************************************/