[Qt4-preview-feedback] Namespace problem in uic 4.5

Carina Denkmann Carina.Denkmann at gmx.de
Sun Feb 15 15:41:55 CET 2009


Hello,

there is a compilation error for KDE/extragear/graphics/kipi-plugins with Qt 
4.5, and it looks like a problem with uic.

The playbackwidget.ui file contains this custom widget:

	  <customwidget>
	   <class>Phonon::VolumeSlider</class>
	   <extends>QWidget</extends>
	   <header location="global" >Phonon/VolumeSlider</header>
	   <container>1</container>
	  </customwidget>

The uic generates this output:
	
	/* ... */
	#include <phonon/Phonon::VolumeSlider>
	/* ... */
	Phonon::VolumeSlider *m_volumeSlider;

As you see, uic does not create the correct include directive, and compilation 
fails with this error:

	/local/build/extragear/graphics/kipi-plugins/advancedslideshow/ui_playbackwidget.h:27:39:
	error: phonon/Phonon::VolumeSlider: No such file or directory

Does the custom widget need to be imported differently?

Thanks,
Carina



More information about the Qt4-feedback mailing list