Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QMetaType::registerType: Binary compatibility break — Size mismatch for type ‘QPaintBufferCacheEntry’ [1024]. Previously registered size 0, now regist

$
0
0
Hi, all: I’m testing Qt5 . I have Qt5 installed at /opt/Qt5.0.1 (still with some Qt4 libraries installed at /usr/lib/i386-linux-gnu/ ) . However, whenever I tried to run my program, I got the following error message: QMetaType::registerType: Binary compatibility break — Size mismatch for type ‘QPaintBufferCacheEntry’ [1024]. Previously registered size 0, now registering size 12. Aborted (core dumped) People gave out several solutions, including: 1) make distclean ( refer to https://groups.google.com/forum/?fromgroups=#!topic/sdr-widget/HTVYpo05-vw [groups.google.com] ) 2) I can’t see a solution but the topic has already been closed here ( https://bugreports.qt-project.org/browse/QTBUG-27104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel [bugreports.qt-project.org] ) In addition, $ echo $PATH /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/Qt5.0.1/5.0.1/gcc/bin In my project .pro, LIBS += -L/usr/lib \ -L/usr/lib/i386-linux-gnu \ -L/opt/Qt5.0.1/5.0.1/gcc/lib \ clearly, I don’t have Qt4 libraries linked, but only Qt5 library path included. So, how to solve this problem? Thanks. Pei

Viewing all articles
Browse latest Browse all 18427

Trending Articles