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
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.
Read More:
- Installation of Ubuntu + VTK
- Upgrading QT4 project to Qt5 project
- Expected unqualified ID before string constant
- JavaScript solves let statement error in code
- Using vtk8.1 in qcreator
- How to import Python from relative path
- insmod: init_module ‘hello.ko’ failed (Exec format error)
- caffe deep learning [three] compilation error: fatal error: hdf5.h: No such file or directory compilation terminated.
- Under win864 bit, install python, PyQt4 and sip. (final failure, only record)
- Clion MinGW super fast configuration OpenGL development environment
- Common mistakes and solutions of cmake + QT + VTK
- Qt5 when compiling VTK_ The solution of dir-notfound
- Bus error: 10
- Solutions to the failure of importing Python 3.7 SSL module
- Vtk7. X is compiled and installed under vs2013 and vs2015
- Php7 compiles collect2: error: LD returned 1 exit status
- Compiling TPC-H tools for Mac
- [VTK] cmake compiling VTK
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- Cmake compile opencv report error qtcore_ DIR QtOpenglDIR QtGui_ Dir ffmpeg loading failed