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

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
  • 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 last edited by
    #1

    I already added opengl in *.pro file

    1 Reply Last reply
    0
    • Chris KawaC Online
      Chris KawaC Online
      Chris Kawa
      Lifetime Qt Champion
      wrote on 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 last edited by Larissa F.
        #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
        • Chris KawaC Online
          Chris KawaC Online
          Chris Kawa
          Lifetime Qt Champion
          wrote on 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
          0
          • Chris KawaC Chris Kawa

            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 last edited by Larissa F.
            #5

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

            1 Reply Last reply
            0
            • Chris KawaC Online
              Chris KawaC Online
              Chris Kawa
              Lifetime Qt Champion
              wrote on last edited by
              #6

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

              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