mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
fix linux build
This commit is contained in:
parent
55084c16cb
commit
924bd66e84
@ -16,8 +16,21 @@
|
|||||||
#include <QSqlError>
|
#include <QSqlError>
|
||||||
#include <QSslError>
|
#include <QSslError>
|
||||||
#include "qglobal.h"
|
#include "qglobal.h"
|
||||||
|
#include "qqt-qt.h"
|
||||||
#include <qqt-local.h>
|
#include <qqt-local.h>
|
||||||
|
|
||||||
|
#if defined(__WIN32__) || defined(__WIN64__)
|
||||||
|
#include "qqtwin.h"
|
||||||
|
#elif defined(__LINUX__) || defined(__LINUX64__) \
|
||||||
|
|| defined(__EMBEDDED_LINUX__) \
|
||||||
|
|| defined(__ARM_LINUX__) || defined(__MIPS_LINUX__)
|
||||||
|
#include "qqtlinux.h"
|
||||||
|
#elif defined (__ANDROID__) || defined (__ANDROIDX86__)
|
||||||
|
#include "qqtandroid.h"
|
||||||
|
#elif defined (__DARWIN__) || defined(__IOS__)
|
||||||
|
#include "qqtdarwin.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include <QListIterator>
|
#include <QListIterator>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include "qqt-local.h"
|
#include "qqt-local.h"
|
||||||
|
#include "qqtcore.h"
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
class QQTSHARED_EXPORT QQtConstructer : public QObject
|
class QQTSHARED_EXPORT QQtConstructer : public QObject
|
||||||
|
11
src/qqt.h
11
src/qqt.h
@ -7,17 +7,6 @@
|
|||||||
#include "qqt-local.h"
|
#include "qqt-local.h"
|
||||||
#include "qqt-qt.h"
|
#include "qqt-qt.h"
|
||||||
|
|
||||||
#if defined(__WIN32__) || defined(__WIN64__)
|
|
||||||
#include "qqtwin.h"
|
|
||||||
#elif defined(__LINUX__) || defined(__LINUX64__) \
|
|
||||||
|| defined(__EMBEDDED_LINUX__) \
|
|
||||||
|| defined(__ARM_LINUX__) || defined(__MIPS_LINUX__)
|
|
||||||
#include "qqtlinux.h"
|
|
||||||
#elif defined (__ANDROID__) || defined (__ANDROIDX86__)
|
|
||||||
#include "qqtandroid.h"
|
|
||||||
#elif defined (__DARWIN__) || defined(__IOS__)
|
|
||||||
#include "qqtdarwin.h"
|
|
||||||
#endif
|
|
||||||
#include "qqtcore.h"
|
#include "qqtcore.h"
|
||||||
#include "qqtgui.h"
|
#include "qqtgui.h"
|
||||||
#include "qqtsql.h"
|
#include "qqtsql.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user