qt5 fixes

This commit is contained in:
Volker Fischer 2013-01-08 19:26:05 +00:00
parent f3c3acddca
commit 547dbf8e9a
7 changed files with 27 additions and 23 deletions

View file

@ -30,11 +30,11 @@
#include <QLayout>
#include <QAccessible>
#include "global.h"
#ifdef _WIN32
# include "../windows/moc/chatdlgbase.h"
#else
# ifdef _IS_QMAKE_CONFIG
#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

View file

@ -37,11 +37,11 @@
#include "global.h"
#include "client.h"
#include "multicolorled.h"
#ifdef _WIN32
# include "../windows/moc/clientsettingsdlgbase.h"
#else
# ifdef _IS_QMAKE_CONFIG
#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

View file

@ -31,11 +31,11 @@
#include <QLocale>
#include "global.h"
#include "client.h"
#ifdef _WIN32
# include "../windows/moc/connectdlgbase.h"
#else
# ifdef _IS_QMAKE_CONFIG
#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

View file

@ -41,11 +41,11 @@
#include "clientsettingsdlg.h"
#include "chatdlg.h"
#include "connectdlg.h"
#ifdef _WIN32
# include "../windows/moc/llconclientdlgbase.h"
#else
# ifdef _IS_QMAKE_CONFIG
#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

View file

@ -37,11 +37,11 @@
#include "server.h"
#include "settings.h"
#include "multicolorled.h"
#ifdef _WIN32
# include "../windows/moc/llconserverdlgbase.h"
#else
# ifdef _IS_QMAKE_CONFIG
#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

View file

@ -40,12 +40,15 @@
#include "global.h"
using namespace std; // because of the library: "vector"
#ifdef _WIN32
# include "../windows/moc/aboutdlgbase.h"
# define NOMINMAX // solves a compiler error in qdatetime.h (Qt5)
# include <windows.h>
# include <mmsystem.h>
#else
# ifdef _IS_QMAKE_CONFIG
#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

View file

@ -25,6 +25,7 @@
#if !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ )
#define _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_
#define NOMINMAX // solves a compiler error in qdatetime.h (Qt5)
#include <windows.h>
#include <QMutex>
#include <QMessageBox>