[Qlandkartegt-users] Compile error regarding QRegExp
Brought to you by:
kiozen
From: teq2 <geo...@gb...> - 2016-01-23 18:10:01
|
I get the following compile error when I compile the actual development version of QMS (did a fresh hg clone before) [ 1%] Building CXX object src/CMakeFiles/QMS.dir/map/mapsforge/types.cpp.o In file included from /usr/lib64/qt5/include/QtCore/qnamespace.h:37:0, from /usr/lib64/qt5/include/QtCore/qobjectdefs.h:41, from /usr/lib64/qt5/include/QtCore/qobject.h:40, from /usr/lib64/qt5/include/QtCore/QObject:1, from /home/gunther/Downloads/QMapShack/src/helpers/Signals.h:22, from /home/gunther/Downloads/QMapShack/src/map/CMapPropSetup.cpp:19: /home/gunther/Downloads/QMapShack/src/helpers/Signals.h: In Funktion »void X______________BlockAllSignals______________X(QObject*)«: /home/gunther/Downloads/QMapShack/src/helpers/Signals.h:26:71: Fehler: falsche Benutzung des unvollständigen Typs »class QRegExp« foreach(QObject * obj, parent->findChildren<QObject*>(QRegExp(".*"))) ^ In file included from /usr/lib64/qt5/include/QtCore/qobject.h:41:0, from /usr/lib64/qt5/include/QtCore/QObject:1, from /home/gunther/Downloads/QMapShack/src/helpers/Signals.h:22, from /home/gunther/Downloads/QMapShack/src/map/CMapPropSetup.cpp:19: /usr/lib64/qt5/include/QtCore/qstring.h:69:7: Fehler: Vorwärtsdeklaration von »class QRegExp« class QRegExp; translation of the first error would be like "improper use of incomplete type class QRegExp" QT5 is version 5.4.2, I didn't have that error before. any hints? Thanks Gunther |