1. Pro file configuration
TEMPLATE = app CONFIG += console CONFIG -= app_bundle CONFIG += qt QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets SOURCES += main.cpp include(deployment.pri) qtcAddDeployment()
win32:CONFIG(release, debug|release){
INCLUDEPATH += D:/Qt/VTK6.3.0/MinGW/release/include/vtk-6.3
DEPENDPATH += D:/Qt//VTK6.3.0/MinGW/release/include/vtk-6.3
LIBS += -LD:/Qt/VTK6.3.0/MinGW/release/lib\
libvtkInteractionImage-6.3 \
libvtkRenderingCore-6.3 \
libvtkRenderingOpenGL-6.3 \
libvtkInteractionStyle-6.3 \
libvtkalglib-6.3\
libvtkCommonCore-6.3 \
libvtkCommonDataModel-6.3\
libvtkCommonExecutionModel-6.3\
libvtkCommonSystem-6.3\
libvtkIOCore-6.3\
libvtkIOImage-6.3 \
libvtkIOLegacy-6.3\
libvtkViewsQt-6.3\
libvtkFiltersSources-6.3\
libvtkGUISupportQt-6.3\
libvtkGUISupportQtOpenGL-6.3\
libvtkRenderingQt-6.3\
libvtkFiltersCore-6.3\
libvtkCommonMisc-6.3\
libvtkfreetype-6.3\
libvtkRenderingFreeType-6.3\
libvtkFiltersModeling-6.3\
libvtkInteractionWidgets-6.3\
libvtkRenderingAnnotation-6.3\
libvtkRenderingLOD-6.3\
libvtkIOXML-6.3\
libvtkFiltersGeometry-6.3
}
else:win32:CONFIG(debug, debug|release){
INCLUDEPATH += D:/Qt/VTK6.3.0/MinGW/Debug/include/vtk-6.3
DEPENDPATH += D:/Qt//VTK6.3.0/MinGW/Debug/include/vtk-6.3
LIBS += -LD:/Qt/VTK6.3.0/MinGW/debug/lib\
libvtkInteractionImage-6.3d \
libvtkRenderingCore-6.3d \
libvtkRenderingOpenGL-6.3d \
libvtkInteractionStyle-6.3d \
libvtkalglib-6.3d\
libvtkCommonCore-6.3d \
libvtkCommonDataModel-6.3d\
libvtkCommonExecutionModel-6.3d\
libvtkCommonSystem-6.3d\
libvtkIOCore-6.3d\
libvtkIOImage-6.3d \
libvtkIOLegacy-6.3d\
libvtkViewsQt-6.3d\
libvtkFiltersSources-6.3d\
libvtkGUISupportQt-6.3d\
libvtkFiltersCore-6.3d\
libvtkCommonMisc-6.3d\
libvtkfreetype-6.3d\
libvtkRenderingFreeType-6.3d\
libvtkFiltersModeling-6.3d\
libvtkInteractionWidgets-6.3d\
libvtkRenderingAnnotation-6.3d\
libvtkRenderingLOD-6.3d\
libvtkIOXML-6.3d\
libvtkFiltersGeometry-6.3d
}
HEADERS += \ animateactors.h
Reproduced in: https://www.cnblogs.com/phoenixdsg/p/6117375.html
Read More:
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- Error lnk2038 occurred during PCL code compilation: detected “error” during PCL code compilation_ ITERATOR_ DEBUG_ Mismatch of level: value ‘0’ does not match value ‘2’ solution
- VS2010 library function problem: objidl. H (11266): error c2061: syntax error: identifier ‘__ RPC__ out_ xcount_ part’
- Vs2013 compiling ffmpeg
- Using vtk8.1 in qcreator
- Configuring OpenGL with win 10 + CodeBlocks
- Configuring OpenGL development environment in win10 + vs2015 (including the method of installing 32-bit and 64 bit libraries)
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- codeblocks ERROR: You need to specify a debugger program in the debuggers’s settings.
- Code blocks debugger debugger setup problem
- Git prompt error setting certificate verify locations
- [uboot]uboot 2019.04 port errors
- Error lnk2038: detected “0”_ ITERATOR_ DEBUG_ The reason and solution of the unmatched item of “level”
- Configuring OpenGL environment with code blocks16.0 in Windows 10
- Installation and use of OpenGL based on CodeBlocks
- Simulator:861 – Failed to link the design Process “Simulate Behavioral Model” failed
- Error c2061: syntax error: identifier ‘this_ FILE’
- Configuring OpenGL in Code:: blocks
- Solutions to the problem that CodeBlocks cannot be used