Hi everyone, I'm trying to compile iv on different machines with different versions of QT. In one setup, everything compiles properly but in another I get an error in the automatically generated moc file oiio/iv/moc_imageviewer.cpp since my Q_MOC_OUTPUT_REVISION is !=59. Here's the first few lines of the file:
/**************************************************************************** ** Meta object code from reading C++ file 'imageviewer.h' ** ** Created: Tue Feb 12 13:55:39 2013 ** by: The Qt Meta Object Compiler version 59 (Qt 4.3.1) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../src/iv/imageviewer.h" #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'imageviewer.h' doesn't include <QObject>." #elif Q_MOC_OUTPUT_REVISION != 59 #error "This file was generated using the moc from 4.3.1. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif I'm setting QTDIR, QT_LIBRARIES and QT_INCLUDES to point to newer versions of QT (4.6.2, 4.8.0) but qmake seems to always be finding 4.3.1. I think there is something wrong with the versions of QT installed on my second build machine. My question is what versions of QT is iv compatible with? Thanks. Sheila
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
