[3rd-Party Apps] 使用QtCreator编写程序卡顿
Tofloor
poster avatar
h***[email protected]
deepin
2023-08-02 19:00
Author

请问大家,我将deepin系统安装到虚拟机上,分配了6G内存,6个处理器核心。我使用qtcreator编写程序,但是感觉一点也不流畅,比如即使调整了代码补全的时间至100ms,但是显示代码补全的速度依然很慢。又或者编写完一行代码后,代码的颜色要过一两秒钟才能显示成正常的代码颜色。请问有遇到过这种问题吗?如果遇到过,请问又是怎么解决的呢?

Reply Favorite View the author
All Replies
redmibook
deepin
2023-08-02 19:05
#1

不要在「虚拟机上」使用 deepin,这与你分配多少资源没有关系。

你的问题,无法解决。

Qt 本身是跨平台的,QtCreator 编写的程序仅需在 linux 上编译一下即可出包,特别在 Linux 下写代码没有必要。

Reply View the author
h***[email protected]
deepin
2023-08-02 19:18
#2
redmibook

不要在「虚拟机上」使用 deepin,这与你分配多少资源没有关系。

你的问题,无法解决。

Qt 本身是跨平台的,QtCreator 编写的程序仅需在 linux 上编译一下即可出包,特别在 Linux 下写代码没有必要。

请问我需要使用linux的一些信息,比如获取一些硬件信息等,特别是调试,这个时候我应该怎样配置才能在windows下编写代码并完成调试呢?

还是说我使用samba服务,只是在windows上编写程序,但是调试在linux上进行?

Reply View the author
fuuko
deepin
2023-08-02 19:20
#3

在控制中心里把窗口特效关了

Reply View the author
h***[email protected]
deepin
2023-08-02 19:23
#4
fuuko

在控制中心里把窗口特效关了

现在已经是关闭的状态了。

Reply View the author
bluesky_
deepin
2023-08-02 19:29
#5

虚拟机就是这样的,无解

Reply View the author
阿尼樱奈奈
Moderator
2023-08-02 19:42
#6

建议还是用实体机试试。

Reply View the author
affoto
deepin
2023-08-02 19:53
#7

实体机安装使用还行。

Reply View the author
👀偷偷观察
deepin
2023-08-02 19:57
#8

你多给点显存啊

Reply View the author
h***[email protected]
deepin
2023-08-02 21:48
#9
👀偷偷观察

你多给点显存啊

给了1G显存。

Reply View the author
h***[email protected]
deepin
2023-08-02 21:49
#10
👀偷偷观察

你多给点显存啊

用这个环境开发,用虚拟机方便一点,没有一个单独的机器。

Reply View the author
h***[email protected]
deepin
2023-08-02 21:49
#11
阿尼樱奈奈

建议还是用实体机试试。

用这个环境开发,用虚拟机方便一点。

Reply View the author
yohow
deepin
2023-08-03 10:33
#12

把clangcodemodel的插件关了,这样代码提示会快很多。

Reply View the author
h***[email protected]
deepin
2023-08-15 17:55
#13
yohow

把clangcodemodel的插件关了,这样代码提示会快很多。

我发现关了以后,有好多应该提示的不提示了,比如使用boost库的时候,打开之后就可以了,但是打开这个插件提示就反应慢很多。比如写完一句代码,后面还没有输入分号,会提示输入分号,但是我输入分号后好几秒钟该提示才会消失,就比较烦人。

Reply View the author