当前位置:网站首页>Visual studio 2019-qt debugging
Visual studio 2019-qt debugging
2022-07-19 02:18:00 【hjl011006】
Download plug-ins
open vs

Expand -> Manage extensions -> Search for Qt VS Tools-> Install the first one

close
newly build

Running results

The code problem
The first solution
#include "qtwidgets.h"
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QtWidgets w;
w.setWindowTitle(u8" The first window ");// To utf-8 code
w.show();
return a.exec();
}
The second solution :
Open compiled file , Notepad open -> Save as -> Change the encoding format to include bom Of utf-8 Format preservation
The third solution :
Download plug-ins ; Download the third

边栏推荐
- Clion installation and ROS development to realize automatic prompt completion
- LeetCode:动态规划中的0-1背包问题【快来直接套模板啦】
- Oozie 集成 Shell
- RuntimeError_ Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor)
- Build Ozzie environment
- 【Unity面板属性扫盲】导入纹理后设置Texture Import Settings
- Line process of pool components
- 成信大ENVI_IDL第一周实验测试:数组的简单运算+详细解析
- 【工具篇】Unity快速上手制作2D和2.5D游戏的神器TileMap
- [dynamic planning hundred questions strengthening plan] 1~10 (continuously updating)
猜你喜欢

STL--stack容器

gdb+vscode进行调试4——gdb执行相关命令

ENVI_ Idl: read the NO2 column content of all OMI products and calculate the monthly average, quarterly average, annual average + analysis

Gdb+vscode for debugging 0 - environment configuration

YYDS! The latest distributed core technology notes summarized by Alibaba technical officers have been launched, which can be regarded as a blessing

BladeX——精心设计的微服务架构

DoubleDQN的理论基础及其代码实现【Pytorch + Pendulum-v0】

Gdb+vscode for debugging 2 - GDB breakpoint related

笔记一之IDL基础内容:常用数据类型_创建数组_类型转换_print输出_基本运算_关系运算

Unity导入fbx模型后,运行时物体的旋转和位置自动改变的问题解决方法
随机推荐
ENVI_IDL:批量拼接Modis Swath的逐日数据并输出为Geotiff格式
Cookie和Session的区别
第二讲 BTC-密码学原理(笔记)
DQN理论基础及其代码实现【Pytorch + CartPole-v0】
ENVI_ Idl: read the NO2 column content of all OMI products and calculate the monthly average, quarterly average, annual average + analysis
Clion installation and ROS development to realize automatic prompt completion
《Visual C#从入门到精通》个人学习整理
Build map reduce development environment
Engineering compilation: makefile and cmake (I)
成信大ENVI_IDL第三周课堂内容1:读取OMI数据(HDF5文件)以及输出+解析
[unity panel attribute literacy] set texture import settings after importing textures
gdb+vscode进行调试1——使用CMakelist文件进行编译和调试+附加进程调试
[unity Editor Extension] the pre-processing and post-processing pictures of unity assets are automatically transferred to sprite2d
保留两位小数,并向上取值
第1章-多智能体系统
STL--deque容器
ENVI_ Idl: read the text file and output it in GeoTIFF format + simple mean interpolation
Build Ozzie environment
简述特征工程及其sklearn的实现
【HDRP高清渲染管道】创建HDRP工程,把内置管线工程升级为HDRP工程