In the previous article, make started. I thought there would be no problem, because I used to use qt4.8.1 for cross compiling many times without idea, and all the problems were solved one by one. Which of the following errors occur when making:
In file encoded ded from qdbusconnection_p.h: 70: 0,
From qdbusconnection. cpp: 52:
Qdbus_symbols_p.h: In function 'void q_dbus_get_version (int *, int *, int *)':
Qdbus_symbols_p.h: 300: 1: Error: 'prop _ get_version 'was not declared in this scope
Make [1]: *** [. OBJ/release-shared-Emb-arm/qdbusconnection. O] Error 1
Make [1]: Leave the directory "/home/Yan/download/qt-everywhere-opensource-src-4.8.1/src/sources"
Make: *** [sub-dbus-make_default-ordered] Error 2
Say thisDbus_get_version this function is not defined, this function in the QT source code of the qt-everywhere-opensource-src-4.8.1/src/release/qdbus_symbols_p.h, can find this function after opening!
How can this problem be solved ???
Baidu first, no answer! Then google found only the description of the bug in qt's foreign official User Forum and did not say how to fix it: https://bugreports.qt-project.org/browse/qtbug-23249. I searched Google for only such information. Is it swollen ??? It took three hours for this sentence, grandma's, geditQdbus_symbols_p.h
-Definefunc (void, dbus_get_version, (int * major_version_p,-int * limit,-int * micro_version_p),-(limit, limit, micro_version_p),) this entire sentence is used /*
*/Block it directly !!!
make is OK. I don't know if I will report an error when I try make. I hope QT can fix this bug!