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. C1083: Cannot open include file: 'QGLWidget': no such file or directory
Forum Updated to NodeBB v4.3 + New Features

C1083: Cannot open include file: 'QGLWidget': no such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 2.9k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    Larissa F.
    wrote on 6 May 2017, 00:47 last edited by
    #1

    I already added opengl in *.pro file

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on 6 May 2017, 00:55 last edited by
      #2

      After modifying the .pro file re-run qmake (Build menu -> Run qmake) and rebuild your project.

      1 Reply Last reply
      2
      • L Offline
        L Offline
        Larissa F.
        wrote on 7 May 2017, 14:20 last edited by Larissa F. 5 Jul 2017, 14:22
        #3

        The previous error disappeared, but appeared another in mainwindow.h: C2061: syntax error: identifier 'GLWidget'.![alt text](0_1494166891169_upload-fbcebf59-ed8d-4df6-b831-dec7104e8fae image url)

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on 7 May 2017, 16:03 last edited by
          #4

          The image upload functionality in the forum does not work. Please upload image to some external site and provide a link, or just type the error here.

          L 1 Reply Last reply 7 May 2017, 16:38
          0
          • C Chris Kawa
            7 May 2017, 16:03

            The image upload functionality in the forum does not work. Please upload image to some external site and provide a link, or just type the error here.

            L Offline
            L Offline
            Larissa F.
            wrote on 7 May 2017, 16:38 last edited by Larissa F. 5 Jul 2017, 16:38
            #5

            @Chris-Kawa Error : C2061: syntax error: identifier 'GLWidget'

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Chris Kawa
              Lifetime Qt Champion
              wrote on 7 May 2017, 16:49 last edited by
              #6

              ...and could you post the line of code the error points to?

              1 Reply Last reply
              0

              1/6

              6 May 2017, 00:47

              • Login

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