ivweb.pro 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. QT -= gui
  2. QT += network dbus
  3. CONFIG += c++11 console
  4. CONFIG -= app_bundle
  5. QMAKE_LFLAGS += -no-pie
  6. QMAKE_CXXFLAGS += -g
  7. # The following define makes your compiler emit warnings if you use
  8. # any Qt feature that has been marked deprecated (the exact warnings
  9. # depend on your compiler). Please consult the documentation of the
  10. # deprecated API in order to know how to port your code away from it.
  11. DEFINES += QT_DEPRECATED_WARNINGS
  12. # You can also make your code fail to compile if it uses deprecated APIs.
  13. # In order to do so, uncomment the following line.
  14. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  15. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  16. SOURCES += \
  17. ../../include/msgtype/fault.pb.cc \
  18. ../../include/msgtype/log.pb.cc \
  19. main.cpp \
  20. moduleunit.cpp \
  21. requesthandler.cpp
  22. system("sysarch=$(dpkg --print-architecture) ;rm ../../..//thirdpartylib/QtWebApp/lib/*.so*;unzip ../../../thirdpartylib/QtWebApp/lib/$sysarch/lib.zip -d ../../..//thirdpartylib/QtWebApp/lib; ")
  23. # Default rules for deployment.
  24. qnx: target.path = /tmp/$${TARGET}/bin
  25. else: unix:!android: target.path = /opt/$${TARGET}/bin
  26. !isEmpty(target.path): INSTALLS += target
  27. HEADERS += \
  28. ../../include/msgtype/fault.pb.h \
  29. ../../include/msgtype/log.pb.h \
  30. ../../include/msgtype/uradar.pb.h \
  31. moduleunit.h \
  32. requesthandler.h
  33. INCLUDEPATH += $$PWD/httpserver
  34. INCLUDEPATH += $$PWD/logging
  35. LIBS += -L$$PWD/../../..//thirdpartylib/QtWebApp/lib -lQtWebAppHttpServer
  36. INCLUDEPATH += $$PWD/../../include/msgtype
  37. LIBS += -lprotobuf -lyaml-cpp
  38. INCLUDEPATH += $$PWD/../../../include/
  39. LIBS += -L$$PWD/../../../bin/ -lxmlparam -lmodulecomm -livlog -livfault -livexit -livbacktrace