AudioDecode.pro 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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/bin32
  32. } else {
  33. message("64-bit")
  34. DESTDIR = $${PWD}/bin/bin64
  35. }
  36. #包含音频解码的代码
  37. include(AudioDecoder/AudioDecoder.pri)
  38. SOURCES += \
  39. src/main.cpp \
  40. src/AppConfig.cpp \
  41. src/Base/FunctionTransfer.cpp \
  42. src/MainWindow.cpp
  43. HEADERS += \
  44. src/AppConfig.h \
  45. src/Base/FunctionTransfer.h \
  46. src/MainWindow.h
  47. FORMS += \
  48. src/MainWindow.ui