Tag Archives: The source code

[181124] VC + + use OpenGL to draw 3D graphics example source code

Download the source code
In VC++6.0 using OpenGL drawing 3D graphics example source code, source code is more complex, it can draw 3D three-dimensional renderings, cuboids, cubes, etc., its function is similar to a simple 3D drawing tools, there are other functions, you can download a compilation to explore what it is!
Source download address: click to download
Alternate download address: click download

Compile QT source code error causes and Solutions

Qt source code compilation error:
1. Source code path contains Chinese font
2. No such file or directory can be found at compile time.
Solution:
1. Change to English path
2. When compiling the source code, add QT += widgets at the bottom of the project file. Pro.

Baidu Answer Question 2:
Write in the pro qt + = widgets QtWidget this module, introduced said, qmake will help you to generate a makefile, set up the include path and lib path, when the link set libs.
include

QApplication> Only the declaration is introduced, but there is no lib, so the link will fail.