Продолжение опупеи
Порешав предыдущие проблемы, получил новые:
прои сборке то-го-же приклада сообщается:
.....................
[ 8%] Building CXX object src/core/CMakeFiles/qgis_core.dir/moc_qgsrasterlayer.o
/usr/local/bin/c++ -Dqgis_core_EXPORTS -O3 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/usr/local/Qt4/include -I/usr/local/Qt4/include/Qt3Support -I/usr/local/Qt4/include/QtSvg -I/usr/local/Qt4/include/QtGui -I/usr/local/Qt4/include/QtXml -I/usr/local/Qt4/include/QtNetwork -I/usr/local/Qt4/include/QtCore -I/root/Qgis/qgis_0.10.0 -I/root/Qgis/qgis_0.10.0/src/core -I/root/Qgis/qgis_0.10.0/src/core/raster -I/root/Qgis/qgis_0.10.0/src/core/renderer -I/root/Qgis/qgis_0.10.0/src/core/symbology -I/root/Qgis/qgis_0.10.0/src/core/spatialindex/include -I/usr/local/include -I/root/Qgis/qgis_0.10.0/src/core/sqlite3 -DQT_SHARED -DQT_3SUPPORT_LIB -DQT3_SUPPORT -DQT_SVG_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DPREFIX=\"/usr/local\" -DCORE_EXPORT= -DGUI_EXPORT= -o src/core/CMakeFiles/qgis_core.dir/moc_qgsrasterlayer.o -c /root/Qgis/qgis_0.10.0/src/core/moc_qgsrasterlayer.cxx
/root/Qgis/qgis_0.10.0/src/core/moc_qgsrasterlayer.cxx:20: error: expected constructor, destructor, or type conversion before "static"
/root/Qgis/qgis_0.10.0/src/core/moc_qgsrasterlayer.cxx:63: error: `qt_meta_data_QgsRasterLayer' was not declared in this scope
/root/Qgis/qgis_0.10.0/src/core/moc_qgsrasterlayer.cxx:103: error: expected constructor, destructor, or type conversion at end of input
gmake[2]: *** [src/core/CMakeFiles/qgis_core.dir/moc_qgsrasterlayer.o] Error 1
gmake[2]: Leaving directory `/root/Qgis/qgis_0.10.0'
gmake[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
gmake[1]: Leaving directory `/root/Qgis/qgis_0.10.0'
gmake: *** [all] Error 2
#
Почему пишу сюда: файл схх содержит следующее:
/****************************************************************************
** Meta object code from reading C++ file 'qgsrasterlayer.h'
**
** Created: Tue May 13 17:38:24 2008
** by: The Qt Meta Object Compiler version 59 (Qt 4.4.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "raster/qgsrasterlayer.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qgsrasterlayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.4.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_QgsRasterLayer[] = {
-----это строка20 // content:
1, // revision
0, // classname
0, 0, // classinfo
9, 10, // methods
0, 0, // properties
0, 0, // enums/sets
// slots: signature, parameters, type, tag, flags
15, 39, 41, 41, 0x0a,
42, 83, 104, 41, 0x0a,
112, 41, 104, 41, 0x2a,
145, 182, 41, 41, 0x0a,
258, 290, 41, 41, 0x2a,
342, 369, 41, 41, 0x2a,
397, 420, 41, 41, 0x2a,
433, 420, 449, 41, 0x0a,
464, 491, 41, 41, 0x0a,
0 // eod
};
static const char qt_meta_stringdata_QgsRasterLayer[] = {
"QgsRasterLayer\0updateProgress(int,int)\0"
",\0\0buildPyramids(RasterPyramidList,QString)\0"
",theResamplingMethod\0QString\0"
"buildPyramids(RasterPyramidList)\0"
"populateHistogram(int,int,bool,bool)\0"
"theBandNoInt,theBinCountInt,theIgnoreOutOfRangeFlag,theThoroughBandSca"
"nFlag\0"
"populateHistogram(int,int,bool)\0"
"theBandNoInt,theBinCountInt,theIgnoreOutOfRangeFlag\0"
"populateHistogram(int,int)\0"
"theBandNoInt,theBinCountInt\0"
"populateHistogram(int)\0theBandNoInt\0"
"colorTable(int)\0QgsColorTable*\0"
"showStatusMessage(QString)\0theMessage\0"
};
const QMetaObject QgsRasterLayer::staticMetaObject = {
{ &QgsMapLayer::staticMetaObject, qt_meta_stringdata_QgsRasterLayer,
qt_meta_data_QgsRasterLayer, 0 }
------это строка 63};
const QMetaObject *QgsRasterLayer::metaObject() const
{
return &staticMetaObject;
}
void *QgsRasterLayer::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_QgsRasterLayer))
return static_cast<void*>(const_cast< QgsRasterLayer*>(this));
return QgsMapLayer::qt_metacast(_clname);
}
int QgsRasterLayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QgsMapLayer::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: updateProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 1: { QString _r = buildPyramids((*reinterpret_cast< const RasterPyramidList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
case 2: { QString _r = buildPyramids((*reinterpret_cast< const RasterPyramidList(*)>(_a[1])));
if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
case 3: populateHistogram((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
case 4: populateHistogram((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
case 5: populateHistogram((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 6: populateHistogram((*reinterpret_cast< int(*)>(_a[1]))); break;
case 7: { QgsColorTable* _r = colorTable((*reinterpret_cast< int(*)>(_a[1])));
if (_a[0]) *reinterpret_cast< QgsColorTable**>(_a[0]) = _r; } break;
case 8: showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
}
_id -= 9;
}
return _id;
}
---------это строка 103QT_END_MOC_NAMESPACE
В профильной конфе бормочу сам с собой. У кого- нибудь мысли есть?