mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Use Qwt from externals
This commit is contained in:
committed by
Mat Sutcliffe
parent
935cffe250
commit
77a0d628f2
@@ -1,6 +1,6 @@
|
|||||||
load(common_pre)
|
load(common_pre)
|
||||||
|
|
||||||
QT += core dbus gui network svg widgets charts
|
QT += core dbus gui network svg widgets
|
||||||
|
|
||||||
TARGET = blackgui
|
TARGET = blackgui
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
@@ -11,11 +11,12 @@ swiftConfig(static) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += ..
|
INCLUDEPATH += ..
|
||||||
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/qwt
|
||||||
DEPENDPATH += . ..
|
DEPENDPATH += . ..
|
||||||
|
|
||||||
PRECOMPILED_HEADER = pch/pch.h
|
PRECOMPILED_HEADER = pch/pch.h
|
||||||
|
|
||||||
DEFINES += LOG_IN_FILE BUILD_BLACKGUI_LIB
|
DEFINES += LOG_IN_FILE BUILD_BLACKGUI_LIB QWT_DLL
|
||||||
|
|
||||||
HEADERS += *.h
|
HEADERS += *.h
|
||||||
SOURCES += *.cpp
|
SOURCES += *.cpp
|
||||||
@@ -42,6 +43,9 @@ HEADERS += $$PWD/editors/*.h
|
|||||||
SOURCES += $$PWD/editors/*.cpp
|
SOURCES += $$PWD/editors/*.cpp
|
||||||
FORMS += $$PWD/editors/*.ui
|
FORMS += $$PWD/editors/*.ui
|
||||||
|
|
||||||
|
HEADERS += $$PWD/graphs/*.h
|
||||||
|
SOURCES += $$PWD/graphs/*.cpp
|
||||||
|
|
||||||
FORMS += $$PWD/*.ui
|
FORMS += $$PWD/*.ui
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
@@ -49,7 +53,18 @@ win32 {
|
|||||||
SOURCES += $$PWD/win/*.cpp
|
SOURCES += $$PWD/win/*.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
RESOURCES +=
|
win32 {
|
||||||
|
CONFIG(debug, debug|release): LIBS *= -lqwtd
|
||||||
|
CONFIG(release, debug|release): LIBS *= -lqwt
|
||||||
|
}
|
||||||
|
else:macx {
|
||||||
|
macx: LIBS *= -framework qwt
|
||||||
|
}
|
||||||
|
else:unix {
|
||||||
|
LIBS *= -lqwt
|
||||||
|
}
|
||||||
|
|
||||||
|
# RESOURCES +=
|
||||||
|
|
||||||
DESTDIR = $$DestRoot/lib
|
DESTDIR = $$DestRoot/lib
|
||||||
DLLDESTDIR = $$DestRoot/bin
|
DLLDESTDIR = $$DestRoot/bin
|
||||||
|
|||||||
@@ -127,8 +127,8 @@ win32 {
|
|||||||
dest_path = $$DestRoot/bin
|
dest_path = $$DestRoot/bin
|
||||||
}
|
}
|
||||||
else:macx {
|
else:macx {
|
||||||
copy_command = cp
|
copy_command = cp -a
|
||||||
source_path = $$EXTERNALS_LIB_DIR/*.dylib
|
source_path = $$EXTERNALS_LIB_DIR/*.{dylib,framework}
|
||||||
dest_path = $$DestRoot/lib
|
dest_path = $$DestRoot/lib
|
||||||
}
|
}
|
||||||
else:unix {
|
else:unix {
|
||||||
|
|||||||
Reference in New Issue
Block a user