标题:Qt5.2.1 MinGW32bit release静态版编译结果分享
作者:realfan
日期:2014-02-06 10:18
内容:
http://yunpan.cn/QpxiaJ87uVdPG (提取码:1343)
配置参数:
configure -confirm-license -opensource -platform win32-g++ -release -static -ltcg -prefix "C:\QT\5.2.1-mingw32-rel-static" -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -no-qml-debug -nomake tests -nomake examples -skip qtwebkit -qt-pcre -no-compile-examples
#1 [XChinux 02-06 11:08]
楼主速度好快
#2 [flq_00000 02-06 21:48]
这个版本的怎么用,望楼主指点一下
#3 回 flq_00000 的帖子 [realfan 02-07 00:11]
flq_00000:这个版本的怎么用,望楼主指点一下 (2014-02-06 21:48)
使用方法参考
http://www.qtcn.org/bbs/apps.php?q=diary&uid=123401&a=detail&did=1551
这个是5.2.0的,5.2.1配置方法一样
#4 [likezyp 02-07 12:32]
楼主你好,我的工程里用到 QMediaPlayer,用你的Qt5.2.1静态编译(win8.1 64bit)出现:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" ,不能播放歌曲,不知道是什么原因。
#5 回 likezyp 的帖子 [likezyp 02-07 17:32]
likezyp:楼主你好,我的工程里用到 QMediaPlayer,用你的Qt5.2.1静态编译(win8.1 64bit)出现:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" ,不能播放歌曲,不知道是什么原因。
(2014-02-07 12:32)
好像这个可以解决:https://qt-project.org/forums/viewreply/134330/
-Dowload and extract the qtmultimedia submodule
-Delete the following in the plugins.pro file:
config_wmf: SUBDIRS += wmf
-Change in the directshow.pro file:
!config_wmf: include(player/player.pri)
into
include(player/player.pri)
-Compile it all
-Copy the resulting mediaservice folder next to your executable