qmake设置生成文件分类
在.pro里:
build_type = CONFIG(debug, debug|release) { build_type = debug } else { build_type = release } DESTDIR = $$build_type/out OBJECTS_DIR = $$build_type/obj MOC_DIR = $$build_type/moc RCC_DIR = $$build_type/rcc UI_DIR = $$build_type/ui
结果:
参考:http://www.qtbig.com/page/4/
长风破浪会有时,直挂云帆济沧海!
可通过下方链接找到博主
https://www.cnblogs.com/judes/p/10875138.html