[odb-users] bug with Qt 5.2.0-beta
Boris Kolpackov
boris at codesynthesis.com
Mon Nov 25 01:31:33 EST 2013
Hi,
abbas ali chezgi <chezgi at yahoo.com> writes:
> odb compiler dos'nt work with Qt5.2.0.
>
> it's first error comes from qvariant.h:
> #if QT_DEPRECATED_SINCE(5, 0)
It looks like QT_DEPRECATED_SINCE is not defined for some reason
when compiling a Qt header with the ODB compiler.
I found only one mentioning of something similar but I don't see
how this can be related:
http://qt-project.org/forums/viewthread/28482
Have you tried to compile a source file that includes QVariant
with g++ instead of ODB? If it works, then perhaps an include
directory is mission from the ODB command line. In fact, can
you show the exact ODB command line that you are using?
Also it would be useful to know if you built the ODB compiler
yourself or if you are using one of the pre-built packages
(and which version).
Boris
More information about the odb-users
mailing list