Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Include C++ libraries in precompiled header doesn't work with glew

$
0
0
Hi, I have a very special issue: I want to use Qt Creator Plain C++ Project for OpenGL development. I am using glew and SDL 2. I also set up a precompiled header (global.h) in the pro file. Everything works just fine, but I can’t include iostream, vector or any other c++ header in global.h. Compiler error is: iostream: No such file or directory.( C headers like stdio.h works ). When is remove the glew source files from the project it works again. I am using SDL 2 development libraries and for glew I added the source code to the project. It seams a pretty nasty bug or maybe I just did something wrong.

Viewing all articles
Browse latest Browse all 2113

Trending Articles