Solved Sould we use stdafx.h in Qt Creator?
-
Hello,
I'm wondering if we should include stdafx.h in order to use IVI Driver. If no why?
Thank you in advance.Best regards
-
I don't know what an IVI Driver is, but
stdafx.h
is just a default name that Visual Studio gives to a precompiled header. Whether you use a precompiled header or not, whether you call itstdafx.h
or something else and what are the contents of it is all up to you.Precompiled header is a feature that your compiler supports. It has nothing to do with Qt Creator or Qt. If you're using qmake this page describes how to configure it in your project: Using Precompiled Headers
-
I don't know what an IVI Driver is, but
stdafx.h
is just a default name that Visual Studio gives to a precompiled header. Whether you use a precompiled header or not, whether you call itstdafx.h
or something else and what are the contents of it is all up to you.Precompiled header is a feature that your compiler supports. It has nothing to do with Qt Creator or Qt. If you're using qmake this page describes how to configure it in your project: Using Precompiled Headers
-
Thank you Chris Kawa for your explanation.
It's all I need to know.