mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 00:05:25 +08:00
qt 6.5.1 original
This commit is contained in:
12
mkspecs/common/nacl/g++-nacl32.conf
Normal file
12
mkspecs/common/nacl/g++-nacl32.conf
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
# 32-bit x86 nacl configuration.
|
||||
|
||||
QMAKE_CC = i686-nacl-gcc
|
||||
QMAKE_CXX = i686-nacl-g++
|
||||
QMAKE_LINK = i686-nacl-g++
|
||||
QMAKE_LINK_SHLIB = i686-nacl-g++
|
||||
QMAKE_AR = i686-nacl-ar q
|
||||
QMAKE_OBJCOPY = i686-nacl-objcopy
|
||||
QMAKE_NM = i686-nacl-nm -P
|
||||
QMAKE_STRIP = i686-nacl-strip
|
||||
|
12
mkspecs/common/nacl/g++-nacl64.conf
Normal file
12
mkspecs/common/nacl/g++-nacl64.conf
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
# 32-bit x86 nacl configuration.
|
||||
|
||||
QMAKE_CC = x86_64-nacl-gcc
|
||||
QMAKE_CXX = x86_64-nacl-g++
|
||||
QMAKE_LINK = x86_64-nacl-g++
|
||||
QMAKE_LINK_SHLIB = x86_64-nacl-g++
|
||||
QMAKE_AR = x86_64-nacl-ar q
|
||||
QMAKE_OBJCOPY = x86_64-nacl-objcopy
|
||||
QMAKE_NM = x86_64-nacl-nm -P
|
||||
QMAKE_STRIP = x86_64-nacl-strip
|
||||
|
11
mkspecs/common/nacl/nacl-base.conf
Normal file
11
mkspecs/common/nacl/nacl-base.conf
Normal file
@ -0,0 +1,11 @@
|
||||
QMAKE_PLATFORM = nacl $$QMAKE_PLATFORM
|
||||
|
||||
# Work around linker crash when using PIC. We are building
|
||||
# statically so this is safe.
|
||||
QMAKE_CFLAGS_STATIC_LIB -= -fPIC
|
||||
QMAKE_CFLAGS_SHLIB -= -fPIC
|
||||
QMAKE_CXXFLAGS_STATIC_LIB -= -fPIC
|
||||
QMAKE_CXXFLAGS_SHLIB -= -fPIC
|
||||
|
||||
QMAKE_LIBS_DYNLOAD -= -ldl
|
||||
QMAKE_LIBS_OPENGL_ES2 = -lppapi_gles2
|
18
mkspecs/common/nacl/qplatformdefs.h
Normal file
18
mkspecs/common/nacl/qplatformdefs.h
Normal file
@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#define _POSIX_TIMERS
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// extra disabling.
|
||||
#ifdef __native_client__
|
||||
#define QT_NO_FSFILEENGINE
|
||||
#endif
|
||||
|
||||
#define QT_NO_SOCKET_H
|
||||
|
||||
#define DIR void *
|
||||
#define PATH_MAX 256
|
||||
|
||||
#include "qfunctions_nacl.h"
|
||||
#include <pthread.h>
|
Reference in New Issue
Block a user