zonyitoo / doubanfm-qt Goto Github PK
View Code? Open in Web Editor NEWA DoubanFM client
License: Other
A DoubanFM client
License: Other
OS: Ubuntu14.04
make的时候出错了...不知道为什么
后面一部分如下:
main.cpp: In function ‘int main(int, char**)’:
main.cpp:44:7: error: ‘class QApplication’ has no member named ‘setApplicationDisplayName’
a.setApplicationDisplayName("QDoubanFM");
^
make: *** [release_tmp/obj/main.o] 错误 1
Error occurred while authenticating: "Error transferring https://www.douban.com/j/app/login - server replied: Forbidden"
In file included from channelwidget.cpp:2:0:
ui_channelwidget.h:14:25: 致命错误: QtGui/QAction:没有那个文件或目录
编译中断。
make: *** [channelwidget.o] 错误 1
ubuntu 13.04
这两天出现的,可能是API变了。
Login with "[email protected]"
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
➜ ~ doubanfm-qt
"Qt Warning - invalid keysym: dead_actute"
Switch to channel "华语"
Received new playlist with 5 songs
CurrentPlaying:
artist: "陈奕迅"
title: "圣诞结"
album: "七"
publicTime: "2003"
company: "英皇娱乐"
kbps: 5
like: false
sid: 507939
subType: ""
[1] 9798 segmentation fault (core dumped) doubanfm-qt
看着都有好着呢 ubuntu 12.04
~$ doubanfm-qt
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
QMediaPlaylistNavigator: Jump outside playlist range
Switch to channel "欧美"
Received new playlist with 5 songs
Current playing: "Jason Mraz" : "I'm Yours"
Switch to channel "华语"
Received new playlist with 5 songs
Current playing: "戴佩妮" : "怎样"
LoginSucceed. Refreshing Playlist
debian8编译安装 一般运行正常 (切歌过频会闪退) 发现歌词下拉框里一直没有歌词显示 是还没有设置相应功能还是自己编译出错??
ps 想重新编译安装一遍 怎么删除原程序??
URL: http://api.douban.com/v2/fm/lyric
Method: POST
Data: sid
and ssid
.
测试环境Ubuntu和Mac OS X,因退出时DoubanPlayer
的单例被销毁,调用stop
会发出positionChanged
信号,导致程序崩溃。
运行日志:
Debugging starts
Getting channels from QUrl("https://www.douban.com/j/app/radio/channels")
Error occured while getting channels: "Error transferring https://www.douban.com/j/app/radio/channels - server replied: Forbidden"
Debugging has finished
./plugins/doubanfmplugin.h:13:33: 错误: 声明为 virtual 的‘virtual DoubanFMPlugin::~DoubanFMPlugin()’不能在类体内指定默认值
make: *** [main.o] 错误 1
make: *** 正在等待未完成的任务...
现在点击左侧的是向右翻,而右侧的是向左翻,不知道是不是因为作者的习惯问题而故意弄成这样:D
README里面那个按钮失效了,只是提醒一下
参考了一下其他播放器,比如 Amarok。点击系统托盘图标时,窗口恢复并提到最前。不然可能会被其它窗口挡住,不知道到哪里去了。
这样改是不是会好一些?
hi @zonyitoo ,
我在尝试编译的时候出现如下错误:
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I. -I. -o main.o main.cpp
In file included from main.cpp:1:0:
mainwidget.h:4:19: fatal error: QWidget: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
系统ubuntu13.04,是开发包版本不兼容的原因么?
lang/下文件名貌似错了,是以.ts结尾的.改成.qm译成功
编译通过,也能打开窗口,但是什么按钮也无法点击,显示频道在红心兆赫,也无法切换,窗口中的一切状态都无法改变,什么原因呢?
目前就通过左右两个按钮选频道,很不方便,不知道能否改进一下?谢谢!
用Qt5.2.1编译的,在Ubuntu下中文歌词显示是正常的
Authorization: Bearer 21a0867e86f16fb464e1937b94d44f1w
填了这个,也返回user_is_ananymous
红心兆赫的channel_id是多少啊
点击暂停或继续时,音箱会冒出大概1~2秒的滋滋声噪音。
关闭窗口后,程序继续在后台程序,需要kill掉进程。
另外在gnome-shell环境里,通知区域出现两个图标,而在unity只在左侧的bar里出现,不知道和这个有没有关系。
Hello, I am a newbie in Qt. I think your UI is beautiful and wonderful. When I run the program, I find some doubts:
今天升级了下系统,重新编译后打开,其它功能都正常的,唯独没有声音,相关的依赖也安装:
sudo apt-get install libqt5network5 libqt5gui5 libqt5core5a libqt5multimedia5 qtmultimedia5-dev gstreamer0.10-fluendo-mp3 libpulse0 libpulse-dev libqt5dbus5
在make唯一有个warning是:
warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const DoubanUser * const getUser() const;
不过似乎和本问题没有关联。
RT,求解
qt 4.8.4 archlinux 输入用户名和密码后点击确定 然后提示请输入正确的用户名和密码
早上才听得 high 起来,结果下午就连接不上服务器了。。。是被豆瓣封了么?
Hi,
我按照你的步骤编译完成后:
$ ./doubanfm-qt
"Load Language: Australia_English"
QLayout: Attempting to add QLayout "" to UserLoginWidget "userLoginWidget", which already has a layout
void Douban::onReceivedChannels(QNetworkReply*) channels.size() = 0
void ChannelWidget::onRecvChannels(const QList<DoubanChannel>&)
[1] 23029 segmentation fault ./doubanfm-qt
我的系统:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
按你的说明我安装了以下package:
sudo aptitude install libqt4-network libqt4-gui libqt4-core libphonon libphonon-dev phonon phonon-backend-gstreamer libqjson libqjson-dev gstreamer0.10-fluendo-mp3
官方的在线版支持以下的快捷键:
S:下一曲
D:不再播放
F:标记/取消标记红心
希望在新版本能得到支持
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.