speedcontroller/ui/ui.pro

61 lines
1.7 KiB
Prolog

QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# 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
TARGET = MotorParam
INCLUDEPATH += $$PWD/../imageprocess
INCLUDEPATH += $$PWD/../hgdev
INCLUDEPATH += $$PWD/../3rdparty/nick
INCLUDEPATH += $$PWD/../3rdparty/opencv/include
CONFIG(debug,debug|release){
win32{
QMAKE_CXXFLAGS_DEBUG += -MTd
QMAKE_CFLAGS_DEBUG += -MTd
LIBS += -L$$PWD/../3rdparty/opencv/win/debug -lopencv_world3414d -lIlmImfd -littnotifyd -llibjasperd -llibjpeg-turbod -llibpngd -llibprotobufd \
-llibtiffd -llibwebpd -lquircd -lzlibd
}
DESTDIR += $$PWD/../bin/debug
LIBS += -L$$PWD/../bin/debug -lhgdev -lhgimgproc
}
CONFIG(release,debug|release){
win32{
QMAKE_CXXFLAGS_RELEASE += -MT
QMAKE_CFLAGS_RELEASE += -MT
LIBS += -L$$PWD/../3rdparty/opencv/win/release -lopencv_world3414 -lIlmImf -littnotify -llibjasper -llibjpeg-turbo -llibpng -llibprotobuf \
-llibtiff -llibwebp -lquirc -lzlib
}
LIBS += -L$$PWD/../bin/release -lhgdev -lhgimgproc
DESTDIR += $$PWD/../bin/release
}
win32{
DEFINES += _WIN32
}
SOURCES += \
CorrectParam.cpp \
MotorConfig.cpp \
main.cpp \
dialog.cpp
HEADERS += \
CameraParam.h \
CorrectParam.h \
MotorConfig.h \
dialog.h
FORMS += \
dialog.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target