Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ubuntu12.04 QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QPaintBufferCacheEntry' [1024]
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.7k Views 1 Watching
  • 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 Offline
    P Offline
    ponai
    wrote on last edited by
    #1

    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
    0
    • P Offline
      P Offline
      ponai
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved