Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Syntax error in qtcontiguouscache.h and qglbuffer.h in 4.7.4

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

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.7k 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.
  • W Offline
    W Offline
    winspear
    wrote on last edited by
    #1

    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
    0

    • Login

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