Guest User

Untitled

a guest
Jul 10th, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. QT -= gui
  2.  
  3. QT += androidextras
  4.  
  5. CONFIG += c++11 console
  6. CONFIG -= app_bundle
  7.  
  8. # The following define makes your compiler emit warnings if you use
  9. # any Qt feature that has been marked deprecated (the exact warnings
  10. # depend on your compiler). Please consult the documentation of the
  11. # deprecated API in order to know how to port your code away from it.
  12. DEFINES += QT_DEPRECATED_WARNINGS
  13.  
  14. # You can also make your code fail to compile if it uses deprecated APIs.
  15. # In order to do so, uncomment the following line.
  16. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  17. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  18.  
  19. SOURCES += \
  20. main.cpp
  21.  
  22. # Default rules for deployment.
  23. qnx: target.path = /tmp/$${TARGET}/bin
  24. else: unix:!android: target.path = /opt/$${TARGET}/bin
  25. !isEmpty(target.path): INSTALLS += target
  26.  
  27. contains(ANDROID_TARGET_ARCH,x86) {
  28.  
  29. ANDROID_PACKAGE_SOURCE_DIR = \
  30. $$PWD/android
  31. }
  32.  
  33. DISTFILES += \
  34. android/AndroidManifest.xml \
  35. android/build.gradle \
  36. android/gradle/wrapper/gradle-wrapper.jar \
  37. android/gradle/wrapper/gradle-wrapper.properties \
  38. android/gradlew \
  39. android/gradlew.bat \
  40. android/res/values/libs.xml \
  41. android/src/com/training/kdab/MyService.java \
  42. android/src/com/training/kdab/MyBroadcastReceiver.java
Add Comment
Please, Sign In to add comment