Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update transfer.pro #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
35 changes: 24 additions & 11 deletions transfer.pro
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
TEMPLATE = app
TARGET = transfer-qt
VERSION = 1.1.0.0
INCLUDEPATH += src src/json src/qt src/qt/plugins/mrichtexteditor
QT += network printsupport
DEFINES += ENABLE_WALLET
DEFINES += BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += no_include_pwd
CONFIG += thread
CONFIG += static
CONFIG += openssl-linked
CONFIG += openssl

greaterThan(QT_MAJOR_VERSION, 5) {
INCLUDEPATH += src src/json src/qt src/qt/plugins/mrichtexteditor
QT += network widgets printsupport
DEFINES += ENABLE_WALLET
DEFINES += BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += static
CONFIG += no_include_pwd
CONFIG += thread
CONFIG += openssl-linked
CONFIG += openssl
QMAKE_CXXFLAGS = -fpermissive
}

greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
INCLUDEPATH += src src/json src/qt src/qt/plugins/mrichtexteditor
QT += network widgets printsupport
DEFINES += ENABLE_WALLET
DEFINES += BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
CONFIG += static
CONFIG += no_include_pwd
CONFIG += thread
CONFIG += openssl-linked
CONFIG += openssl
QMAKE_CXXFLAGS = -fpermissive
}

linux {
Expand Down Expand Up @@ -153,7 +166,7 @@ contains(USE_O3, 1) {
QMAKE_CFLAGS += -msse2
}

QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -Wmaybe-uninitialized
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector

# Input
DEPENDPATH += src src/json src/qt
Expand Down