How to use Viusal Studio (MSVC) to configure VScode

Article directory About MSVC preparation conditions Configure environment variables Environment variable names and values that need to be configured How to set your own environment variables Configure VScode Configure build tasks Generate task.json file Configure debug settings Reference article: https://blog.csdn.net/heilone6688/article/details/91050508 About MSVC It is the official default help us download and configure when we download […]

QCefView compilation configuration (Windows-MSVC) (11)

QCefView compilation configuration (Windows-MSVC) Article directory QCefView compilation configuration (Windows-MSVC) 1 Overview 2. Preparation 3. Add environment variables 4. Replace the cef source code version 5. CMake build 6. Compile with Visual Studio 7. Install the compiled files 8. Verify the compilation result More exciting content Personal content classification summary Qt – Web Hybrid Development […]

[Solved] Chinese error report when QT uses MSVC compiler

BUG In QT, if the compiler is MSVC, there may be exceptions in Chinese by default! For example, the word “name”: QString a=”Name”; qDebug()<<“name”; QMessageBox::information(NULL,”name”,””); The above and other operations will report an error and cannot be compiled, and the error message is: Continue the test and find that “name”, “famous doctor”, “famous book”, etc. […]

[Solved] Regression, classification problems – linear model solutions (LinearRegression, Ridge regression, Lasso, Logistic regression, LinearSVC, etc. with pictures)

Article table of contents Linear model Linear Models for Regression Problems LinearRegression Ridge Regression Lasso returns Linear Models for Classification Problems LogisticRegression LinearSVC — Linear Support Vector Machine Summarize Linear Model Linear models are widely used in practice, and linear models make predictions using a linear function of the input features. Linear models for regression […]

[Solved] [When Qt uses MSVC to build, there is a Chinese error and garbled code. The solution is effective!

When Qt uses MSVC to build, there is a Chinese error and garbled code. The solution is effective! The problem of garbled characters, as shown below: Solution 1. In the file written in Chinese, add a line #pragma execution_character_set(“utf-8”) As shown: 2. At the same time, click Tools->External->Configure… in the menu bar, the Qt Creator […]

[Solved] vs debugging error error LNK2001: unresolved external symbol main file MSVCRT.lib(crtexe.obj)

A problem description The vs2013 debugger runs successfully in debug mode, and the error is reported when switching to the release version as follows: 1.error LNK2001: unresolved external symbol main file: MSVCRT.lib(crtexe.obj) Second Causes and Solutions 1 Reason The appropriate program entry function cannot be found when the program is running. The function entry is […]

[Solved] About QtCreator using the msvc2017x64 compiler to compile the project and report an error “the compiler’s heap space is insufficient” error solution

If the article is an original article, please indicate the source of the original text when reprinting Blog address of this article: https://hpzwl.blog.csdn.net/article/details/126202905 Red Fatty (Red Imitation)’s blog post: development technology collection (including Qt practical technology, Raspberry Pi, 3D, OpenCV, OpenGL, ffmpeg, OSG, MCU, software and hardware combination, etc.) is continuously updated… (click the portal) […]

[Solved] “Code execution cannot continue because MSVCP140.dll was not found, reinstalling the program may resolve the problem, etc.” Solutions

Regarding the problem of “Cannot continue code execution because MSVCP140.dll was not found”, you can try the following solutions. Article table of contents For the “Code execution cannot continue because MSVCP140.dll was not found”, you can try the following solutions. Solution one Solution 2 Solution one Start the start menu, run and enter “cmd”, right-click […]