[Qt-creator] Define between class and class_name cases intellisense problem

Eirik Ulvik eiriku at simsurgery.com
Tue Jul 28 10:55:15 CEST 2009


Hi,
in our system we have a .h file for each dll that is to be generated. In 
this file we have a preprocessor define, for example MY_LIB_DLL, that 
handles the _declspec(dllimport/dllexport) stuff for Windows and and  an 
empty define for the Linux platform. A class definition using this would 
the look like this:
class MY_LIB_DLL MyClass
{
...
...
};

This breaks QtCreator's parser and intellisense is not available for all 
classes that uses this scheme.

System is Win XP SP3 and QtCreator 1.2.1.

Do not know if this has been reported before.

Regards,
Eirik Ulvik



More information about the Qt-creator-old mailing list