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:
People gave out several solutions, including:QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QPaintBufferCacheEntry' [1024]. Previously registered size 0, now registering size 12.
Aborted (core dumped)
1) make distclean ( refer to https://groups.google.com/forum/?fro...et/HTVYpo05-vw )
2) I can't see a solution but the topic has already been closed here
( https://bugreports.qt-project.org/br...s:all-tabpanel )
In addition,
In my project .pro,$ 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
clearly, I don't have Qt4 libraries linked, but only Qt5 library path included.LIBS += -L/usr/lib \
# -L/usr/lib/i386-linux-gnu \
-L/opt/Qt5.0.1/5.0.1/gcc/lib \
So, how to solve this problem? Thanks.
Pei
Added after 25 minutes:
It seems my problem comes from the newly installed Qt, due to the reason that I have Qt5 installed under /opt/Qt5 .
However, in my .pro file,
How can I make sure this project is able to find my manually installed Qt5 ?CONFIG += qt warn_on debug staticlib
For now, the error
is telling I'm not able to find Qt5 ...fatal error: QGraphicsView: No such file or directory
cheers
Pei
Bookmarks