Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. QT += core gui network
  2.  
  3. TARGET = QUdpSocket
  4.  
  5. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  6.  
  7. CONFIG += c++11
  8. CONFIG += console
  9. CONFIG -= app_bundle
  10.  
  11. TEMPLATE = app
  12.  
  13. QMAKE_CXXFLAGS += -std=c++11
  14.  
  15. # The following define makes your compiler emit warnings if you use
  16. # any Qt feature that has been marked deprecated (the exact warnings
  17. # depend on your compiler). Please consult the documentation of the
  18. # deprecated API in order to know how to port your code away from it.
  19. DEFINES += QT_DEPRECATED_WARNINGS
  20.  
  21. # You can also make your code fail to compile if it uses deprecated APIs.
  22. # In order to do so, uncomment the following line.
  23. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  24. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  25.  
  26. SOURCES += \
  27. joystick.cc \
  28. joystickreader.cpp \
  29. main.cpp \
  30. mainwindow.cpp \
  31. myudp.cpp
  32.  
  33. HEADERS += \
  34. joystick.hh \
  35. joystickreader.h \
  36. mainwindow.h \
  37. myudp.h
  38.  
  39. FORMS += \
  40. mainwindow.ui
  41.  
  42. # Default rules for deployment.
  43. qnx: target.path = /tmp/$${TARGET}/bin
  44. else: unix:!android: target.path = /opt/$${TARGET}/bin
  45. !isEmpty(target.path): INSTALLS += target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement