Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
colorEagleStdio
taskbus
提交
0c6fdfcf
taskbus
项目概览
colorEagleStdio
/
taskbus
通知
162
Star
11
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
taskbus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
0c6fdfcf
编写于
4月 18, 2022
作者:
D
dev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add Filter Prj
上级
fb1ef557
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
7 deletion
+12
-7
modules/transforms/CMakeLists.txt
modules/transforms/CMakeLists.txt
+1
-0
modules/transforms/filter_fir/CMakeLists.txt
modules/transforms/filter_fir/CMakeLists.txt
+1
-1
modules/wrappers/wrapper_stdio/CMakeLists.txt
modules/wrappers/wrapper_stdio/CMakeLists.txt
+1
-0
modules/wrappers/wrapper_stdio/dlgwrpstdio.cpp
modules/wrappers/wrapper_stdio/dlgwrpstdio.cpp
+9
-6
未找到文件。
modules/transforms/CMakeLists.txt
浏览文件 @
0c6fdfcf
...
...
@@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.5)
add_subdirectory
(
mod_fm
)
add_subdirectory
(
transform_fft
)
add_subdirectory
(
filter_fir
)
modules/transforms/filter_fir/CMakeLists.txt
浏览文件 @
0c6fdfcf
...
...
@@ -13,7 +13,7 @@ find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
include_directories
(
${
TASKBUS_INTERFACEDIR
}
)
set
(
PRJ_SOURCES
main.cpp
filter_fir.cpp
info.qrc
)
#############Target======================
...
...
modules/wrappers/wrapper_stdio/CMakeLists.txt
浏览文件 @
0c6fdfcf
...
...
@@ -20,6 +20,7 @@ set(PRJ_SOURCES
main.cpp
dlgwrpstdio.cpp
listen_thread.cpp
resource.qrc
)
set
(
PRJ_FORMS
dlgwrpstdio.ui
...
...
modules/wrappers/wrapper_stdio/dlgwrpstdio.cpp
浏览文件 @
0c6fdfcf
...
...
@@ -123,11 +123,11 @@ bool DlgWrpStdio::cmd_start()
{
if
(
m_process
->
state
()
!=
QProcess
::
NotRunning
)
return
false
;
const
QString
cmdline
=
ui
->
lineEdit_prgPath
->
text
();
const
QString
exe
=
ui
->
lineEdit_prgPath
->
text
();
const
QString
cmd
=
ui
->
lineEdit_parasec
->
text
();
//QStringList lstCmds = split_cmd(cmdline);
QStringList
lstCmds
=
split_cmd
(
cmdline
);
m_process
->
setProgram
(
cmdline
);
//m_process->setProgram(cmdline);
//设置当前路径
QDir
::
setCurrent
(
ui
->
lineEdit_workingDir
->
text
());
...
...
@@ -152,8 +152,11 @@ bool DlgWrpStdio::cmd_start()
env
.
insert
(
skey
,
sval
);
}
m_process
->
setProcessEnvironment
(
env
);
m_process
->
setArguments
(
lstCmds
);
m_process
->
start
();
//m_process->setArguments(lstCmds);
QString
command
=
exe
;
if
(
cmd
.
size
())
command
+=
" "
+
exe
;
m_process
->
startCommand
(
command
);
return
true
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录