Ubuntu12.04 QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QPaintBufferCacheEntry' [1024]



  • I'm new to Qt. When I try to build a project which was write with Qt4 on Ubuntu12.04, I have a problem.

    QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QPaintBufferCacheEntry' [1024]. Previously registered size 0, now registering size 16.
    Aborted (core dumped)

    (gdb) r
    Starting program: /home/user/Projects/Camera/Camera
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QPaintBufferCacheEntry' [1024]. Previously registered size 0, now registering size 16.
    Program received signal SIGABRT, Aborted.
    0x00007ffff59cb425 in raise () from /lib/x86_64-linux-gnu/libc.so.6

    I have attempted the solutions which mentioned by this("http://qt-project.org/forums/viewthread/25056":http://qt-project.org/forums/viewthread/25056), but I cannot solve it.

    Please give me some suggestions.



  • Now I'm sure it isn't problem of Qt5, I make it on Windows 7.
    I doubt it was caused by Qt4 which was installed by default, but I don't know how to block the Qt4 libraries when I build the project.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.