AudioDecode.pro 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2019-11-14T10:38:31
  4. #
  5. #-------------------------------------------------
  6. QT += core gui charts
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = AudioDecode
  9. TEMPLATE = app
  10. # The following define makes your compiler emit warnings if you use
  11. # any feature of Qt which has been marked as deprecated (the exact warnings
  12. # depend on your compiler). Please consult the documentation of the
  13. # deprecated API in order to know how to port your code away from it.
  14. DEFINES += QT_DEPRECATED_WARNINGS
  15. # You can also make your code fail to compile if you use deprecated APIs.
  16. # In order to do so, uncomment the following line.
  17. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  18. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  19. # Default rules for deployment.
  20. qnx: target.path = /tmp/$${TARGET}/bin
  21. else: unix:!android: target.path = /opt/$${TARGET}/bin
  22. !isEmpty(target.path): INSTALLS += target
  23. CONFIG += c++11
  24. UI_DIR = obj/Gui
  25. MOC_DIR = obj/Moc
  26. OBJECTS_DIR = obj/Obj
  27. #将输出文件直接放到源码目录下的bin目录下,将dll都放在了次目录中,用以解决运行后找不到dll的问
  28. #DESTDIR=$$PWD/bin/
  29. contains(QT_ARCH, i386) {
  30. message("32-bit")
  31. DESTDIR = $${PWD}/../..//bin/win32
  32. } else {
  33. message("64-bit")
  34. DESTDIR = $${PWD}/../../bin/win64
  35. }
  36. include($$PWD/../../lib/lib.pri)
  37. #包含音频解码的代码
  38. include(AudioDecoder/AudioDecoder.pri)
  39. SOURCES += \
  40. src/main.cpp \
  41. src/AppConfig.cpp \
  42. src/Base/FunctionTransfer.cpp \
  43. src/MainWindow.cpp
  44. HEADERS += \
  45. src/AppConfig.h \
  46. src/Base/FunctionTransfer.h \
  47. src/MainWindow.h
  48. FORMS += \
  49. src/MainWindow.ui