mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
update macOS building
This commit is contained in:
parent
8a1309df78
commit
6a7599c0bd
@ -6,6 +6,7 @@
|
||||
#注释:在qqt_header.pri打开 DEFINES += __PLUGINSUPPORT__
|
||||
#TODO: macOS runtime crash
|
||||
contains (DEFINES, __PLUGINSUPPORT__) {
|
||||
#MinGW64 doesn't support contains(||) and contains(||)
|
||||
#contains(QSYS_PRIVATE, Win32|Windows|Win64 || MSVC32|MSVC|MSVC64) {
|
||||
win32{
|
||||
wince*: SOURCES += $$PWD/pluginsupport/devicewatcher/qdevicewatcher_wince.cpp
|
||||
|
@ -54,7 +54,8 @@ HEADERS += \
|
||||
#可以添加QQtProcess适配,正常平台使用QProcess继承下来,iOS下使用fork封装。
|
||||
DEFINES += __PROCESSSUPPORT__
|
||||
#ios has no backend process
|
||||
contains(DEFINES, __IOS__ || __WINRT__) {
|
||||
#ios doesn't support contains(||)
|
||||
contains(DEFINES, __IOS__|__WINRT__) {
|
||||
DEFINES -= __PROCESSSUPPORT__
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ extern "C" {
|
||||
#include <netinet/tcp.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#if defined (__DARWIN__)
|
||||
#if defined (__DESKTOP_DARWIN__)
|
||||
#include <net/route.h>
|
||||
#endif
|
||||
#include <sys/socket.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user