16,691
社区成员
发帖
与我相关
我的任务
分享
在Qt creator中目录结构如下:
转换成Vs 工程后,目录结构如下:
请问我该如何保持目录结构。
这是pro文件:
PROJECT_NAME = first
TARGET = $${PROJECT_NAME}
TEMPLATE = app
HEADERS += $$PWD/widget.h \
$$PWD/audiothread.h \
pcmdatabuffer/pcmdatabuffer.h \
plot/plot.h
SOURCES += $$PWD/widget.cpp \
$$PWD/main.cpp \
$$PWD/audiothread.cpp \
pcmdatabuffer/pcmdatabuffer.cpp
FORMS += $$PWD/widget.ui
CONFIG += qt \
warn_on \
debug_and_release \
build_all \
c++14
QT += widgets core gui
TARGET_SUFFIX =
BUILD_TYPE = release
build_pass:CONFIG(debug, debug | release) {
TARGET_SUFFIX = _dbg
BUILD_TYPE = debug
TARGET = $$join(TARGET, , , $${TARGET_SUFFIX})
DEFINES += _DEBUG \
DEBUG
}
OBJECTS_DIR = $$quote($$OUT_PWD/../tmp/$${TARGET})
DESTDIR = $$quote($$OUT_PWD/../bin/$${BUILD_TYPE})
include($$PWD/../Component/ffmpeg/ffmpeg.pri)
include($$PWD/../Common/qcustomplot/qcustomplot.pri)