server.pro 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++11
  4. # The following define makes your compiler emit warnings if you use
  5. # any Qt feature that has been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if it uses deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. MOC_DIR = tmp/moc
  14. OBJECTS_DIR = tmp/obj
  15. SOURCES += \
  16. main.cpp \
  17. mainwindow.cpp \
  18. TcpServerPage.cpp \
  19. UdpServerPage.cpp \
  20. HttpServerPage.cpp
  21. HEADERS += \
  22. customevent.h \
  23. mainwindow.h \
  24. TcpServerPage.h \
  25. UdpServerPage.h \
  26. HttpServerPage.h
  27. win32 {
  28. # INCLUDEPATH += C:\libhv\include
  29. # LIBS += -LC:\libhv\lib -lhv
  30. INCLUDEPATH += ../../../build/mingw64/include
  31. LIBS += -L../../../build/mingw64/lib -lhv
  32. LIBS += -lws2_32
  33. }
  34. unix {
  35. # INCLUDEPATH += /usr/local/include
  36. # LIBS += -L/usr/local/lib -lhv
  37. INCLUDEPATH += ../../../include
  38. LIBS += -L../../../lib -lhv
  39. }