View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007934CMakeModulespublic2008-11-04 05:532008-12-19 14:44
ReporterTim Boundy 
Assigned ToClinton Stimpson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007934: Phonon erroneously depends on QTDBUS
DescriptionWhile trying to configure a Qt Phonon application with CMake, I get the error "Qt QTDBUS library not found."

Changing the line:
SET(QT_PHONON_MODULE_DEPENDS QTGUI QTDBUS QTCORE)
to:
SET(QT_PHONON_MODULE_DEPENDS QTGUI QTCORE)
in <cmake-root>/share/cmake-2.6/Modules/UseQt4.cmake allows the application to be configured, built and run successfully on my system.

Since it isn't possible to build a Phonon application with a default copy of Qt without modifying core CMake files, I would consider this a high priority.
Additional InformationQt was built without any special configuration, it defaulted to building Phonon, OpenGL, no DBus on Windows using Visual Studio 2008 SP1.

I have not tested whether the workaround change breaks on a platform where Qt was built with DBus but the QTDBUS module is not configured as a dependency of Phonon. While it isn't nice to break CMake dependency guessing under this condition, it is easier to add QTDBUS as a dependency in the application than it is to remove it from CMake defaults.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014036)
Clinton Stimpson (developer)
2008-11-05 16:54

/cvsroot/CMake/CMake/Modules/UseQt4.cmake,v <-- UseQt4.cmake
new revision: 1.17; previous revision: 1.16

Can you verify this fix?

 Issue History
Date Modified Username Field Change
2008-11-04 05:53 Tim Boundy New Issue
2008-11-05 16:54 Clinton Stimpson Status new => assigned
2008-11-05 16:54 Clinton Stimpson Assigned To => Clinton Stimpson
2008-11-05 16:54 Clinton Stimpson Note Added: 0014036
2008-11-05 16:54 Clinton Stimpson Status assigned => resolved
2008-11-05 16:54 Clinton Stimpson Resolution open => fixed
2008-12-19 14:44 Clinton Stimpson Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team