Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 6 additions & 52 deletions src/BypassNatClient.pro
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
QT += quick gui multimedia core
QT = core widgets network
equals(QT_MAJOR_VERSION, 6){
message("qt6.1 v:" $$QT_MAJOR_VERSION)
QT += core5compat
}

CONFIG += c++17 cmdline

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0


CONFIG += c++1z

SOURCES += \
MyProtocol.cpp \
Expand All @@ -23,30 +18,6 @@ SOURCES += \
parsersocketdata.cpp \
settingsapp.cpp

RESOURCES += \
image.qrc

equals(QT_MAJOR_VERSION, 6){
message("qt6.2 v:" $$QT_MAJOR_VERSION)

RESOURCES += \
qml6.qrc
}

equals(QT_MAJOR_VERSION, 5){
message("qt5 v:" $$QT_MAJOR_VERSION)


RESOURCES += \
qml5.qrc

HEADERS += \
myfilter.h

SOURCES += \
myfilter.cpp
}


# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
Expand All @@ -55,8 +26,8 @@ QML_IMPORT_PATH =
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = \tmp/$${TARGET}/bin
else: unix:!android: target.path = \opt/$${TARGET}/bin
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
Expand All @@ -68,34 +39,17 @@ HEADERS += \
fileWrite.h \
newclient.h \
parsersocketdata.h \
ping.h \
settingsapp.h


unix:!macx:{

LIBS += -L/usr/local/lib

}

unix:!android:{

HEADERS += \
KeyControler.h

SOURCES += \
KeyControler.cpp

LIBS += -lXtst -lX11
}


win32{

HEADERS += \
KeyControler.h

SOURCES += \
KeyControler.cpp

LIBS += -luser32
}

114 changes: 0 additions & 114 deletions src/KeyControler.cpp

This file was deleted.

Loading