Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    1
    2
    1593
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      ponai last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • P
        ponai last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post