ChrisZim / edb-debugger

Automatically exported from code.google.com/p/edb-debugger
GNU General Public License v2.0
0 stars 0 forks source link

Ambiguous Errors when installing on centos 6.6 #138

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
    Installation on Centos 6.6

What is the expected output? What do you see instead?
    For each of the plugins in the make of the file, I was receiving an error of '.release-shared/moc/moc_<header_file>:184: error: reference to <header_file> is ambiguous (where <header file> is the name of the plugin namespace/class)

What version of the product are you using? On what operating system?
    Debugger-0.9.20

Please provide any additional information below.
    For each of the Ambiguous errors, I was able to resolve by going in to each file and changing the QT_MOC_EXPORT_PLUGIN() declaration to use the global scope by performing the following on each file;

(for example with References Plugin)
    QT_MOC_EXPORT_PLUGIN(References::References, References)
to
    QT_MOC_EXPORT_PLUGIN(::References::References, References)

Original issue reported on code.google.com by guyver...@gmail.com on 10 Feb 2015 at 9:41

GoogleCodeExporter commented 9 years ago
Interesting. Unfortunately the files in question are auto-generated by Qt 
itself. So I'm not sure if I have enough control over them to fix this easily.

I will look into this though, hopefully there is a simple enough fix.

Thanks

Original comment by evan.teran on 10 Feb 2015 at 6:35