Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.8.0
-
None
-
gcc (SUSE Linux) 4.6.0 20110523 [gcc-4_6-branch revision 174058]
openSUSE 11.4, 32 bit
Description
With Qt from 4.8 branch at 408a522f several KDE modules (kdeaccessibility, kdenetwork, kdesdk) fail to compile because of a change in moc. The error message is:
moc_test.cpp:47:50: error: cannot convert from base 'QObject' to derived type 'MyObject' via virtual base 'QObject'
Attached is a minimal testcase that reproduces the compilation error.
Attachments
Issue Links
- is replaced by
-
QTBUG-19717 moc generated code fail to compile if QObject is inherited virtually
-
- Closed
-