Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.7 minGW opengl function linking error
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7 minGW opengl function linking error

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 439 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    djvi
    wrote on last edited by djvi
    #1

    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 = app

    SOURCES += 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.cpp

    HEADERS += 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.h

    FORMS += widget.ui

    RESOURCES +=
    ressources.qrc
    ressources.qrc

    DISTFILES +=

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved