Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.1.0
-
None
-
Windows 7 64bit, Visual Studio 2010 SP1 Express Edition
-
1d0715fde129ba36b39bb8ab98355c74b9d78e6a
Description
The qmake MSVC project generator doesn't correctly support DBUS_ADAPTORS or DBUS_INTERFACES under QT += dbus, if the project also contains other moccable files. The project correctly runs qdbusxml2cpp to generate C++ source and header files from the XML input files, but does not run moc on those generated header files.
The fix is surprisingly simple, and a patch is attached. It seems that each VCFilter needs a unique name. By changing the .name of the relevant QMAKE_EXTRA_COMPILERS entry, we ensure that its VCFilter can be correctly stored and retreived in VCProjectSingleConfig::ExtraCompilersFiles.