qmlApp.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. QT += quick
  2. CONFIG += c++11
  3. # The following define makes your compiler emit warnings if you use
  4. # any Qt feature that has been marked deprecated (the exact warnings
  5. # depend on your compiler). Refer to the documentation for the
  6. # deprecated API to know how to port your code away from it.
  7. DEFINES += QT_DEPRECATED_WARNINGS
  8. # You can also make your code fail to compile if it uses deprecated APIs.
  9. # In order to do so, uncomment the following line.
  10. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  11. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  12. SOURCES += \
  13. main.cpp \
  14. qappctrl.cpp
  15. RESOURCES += qml.qrc
  16. # Additional import path used to resolve QML modules in Qt Creator's code model
  17. QML_IMPORT_PATH =
  18. # Additional import path used to resolve QML modules just for Qt Quick Designer
  19. QML_DESIGNER_IMPORT_PATH =
  20. CONFIG(debug, debug|release) {
  21. QMAKE_CXXFLAGS -= -Os -pthread
  22. QMAKE_CFLAGS -= -Os -pthread
  23. QMAKE_CXXFLAGS += -D_DEBUG
  24. QMAKE_CFLAGS += -D_DEBUG
  25. QMAKE_LIBS += -lgfaipcd -pthread
  26. }
  27. CONFIG(release, debug|release) {
  28. QMAKE_LIBS += -lgfaipc -pthread
  29. }
  30. linux-buildroot-g++ {
  31. QMAKE_CXXFLAGS += -D_TARGET_BUILD
  32. QMAKE_CFLAGS += -D_TARGET_BUILD
  33. target.path += /opt/GfA/ipc/test
  34. INSTALLS += target
  35. }
  36. HEADERS += \
  37. qappctrl.h