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 <QLayout>
#include <QAccessible> #include <QAccessible>
#include "global.h" #include "global.h"
#ifdef _WIN32 #ifdef _IS_QMAKE_CONFIG
# include "../windows/moc/chatdlgbase.h" # include "ui_chatdlgbase.h"
#else #else
# ifdef _IS_QMAKE_CONFIG # ifdef _WIN32
# include "ui_chatdlgbase.h" # include "../windows/moc/chatdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else # else
# include "moc/chatdlgbase.h" # include "moc/chatdlgbase.h"
# endif # endif

View file

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

View file

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

View file

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

View file

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

View file

@ -40,12 +40,15 @@
#include "global.h" #include "global.h"
using namespace std; // because of the library: "vector" using namespace std; // because of the library: "vector"
#ifdef _WIN32 #ifdef _WIN32
# include "../windows/moc/aboutdlgbase.h" # define NOMINMAX // solves a compiler error in qdatetime.h (Qt5)
# include <windows.h> # include <windows.h>
# include <mmsystem.h> # include <mmsystem.h>
#endif
#ifdef _IS_QMAKE_CONFIG
# include "ui_aboutdlgbase.h"
#else #else
# ifdef _IS_QMAKE_CONFIG # ifdef _WIN32
# include "ui_aboutdlgbase.h" # include "../windows/moc/aboutdlgbase.h" // required if llcon.sln and MocQT.bat are used
# else # else
# include "moc/aboutdlgbase.h" # include "moc/aboutdlgbase.h"
# endif # endif

View file

@ -25,6 +25,7 @@
#if !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ ) #if !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ )
#define _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 <windows.h>
#include <QMutex> #include <QMutex>
#include <QMessageBox> #include <QMessageBox>