Did this create the same problem for anyone else? Just wondering as
this is the single thing that really is breaking the functionality i
like in QtCreator.
Regards,
Eirik
Hi,
I got the latest QtCreator from git and compiled it and indeed the
simple project now works fine. But, I still have problems with my real
project setup. The problem seems to be related to namespaces. I attach
the simple project, but now using namespaces. The problem appears again.
Regards,
Eirik
Eike Ziller skrev:
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>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator
|
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator