Re: Problem with include of windows.h
There shouldn't be any problem how do you include it?
Re: Problem with include of windows.h
hi, i include it so
#inlcude <windows.h>
i checked out that the error occurs only when i add the windows.h include after other includes or in other cpp files like this for example...
#include "defines.h"
#include <windows.h>
int main(int argc, char *argv[])
{
....
i cannot understand why it is not working.
I tested it with a C++ projekt (not Qt) and there is no problem...
Re: Problem with include of windows.h
I dont see a problem but try to use it in a different application on QT
Re: Problem with include of windows.h
with another qt project i got no errors.
now i will generate automatically the .pro of the project , maybe there could be an error
Re: Problem with include of windows.h
The auto generated .pro doesn't help.
After that i moved the include before the header include of my .cpp file. now it works.
... strange ....
#include <windows.h>
#include "MyClass.h"
Thank you for your hints and your help !
Greets QtNoob