开发者

Add Phonon::SeekSlider in Qt Creator?

I’m trying to add a Phonon::SeekSlider in Qt Creator but can only add it to my form in code.

开发者_如何转开发seekSlider = new Phonon::SeekSlider(this);
seekSlider->setMediaObject(mediaObject);
ui->setupUi(this);
seekSlider->show();

How can I add the SeekSilder in Qt Creator?


There's a section in widget selector for Phonon objects (at least in Qt Creator 2.3 with Qt 4.7). It contains the SeekSlider, VideoPlayer, VideoWidget and VolumeSlider widgets.

Add Phonon::SeekSlider in Qt Creator?


Check if you have /usr/lib/qt4/plugins/designer/libphononwidgets.so. If not install package: libphonon4-designer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜