Recently, when developing with QT4, there was a problem that Q could not be recognized_ DECLARE_ The error code of the metatype macro was transplanted from Qt5. I thought it was not supported by QT4. After checking later, I found that the qmetatype. H header file must be included in QT4, and only qvariant needs to be included in Qt5.
Tag Archives: Qt4
CentOS Basic XLib functionality test failed!
qt4 installed under CentOS./configure, error:
Basic XLib functionality test failed! You might need to modify the include and library search paths by editing…
yum install libX11-devel libXext-devel libXtst-devel
p>
div>