Qt 5.7 minGW opengl function linking error
-
Hi,
I don't know if its the right place to post about a linking error and if so I'm sorry about it.
When compiling my project, the following errors appears :
undefined reference to `_imp__glDrawArrays@12'But even though I think I understand why it happen, I have no idea how to solve the issue and help would be welcome.
.pro :
#-------------------------------------------------Project created by QtCreator 2015-07-08T09:27:18
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TARGET = 3dQualityControl
TEMPLATE = appSOURCES += main.cpp
widget.cpp
customapplication.cpp
custommenubar.cpp
parameter.cpp
camera3d.cpp
input.cpp
openglwidget.cpp
transform3d.cpp
vramdatamanager.cpp
measure.cpp
verticeram.cpp
verticevram.cpp
gradientinterval.cpp
sizeparametersettingdialog.cpp
segment.cpp
applicationmodel.cpp
measurefile.cpp
treemodel.cpp
treeitem.cpp
treeitemdata.cpp
treeitemdatal2.cpp
treeitemlist.cpp
layer.cpp
resizableiconpushbutton.cpp
treefilter.cpp
octree.cpp
qcustomplot.cpp
usefullfunction.cpp
aaboundingbox.cpp
selectiongroup.cppHEADERS += widget.h
customapplication.h
custommenubar.h
parameter.h
camera3d.h
input.h
openglwidget.h
transform3d.h
vramdatamanager.h
measure.h
verticeram.h
verticevram.h
gradientinterval.h
sizeparametersettingdialog.h
segment.h
applicationmodel.h
measurefile.h
treemodel.h
treeitem.h
treeitemdata.h
treeitemdatal2.h
treeitemlist.h
layer.h
resizableiconpushbutton.h
treefilter.h
octree.h
qcustomplot.h
usefullfunction.h
aaboundingbox.h
selectiongroup.hFORMS += widget.ui
RESOURCES +=
ressources.qrc
ressources.qrcDISTFILES +=