Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Syntax error in qtcontiguouscache.h and qglbuffer.h in 4.7.4

    Installation and Deployment
    1
    1
    1662
    Loading More Posts
    • 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.
    • W
      winspear last edited by

      1>c:\qt\4.7.4\include\qtcore../../src/corelib/tools/qcontiguouscache.h(72) : error C2059: syntax error : 'new'
      1>c:\qt\4.7.4\include\qtcore../../src/corelib/tools/qcontiguouscache.h(72) : error C2238: unexpected token(s) preceding ';'
      1>c:\qt\4.7.4\include\qtopengl../../src/opengl/qglbuffer.h(116) : error C2059: syntax error : 'new'
      1>c:\qt\4.7.4\include\qtopengl../../src/opengl/qglbuffer.h(116) : error C2238: unexpected token(s) preceding ';'
      1>c:\qt\4.7.4\include\qtopengl../../src/opengl/qglbuffer.h(117) : error C2059: syntax error : 'new'
      1>c:\qt\4.7.4\include\qtopengl../../src/opengl/qglbuffer.h(117) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body

      I have been using 4.5.1 with VC 2005 to develop a OpenGL widget in QT and everything ran smoothly and we successfully made releases of the widget.
      Now I am trying to compile the same code on QT 4.7.4 with VC 2008 and it throws me the errors seen above.
      Any help on finding out what function is creating this error will help. I have been trying to figure this out for ages and I am just losing my patience with QT.

      Thanks for the help.

      V

      1 Reply Last reply Reply Quote 0
      • First post
        Last post