Dbus_get_version was not declared in this scope port ghost, bug in source code of qt4.8.1: -- continue

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.