To do the interface but MFC is really, so decisive try Qt to achieve interface, Qt5.9.6 +VS2015+ OpenCV2.4.13
Software used: QT5.9.6
VS2015
Reference address: Qt5.7 + VS2015 environment structures, https://blog.csdn.net/liang19890820/article/details/53931813
VS2015 called QT small routines: https://blog.csdn.net/horizons_kong/article/details/53006047
Qt Creator and v + Qt some small notable difference at https://blog.csdn.net/qq295456059/article/details/52781726
1. Download and install VS2015 and QT5.9.6
Enter VS2015 official download page, download VS2015 Community Edition – Visual Studio Community.
When installing, remember to check the VC++ option of the programming language option, other directly default, as shown in the figure below, otherwise Qt may not detect the compiler, I have encountered this problem, I will record it later.
QT5.9.6 Download and install
Enter the official download page of Qt, I downloaded 5.9.6, you can choose the version, it is recommended to choose a newer version, I downloaded Qt – Opensource-Windows-x86-5.9.6. exe, click download can be.
Then install, default next step, but pay attention to the installation component selection, as shown in the figure below, MinGW and msvc2015-64bit(self-adjusting selection) be sure to check.
The other steps are the default next step. After installation, go to the Start screen and open Qt Creater.
2. Configure Qt Creator
Open Qt Creator, and the interface looks like this
To realize the mutual invocation of VS and Qt, you also need to configure Qt Creator. Click Tools ->; Options – & gt; Build and Run –
You need to configure the compiler, debugger, and so on. If C++ has been checked, the compiler will automatically detect VS2015. If you have not checked the “Visual C++” option when installing VS2015, the compiler will automatically detect VS2015.
Note: it doesn’t matter if it can’t be detected, do not uninstall and reinstall. You can modify it according to the following figure.
Enter the control panel ->; Programs and features, find Microsoft Visual Studio Community 2015 Updates, right-click and select “Change”.
Then check VC++ again as mentioned before. At this point, you can be surprised to find a compiler
Click on the Build Suite in the following image. You can see the warning symbol displayed in front of the build suite that is automatically detected. The debugger section shows “None”, indicating that the debugger has not been configured.
3. Configure the debugger
The debugger is not available by default, but again, it is necessary to download the Windbg manually. The debugger download address: https://www.microsoft.com/zh-cn/p/windbg-preview/9pgjgd53tn86?rtc=1
Then install can be, install the following tick, the default installation
As long as you can implement the following image, detect the Debugger in the Debugger is automatically detected
4. Configuration VS
To implement VS call Qt, you need to install the related plug-in, as shown in the figure below.
Select: online, search the keyword “Qt”, and relevant plug-ins will appear, as shown in the figure below. Select to download:
When you’re done, you’ll find Qt VS Tools in the menu bar
5. Configuration of QT
Select: Qt VS Tools ->; Qt Options, configuring Qt 5.7. Click “Add” button, Path select D:\ QT \ QT5.7.1 \5.7\ MSVC2015_64, then click “OK” to save.
Note: Unable to find a Qt build! Will appear when creating a Qt project if Qt is not configured. error
The following figure
Here, VS2015 + QT5.9.6 configuration is completed, the next blog, write how to use QT in VS interface
— — — — — — — — — — — — — — — — — — — — —
the author: students with excellent grades home occupy
source: CSDN
the original: https://blog.csdn.net/guanzhen3657/article/details/81486116
copyright statement: this article original articles for bloggers, reproduced please attach link to blog!
Software used: QT5.9.6
VS2015
Reference address: Qt5.7 + VS2015 environment structures, https://blog.csdn.net/liang19890820/article/details/53931813
VS2015 called QT small routines: https://blog.csdn.net/horizons_kong/article/details/53006047
Qt Creator and v + Qt some small notable difference at https://blog.csdn.net/qq295456059/article/details/52781726
1. Download and install VS2015 and QT5.9.6
Enter VS2015 official download page, download VS2015 Community Edition – Visual Studio Community.
When installing, remember to check the VC++ option of the programming language option, other directly default, as shown in the figure below, otherwise Qt may not detect the compiler, I have encountered this problem, I will record it later.
QT5.9.6 Download and install
Enter the official download page of Qt, I downloaded 5.9.6, you can choose the version, it is recommended to choose a newer version, I downloaded Qt – Opensource-Windows-x86-5.9.6. exe, click download can be.
Then install, default next step, but pay attention to the installation component selection, as shown in the figure below, MinGW and msvc2015-64bit(self-adjusting selection) be sure to check.
The other steps are the default next step. After installation, go to the Start screen and open Qt Creater.
2. Configure Qt Creator
Open Qt Creator, and the interface looks like this
To realize the mutual invocation of VS and Qt, you also need to configure Qt Creator. Click Tools ->; Options – & gt; Build and Run –
You need to configure the compiler, debugger, and so on. If C++ has been checked, the compiler will automatically detect VS2015. If you have not checked the “Visual C++” option when installing VS2015, the compiler will automatically detect VS2015.
Note: it doesn’t matter if it can’t be detected, do not uninstall and reinstall. You can modify it according to the following figure.
Enter the control panel ->; Programs and features, find Microsoft Visual Studio Community 2015 Updates, right-click and select “Change”.
Then check VC++ again as mentioned before. At this point, you can be surprised to find a compiler
Click on the Build Suite in the following image. You can see the warning symbol displayed in front of the build suite that is automatically detected. The debugger section shows “None”, indicating that the debugger has not been configured.
3. Configure the debugger
The debugger is not available by default, but again, it is necessary to download the Windbg manually. The debugger download address: https://www.microsoft.com/zh-cn/p/windbg-preview/9pgjgd53tn86?rtc=1
Then install can be, install the following tick, the default installation
As long as you can implement the following image, detect the Debugger in the Debugger is automatically detected
4. Configuration VS
To implement VS call Qt, you need to install the related plug-in, as shown in the figure below.
Select: online, search the keyword “Qt”, and relevant plug-ins will appear, as shown in the figure below. Select to download:
When you’re done, you’ll find Qt VS Tools in the menu bar
5. Configuration of QT
Select: Qt VS Tools ->; Qt Options, configuring Qt 5.7. Click “Add” button, Path select D:\ QT \ QT5.7.1 \5.7\ MSVC2015_64, then click “OK” to save.
Note: Unable to find a Qt build! Will appear when creating a Qt project if Qt is not configured. error
The following figure
Here, VS2015 + QT5.9.6 configuration is completed, the next blog, write how to use QT in VS interface
— — — — — — — — — — — — — — — — — — — — —
the author: students with excellent grades home occupy
source: CSDN
the original: https://blog.csdn.net/guanzhen3657/article/details/81486116
copyright statement: this article original articles for bloggers, reproduced please attach link to blog!
Read More:
- VTK + QT + vs compilation and installation configuration
- QT learning 3: configuration and testing of QT creator 2.4.1 development environment
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- Vs + QT reports an error “vs cannot open the source file qchartview”
- Configuration, compilation and installation of vtk8.1 in qt5.9
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- Can not start, can not find QT pligins “windows” problem after installing QT vs environment 2021-06-13
- Vtk8.0 compilation process record under vs2017 and qt5.12.1
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- OpenGL Programming Guide 8th Edition 9th Edition vs2015 vs2017 configuration method
- Vs configuration of OpenGL development environment: configuration of glfw library and glad Library
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- (64 bit) OpenGL configuration + vs2017 + glew + glfw
- Vs2015 + PCL. 1.8.1 (win10) environment configuration
- Some configuration problems of OpenGL in VS2008
- Construction of vs2015 OpenGL configuration environment
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- OpenGL class library and environment configuration under win10 and vs2015
- Environment configuration at the beginning of OpenCV + vs2015
- Compiling QT project under vs encountered “error 89error msb6006:“ cmd.exe ”Exited with code 3