mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
Resolved conflict...
...In a not only quite straightforward but also extremely hacky method.
This commit is contained in:
parent
784e995dbf
commit
a4754eccdf
@ -3,6 +3,14 @@ message("Configuring for Windows environment")
|
|||||||
QMAKE_CXXFLAGS += /MP /wo4251
|
QMAKE_CXXFLAGS += /MP /wo4251
|
||||||
DEFINES += QHTTPSERVER_EXPORT
|
DEFINES += QHTTPSERVER_EXPORT
|
||||||
|
|
||||||
|
!has_std_byte {
|
||||||
|
message("WARN: c++17 std::byte is disabled")
|
||||||
|
DEFINES += _HAS_STD_BYTE=0
|
||||||
|
} else {
|
||||||
|
message("WARN: You are playing with a conflict between c++17 std::byte and Windows.h typedef byte")
|
||||||
|
message(" --> Be careful and good luck")
|
||||||
|
}
|
||||||
|
|
||||||
CONFIG += Qv2ray_Windows use_grpc
|
CONFIG += Qv2ray_Windows use_grpc
|
||||||
!contains(QMAKE_TARGET.arch, x86_64) {
|
!contains(QMAKE_TARGET.arch, x86_64) {
|
||||||
CONFIG+=Qv2ray_win32
|
CONFIG+=Qv2ray_win32
|
||||||
|
Loading…
Reference in New Issue
Block a user