Hi there again,

I am having problem with qmldump, I will give the output which shows the best where the problem lies
Qt Code:
  1. " Processing object QDeclarativeAnchorAnimation
  2. Error: qmldump SEGV
To copy to clipboard, switch view to plain text mode 

this is the error I am having, I found out that it lies somewhere in
Qt Code:
  1. qmlRegisterType<File>(uri, 1, 0, "File"); // <------- HERE IS THE PROBLEM
  2. qmlRegisterType<FileBrowserModel>(uri, 1, 0, "FileBrowserModel");
  3. qmlRegisterType<FileVisualProperties>(uri, 1, 0, "FileVisualProperties");
  4. qmlRegisterType<FileVisualPropertyChunk>(uri, 1, 0, "FileVisualPropertyChunk");
To copy to clipboard, switch view to plain text mode 

because when I commented it out, qmldump finished with 0 exit code - no error detected.
I do not understand where is this problem.
I will give the header file of this as well
Qt Code:
  1. #ifndef FILE_H
  2. #define FILE_H
  3.  
  4. #include <QDeclarativeItem>
  5. #include <QFile>
  6.  
  7. /*
  8.   Basic informations about the file
  9.   such as for example name,path,absolute_path and so on
  10. */
  11.  
  12. class FilePrivate;
  13. class File : public QDeclarativeItem
  14. {
  15. Q_OBJECT
  16. Q_DISABLE_COPY(File)
  17. Q_CLASSINFO("version","0.1")
  18. Q_PROPERTY(QString fileName READ fileName WRITE setFileName NOTIFY fileNameChanged)
  19. Q_PROPERTY(qint16 size READ size NOTIFY sizeChanged)
  20. Q_PROPERTY(QString lastError READ lastError NOTIFY errorOccurred)
  21. Q_PROPERTY(QString path READ path)
  22. Q_PROPERTY(QString absolutePath READ absolutePath)
  23. Q_PROPERTY(QString extension READ extension)
  24. Q_PROPERTY(QString openMode READ openMode)
  25. Q_PROPERTY(bool isSymlink READ isSymlink)
  26. Q_PROPERTY(QUrl urlPath READ urlPath)
  27. Q_PROPERTY(QUrl urlAbsolutePath READ urlAbsolutePath)
  28. Q_PROPERTY(bool open READ isOpen)
  29. Q_PROPERTY(bool hidden READ isHidden)
  30. public:
  31. explicit File(QDeclarativeItem *parent = 0);
  32. virtual ~File();
  33.  
  34. QString fileName() const;
  35. QString path() const; //returns relative path
  36. QString absolutePath() const; //returns absolute path, cleaned
  37. QString extension() const; //returns extension for the file
  38. qint16 size() const; //see -> QFile::size
  39. QString lastError() const;
  40. QString openMode() const;
  41. bool isSymlink() const;
  42. void setFileName(const QString &fileName);
  43. QUrl urlAbsolutePath() const;
  44. QUrl urlPath() const;
  45. bool isOpen() const;
  46. bool isHidden() const;
  47.  
  48. // [AVAILABLE FOR QML AS METHODS]
  49. Q_INVOKABLE bool rename(const QString &newName);//see -> QFile::rename
  50. Q_INVOKABLE bool link(const QString &linkName); //see -> QFile::link
  51. Q_INVOKABLE bool copy(const QString &newName); //see -> QFile::copy
  52. Q_INVOKABLE bool exists() const; //see -> QFile::exists
  53. Q_INVOKABLE QStringList links() const; //returns all symbolic/hard links to the file specified as m_fileName
  54. Q_INVOKABLE qint16 linksCount() const; //returns count of all symbolic/hard links to the file specified as m_fileName
  55. Q_INVOKABLE bool openFile(const QString &openMode); //opens the file, using qint16 value as the marker of the mode, see QIODevice::OpenMode
  56. Q_INVOKABLE bool closeFile(); //closes the file, flushed the buffers etc.
  57. // [AVAILABLE FOR QML AS METHODS]
  58.  
  59. signals:
  60. void fileNameChanged(const QString &newFileName); //emitted every time a file name was changed
  61. void sizeChanged(const qint16 &newSize); //emitted every time a file size was changed
  62. void errorOccurred(const QString &errorString); //emitted every time an error has come out
  63.  
  64. private:
  65. Q_DECLARE_PRIVATE(File)
  66. FilePrivate * const d_ptr;
  67. };
  68.  
  69. QML_DECLARE_TYPE(File)
  70.  
  71. #endif // FILE_H
To copy to clipboard, switch view to plain text mode 

no pointer anywhere, but it stuck on processing the animation...what is going on ?