Есть такие заголовочные файлы
JCachRegister.h
#ifndef JCASHREGISTER_H
#define JCASHREGISTER_H
#include <QWidget>
#include <math.h>
#include <QDebug>
#include <QFont>
#include <QPainter>
#include <QLabel>
#include "JConfigModel.h"
#include "JDeviceDispatcher.h"
...
...
...
JMPEGWidget.h
#ifndef JMPEGWIDGET_H
#define JMPEGWIDGET_H
#include <QWidget>
#include <QMouseEvent>
extern "C" {
#include "Xine.h"
}
...
...
...
JDeviceDispatcher.h
#ifndef JDEVICEDISPATCHER_H
#define JDEVICEDISPATCHER_H
#include <QStack>
#include <QDomDocument>
#include <QBitArray>
#include "usbDevice.h"
#include "JCashRegister.h"
#include "JBaner.h"
#include "JPlayer.h"
#include "JDialog.h"
#include "JConfigModel.h"
И собственно сам файл виновник
JPlayer.h
#ifndef JPLAYER_H
#define JPLAYER_H
#include <QWidget>
#include <QVariant>
#include <QPushButton>
#include <QModelIndex>
#include <QFileInfo>
#include <QAbstractItemModel>
#include <QStandardItem>
#include <QStandardItemModel>
#include <QList>
#include <QLabel>
#include <QPair>
#include <QDomDocument>
//#include "JMPEGWidget.h"
#include "JDeviceDispatcher.h"
#include "player.h"
#include "fileinfo_met.h"
Если строка #include "JMPEGWidget.h" закоментирована то компилится бенз проблем, если раскоментировать то вылазят такие вот вещи
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:114: error: expected identifier before numeric constant
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:114: error: expected identifier before numeric constant
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:114: error: expected `}' before numeric constant
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:114: error: expected unqualified-id before numeric constant
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:117: error: ‘FrameFeature’ was not declared in this scope
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:117: error: template argument 1 is invalid
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:117: error: invalid type in declaration before ‘;’ token
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:120: error: expected unqualified-id before ‘)’ token
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:121: error: expected unqualified-id before ‘const’
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:121: error: expected `)' before ‘const’
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:122: error: expected unqualified-id before ‘const’
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:122: error: expected `)' before ‘const’
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:123: error: ‘QStyleOptionFrameV2& operator=(const QStyleOptionFrame&)’ must be a nonstatic member function
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:125: error: expected unqualified-id before ‘protected’
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qstyleoption.h:127: error: expected declaration before ‘}’ token
ОТКУДА ТАКОЕ МОЖЕТ БЫТЬ !!!??? Я уже заманался чиать изучать ... не пойму ... подскажите кто знает.