当前位置:网站首页>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

边栏推荐
- 成信大ENVI_IDL第三周课堂内容1:读取OMI数据(HDF5文件)以及输出+解析
- STL--stack容器
- Foo bar 什么鬼?
- 搭建Spark on yarn环境
- 【HSJFramework】Unity时间管理TimeManger计时器
- gdb+vscode进行调试2——gdb断点相关
- ENVI_ Idl: batch process the re projection of MODIS swath data and output it to GeoTIFF format + detailed analysis
- 【动态规划百题强化计划】1~10(持续更新中)
- 【工具篇】Unity屏幕画线,Unity屏幕画图HSJ绘画工具
- VS Code 问题:launch:program‘...\.vscode\launch.exe‘ dose not exist
猜你喜欢

散列表、布隆过滤器、分布式一致性hash

【Unity编辑器扩展】显示资源目录下所有文件所占内存大小

成信大ENVI_IDL第三周课堂内容1:读取OMI数据(HDF5文件)以及输出+解析

第1章-多智能体系统

vscode+ros2环境配置

Installing MySQL and JDBC on Windows

【解决方案】win11中本地组策略编辑器(gpedit.msc)打不开

ENVI_IDL:批量对Modis Swath产品进行均值运算+解析

【Unity编辑器扩展】Unity资产预处理和后处理图片自动转Sprite2D

Chapter 2 - system control principle - > classical control theory
随机推荐
信号与系统实验
保留两位小数,并向上取值
Build Ozzie environment
gdb+vscode进行调试4——gdb执行相关命令
gdb+vscode进行调试——release版本如何调试
Visual Studio 2019-QT调试
STL--map容器
[tools] unity screen drawing line, unity screen drawing Hsj drawing tool
Build hue environment
动态规划 - 01背包问题
Configure map reduce workflow in oozie
Unity3D 游戏人物跳跃落地时发生弹跳,偏移情况的解决方法
Set up sqoop environment
ENVI_IDL:批量拼接Modis Swath的逐日数据并输出为Geotiff格式
池式组件之内存池篇
Swagger——世界上最流行的Api框架
【Unity编辑器扩展】Unity内部Asset资源配置ScriptableObject
close 和 shutdown区别
【工具篇】SQLite本地数据库在Unity3D的应用
Leetcode 1: Two Sum