KikoPlayProject / KikoPlay

KikoPlay - NOT ONLY A Full-Featured Danmu Player 不仅仅是全功能弹幕播放器
https://kikoplay.fun
GNU General Public License v3.0
1.63k stars 96 forks source link

ubuntu2204编译过不了 #94

Closed leoepoot closed 1 month ago

leoepoot commented 1 year ago

moc_scriptsettingmodel.o:moc_scriptsettingmodel.cpp:vtable for ScriptSettingModel: 错误: 对‘ScriptSettingModel::index(int, int, QModelIndex const&) const’未定义的引用 moc_scriptsettingmodel.o:moc_scriptsettingmodel.cpp:vtable for ScriptSettingModel: 错误: 对‘ScriptSettingModel::parent(QModelIndex const&) const’未定义的引用 moc_scriptsettingmodel.o:moc_scriptsettingmodel.cpp:vtable for ScriptSettingModel: 错误: 对‘ScriptSettingModel::rowCount(QModelIndex const&) const’未定义的引用 collect2: error: ld returned 1 exit status make: *** [Makefile:974:KikoPlay] 错误 1

Protostars commented 1 year ago

#include <QModelIndex> 试试