I’ve just finished going through the tutorial to create a simple application :Redirecting... Page moved and I’ve now just started developing my own. To do so, I’ve just set up u working environment in Qtcreator (by opening the CMakeLists files and running the cmake command) to write my code in a nice IDE that offers all the functionalities I’m lookin for)
However, Qt Creator doesn’t recognize the __EXPORT command (it says “expected a declaration”). My questions are therefore the following :
- What is the use of the __EXPORT keyword ? Why do we need it ? What is it exactly (pre-compiler directive ?)
- Where is it defined ? In a header file ?
- How can I solve this problem in QtCreator ?
Thanks in advance for your replies.