Hi, On Jul 29, 2009, at 3:16 PM, ext Eirik Ulvik wrote:
> Has anyone had a chance to look at this ? > > Regards, > Eirik Ulvik > > Eirik Ulvik skrev: >> >> I am not using any defines in the .pro file so this is not the >> case. Attached is a minimal example that illustrates what I mean. I've opened your project on a Windows Vista machine, with Qt Creator master, and don't have any problems (neither with the _WIN32_ define nor without). Could you try to verify your problem with a current development snapshot? ftp://ftp.trolltech.com/qtcreator/snapshots/latest Best regards, Eike >> >> Regards, >> Eirik >> >> Eike Ziller skrev: >>> >>> Hi, >>> >>> On Jul 28, 2009, at 10:55 AM, ext Eirik Ulvik wrote: >>> >>> >>>> 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. >>>> >>> >>> Note that QtCreator doesn't take DEFINES from pro files yet. But if >>> MY_LIB_DLL is defined in a header that is included by the file >>> containing the "class MY_LIB_DLL MyClass", it should work. >>> It would be interesting to have a minimal example, if that is not >>> the >>> case for you. >>> >>> Best regards, >>> Eike >>> >>> >> >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt-creator > <ATT00001.txt> -- Eike Ziller Software Engineer Nokia, Qt Software Phone +49 (0)30 6392 3255 Fax +49 (0)30 6392 3256 E-mail [email protected] _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
